public interface BaseInterceptor<P>
| Modifier and Type | Method and Description |
|---|---|
boolean |
intercept(P packet,
RemotingConnection connection)
Intercepts a packet which is received before it is sent to the channel
|
boolean intercept(P packet, RemotingConnection connection) throws ActiveMQException
packet - the packet being receivedconnection - the connection the packet was received ontrue to process the next interceptor and handle the packet,
false to abort processing of the packetActiveMQExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.