public class HQPropertiesConversionInterceptor extends Object implements Interceptor
Constructor and Description |
---|
HQPropertiesConversionInterceptor(boolean replaceHQ) |
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 HQPropertiesConversionInterceptor(boolean replaceHQ)
public boolean intercept(Packet packet, RemotingConnection connection) throws ActiveMQException
BaseInterceptor
intercept
in interface BaseInterceptor<Packet>
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 packetActiveMQException
Copyright © 2017 JBoss by Red Hat. All rights reserved.