StaticWiretap action performance issue in JBoss ESB
Issue
- We are using
org.jboss.soa.esb.actions.StaticWiretap
for routing to another service in our application. - But we are getting a performance issue. Here is part of
jboss-esb.xml
:
<service category="MyCategory" name="ServiceA" invmScope="GLOBAL" ...>
<property name="maxThreads" value="${esb.thread.count}"/>
<actions mep="OneWay">
...
<action class="org.jboss.soa.esb.actions.StaticWiretap" name="Route">
<property name="destinations">
<route-to service-category="MyCategory" service-name="ServiceB"/>
</property>
</action>
</actions>
</service>
<service category="MyCategory" name="ServiceB" invmScope="GLOBAL" ...>
<actions mep="RequestResponse">
...
</actions>
</service>
- From the
ServiceA
toServiceB
there is a considerably 1-2 seconds gap and this gap increases with increase in number parallel users.
Environment
- Red Hat JBoss SOA Platform (SOA-P) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.