Red Hat Training

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

13.7.13. StaticRouter

Class org.jboss.soa.esb.actions.StaticRouter
Static message routing action. This is basically a simplified version of the content-based router, except it does not support content based routing rules.

Table 13.24. StaticRouter Properties

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

Table 13.25. StaticRouter Process Methods

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