Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

13.7.15. StaticWireTap

Class org.jboss.soa.esb.actions.StaticWireTap
The StaticWiretap action differs from the StaticRouter. The StaticWiretap "listens in" on the action chain and allows actions below it to be executed, while the StaticRouter action terminates the action chain at the point it is used. A StaticRouter should therefore be the last action in a chain.

Table 13.27. StaticWireTap Properties

Property Description Required
destinations
Container property for the <route-to> configurations.
<route-to destination-name="express" service-category="ExpressShipping" 
    service-name="ExpressShippingService"/>

Table 13.28. StaticWireTap Process Methods

method Description
process
Do not append aggregation data to message.
<action name="routeAction" class="org.jboss.soa.esb.actions.StaticWiretap">
    <property name="destinations">
        <route-to service-category="ExpressShipping" service-name="ExpressShippingService"/>
        <route-to service-category="NormalShipping" service-name="NormalShippingService"/>
    </property>  
</action>