public static class ClusterManager.IncomingInterceptorLookingForExceptionMessage extends Object implements Interceptor
Constructor and Description |
---|
ClusterManager.IncomingInterceptorLookingForExceptionMessage(ClusterManager manager,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
boolean |
intercept(Packet packet,
RemotingConnection connection)
Intercepts a packet which is received before it is sent to the channel
|
public ClusterManager.IncomingInterceptorLookingForExceptionMessage(ClusterManager manager, Executor executor)
manager
- executor
- public boolean intercept(Packet packet, RemotingConnection connection) throws HornetQException
Interceptor
intercept
in interface Interceptor
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 packetHornetQException
Copyright © 2018 JBoss by Red Hat. All rights reserved.