42.2. Configuring The Interceptors
The interceptors are configured in
<JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-configuration.xml
:
<remoting-interceptors> <class-name>org.hornetq.jms.example.LoginInterceptor</class-name> <class-name>org.hornetq.jms.example.AdditionalPropertyInterceptor</class-name> </remoting-interceptors>
The interceptors classes (and their dependencies) must be added to the server classpath to be properly instantiated and called.