Interface Interceptor

  • All Superinterfaces:
    BaseInterceptor<org.apache.activemq.artemis.core.protocol.core.Packet>

    public interface Interceptor
    extends BaseInterceptor<org.apache.activemq.artemis.core.protocol.core.Packet>
    This is class is a simple way to intercepting calls on ActiveMQ Artemis client and servers.

    To add an interceptor to ActiveMQ Artemis server, you have to modify the server configuration file broker.xml.
    To add it to a client, use ServerLocator.addIncomingInterceptor(Interceptor)