public interface Interceptor
ClientSessionFactory#addInterceptor(Interceptor)| Modifier and Type | Method and Description |
|---|---|
boolean |
intercept(org.hornetq.core.protocol.core.Packet packet,
RemotingConnection connection)
Intercepts a packet which is received before it is sent to the channel
|
boolean intercept(org.hornetq.core.protocol.core.Packet packet, RemotingConnection connection) throws HornetQException
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 packetHornetQExceptionCopyright © 2009 Red Hat Inc. All Rights Reserved.