XPath router

XPath router

XPath router which uses the MyESBXPathRouterStrategy (see Router).

In the table below, you will find an explanation of these properties. All attributes with a ‘*’ are mandatory.

Attribute

Description

Name*

By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this producer to be enabled.

Default Flow

If no matching route can be found, the message will be routed to this default flow.

Inter-Inteface Routing

Set this value to true, if you want to route to a flow of an interface outside this interface.

Mapping

Here you can set a Routing value and refer to a Flow.

By pressing , you create one (or BOOLEANmore) extra Routing Mapping rule.

At Routing, you indicate for which returned value of a routerStrategy the message has to be routed.

XPath Expression*

XPath expression that will be executed on the messagepart. Result will be matched against the mapping.

Result Type

Type of the expected result of the XPATH. Could be NODELIST, STRING or BOOLEAN

MessagePart Name

Name of the messagepart in the ConnectMessage where the request entering or the response leaving this component will be stored. Defaults to msgprt0.

Description

 

Description of the specific producer. This is for documentation purposes.

 

In the table below, you will find an explanation of the properties of a Mapping rule. All attributes with a ‘*’ are mandatory.

Attribute

Description

Routing value*

Here you enter the expression value on which to route.

Flow Name*

Here you enter the name of the flow to route to.

When you select the  behind the field XPath Expression, you will enter an XPath Tester program.

 You can enter an XPATH expressen and an XML example. When you press the  button the expression will be performed on the given XML File. The result will be returned in the result field.