Interface BaseInterceptor<P>
- All Known Subinterfaces:
Interceptor
public interface BaseInterceptor<P>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintercept(P packet, RemotingConnection connection) Intercepts a packet which is received before it is sent to the channel
-
Method Details
-
intercept
Intercepts a packet which is received before it is sent to the channel- Parameters:
packet- the packet being receivedconnection- the connection the packet was received on- Returns:
trueto process the next interceptor and handle the packet,falseto abort processing of the packet- Throws:
ActiveMQException
-