This sample interface demonstrates how the eiConsole can be used to
perform content-based routing.
Content based routing may be used when:
Data needs to flow conditionally to one or more target systems.
Data should proceed conditionally.
Data should process differently according to its contents; for
example, when different data versions or data formats originate from
the same source.
How to Run This Example
You may run from the listener by configuring the attached environmental
properties file, or from the eiConsole testing mode at any point in the
process prior to the routing module itself, using the attached documents
Sample2.xml and Sample3.xml.
Sample2.xml will be routed to one Transport, and Sample3.xml will be
routed to the other. The system utilizes the namespace to identify which
transport to route to; Sample3.xml uses the "Sample3.Namespace"
namespace, for example.
How it Works
The routing module is configured in the routing stage
Viewing the routing stage in the eiConsole, you will notice two rules.
Each performs an XPath operation; if the XPath operation evaluates to a
node (if the given XPath target can be found in the data), that rule
evaluates to true.
If a rule evaluates to true, the configured transport is added to the
list of valid targets for the current transaction.
Note that if "Accumulate Targets", found in the root configuration of
the routing module, is checked, it will send to all transports in its
list. If it is unchecked, only the first transport identifies will be
How to Use This Example
Download the interface using the Free Download button under the
eiConsole Interface logo.
Note: if you are not logged in to the eiConsole, or have arrived
at this page via a browser, you will be prompted to login before the
interface downloads into your eiConsole "PIE" inbox.
Note: If you have not downloaded and installed a FREE Trial you
will have the opportunity to register via a simple process after you
click the Free Download button.. Once you are logged in the interface
will automatically download into your "PIE" inbox.
Next, download one of the tutorials on this page (from the right column)
and walk through it step-by-step. You may check your work against the
provided Route (Sample Data).