Class HQPropertiesConversionInterceptor

java.lang.Object
org.apache.activemq.artemis.core.protocol.hornetq.HQPropertiesConversionInterceptor
All Implemented Interfaces:
BaseInterceptor<Packet>, Interceptor

public class HQPropertiesConversionInterceptor extends Object implements Interceptor
  • Constructor Details

    • HQPropertiesConversionInterceptor

      public HQPropertiesConversionInterceptor(boolean replaceHQ)
  • Method Details

    • intercept

      public boolean intercept(Packet packet, RemotingConnection connection) throws ActiveMQException
      Description copied from interface: BaseInterceptor
      Intercepts a packet which is received before it is sent to the channel
      Specified by:
      intercept in interface BaseInterceptor<Packet>
      Parameters:
      packet - the packet being received
      connection - the connection the packet was received on
      Returns:
      true to process the next interceptor and handle the packet, false to abort processing of the packet
      Throws:
      ActiveMQException