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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.