此内容没有您所选择的语言版本。
11.4. Defining External Rules for Content-Based Routing with XPath
Procedure 11.2. Task
- Open the
jboss-esb.xml
file and set the cbrAlias property toXPath
. - Define the routing expressions in a .properties file. Make sure the property keys correlate with the destination names and that the property values are the XPath expressions for routing to this destination.
- Define the routing rules in the route-to configurations via the container destinations property. The destination-name attribute will refer to the XPath rule key as defined in the external .properties file as shown:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow