5.4. Working with Pipeline Interceptors

The Pipeline Interceptor has one method:
  1. public void processMessage (Message msg, ConfigTree config) which is called at the interception points defined in the jbossesb-properties.xml configuration file.
Define your pipeline interceptors in the "interceptors" section of the jbossesb-properties.xml file (located in the jbossesb.sar archive) using the following properties:
  • org.jboss.soa.esb.pipeline.failure.interceptors
  • org.jboss.soa.esb.pipeline.instantiate.interceptors
  • org.jboss.soa.esb.pipeline.start.interceptors
  • org.jboss.soa.esb.pipeline.end.interceptors

Note

You will need to place any changes to your jbossesb-properties.xml file on each ESB instance that is deployed in your environment. This will ensure that every instance can process the same meta-data.
The JBoss Enterprise SOA Platform only comes with a org.jboss.soa.esb.listeners.message.GenericPipelineInterceptor, which prints the message and demonstrates the general concept. It is up to you to provide the concrete implementation to use.