Registry interceptors

One other way of improving performance is by making use of registry interceptors. Registry interceptors catch registry requests and have the ability to handle them, modify results that come back from other interceptors or the registry itself, or simply pass the request along.

You can set registry interceptors in server/[configuration]/deploy/jbossesb.sar/jbossesb-properties.xml. This property lists the two registry interceptors provided by default by JBoss ESB:

  • org.jboss.internal.soa.esb.services.registry: InVMRegistryInterceptor handles InVMEprs (EPRs representing InVM endpoints) by caching them and not passing requests on to subsequent EPRs.
  • org.jboss.internal.soa.esb.services.registry.CachingRegistryInterceptor: maintains a cache for all EPRs, and additional properties controlling the behavior of the EPR cache can be found within the jbossesb-properties.xml file mentioned earlier.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset