Class ClusterManager.IncomingInterceptorLookingForExceptionMessage
- java.lang.Object
-
- org.apache.activemq.artemis.core.server.cluster.ClusterManager.IncomingInterceptorLookingForExceptionMessage
-
- All Implemented Interfaces:
BaseInterceptor<Packet>,Interceptor
- Enclosing class:
- ClusterManager
public static class ClusterManager.IncomingInterceptorLookingForExceptionMessage extends Object implements Interceptor
-
-
Constructor Summary
Constructors Constructor Description IncomingInterceptorLookingForExceptionMessage(ClusterManager manager, Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanintercept(Packet packet, RemotingConnection connection)Intercepts a packet which is received before it is sent to the channel
-
-
-
Constructor Detail
-
IncomingInterceptorLookingForExceptionMessage
public IncomingInterceptorLookingForExceptionMessage(ClusterManager manager, Executor executor)
- Parameters:
manager-executor-
-
-
Method Detail
-
intercept
public boolean intercept(Packet packet, RemotingConnection connection) throws ActiveMQException
Description copied from interface:BaseInterceptorIntercepts a packet which is received before it is sent to the channel- Specified by:
interceptin interfaceBaseInterceptor<Packet>- 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
-
-