Configuring SBW Selectors on Ports
Configuring based on JMS, Message Body XPath, and Application Context XPath
As explained earlier about defining selectors for the data flow through routes, it is possible to set filters for the data flow through ports as well.
Refer to the Configuring Selectors on Routes section or click the respective links in the points below to understand the SBW Selectors configuration, which illustrates selector configuration on routes.
While referring to this section, ensure to click the port in place of the route to configure.
Unlike for routes, configuration based on Sender is not applicable for configuring on ports.
The Selectors can be defined based on:
- value of a JMS property in the message
- an XPath defined on the incoming XML message
an XPath defined on the Application Context (wherein Application Context is defined).
- Mask Message Body
Mask Property
The properties - Mask Message Body and Mask Property which are not present in Route Selector are explained in the next section - Masking Message Content
Prerequisite
Before configuring SBW Selectors on ports, Document Tracking needs to be enabled in the Workflow. Refer to the Enabling Document Tracking section to understand the same.
Configuration
Click the port where a selector needs to be configured and go to the SBW Selectors tab in the Properties panel to apply any of the methods above.
When a selector is defined on a route, the
- output port where the workflow item is set turns green.
- input port where the workflow end is set turns red.
If there are multiple selectors defined on a port, only those messages which match (while filtering) the criteria set on selectors will be allowed to pass through the port.
Masking messages
Masks the sensitive content in the message before pushing it to the enterprise server. Refer to the subsection for details.