PilotFish Interface Exchange (PIE)

A marketplace for eiConsole (IDE) interface templates, components and industry bundles
eiConsole IDE 90-Day Free Trial!
Licensor contacts
The eiConsole IDE is highly recommended to support graphical development of interfaces for deployment to the eiPlatform runtime
eiConsole 10.13R1
Release Date
August 7, 2012
Resource Type

Product details

eiConsole Training - Content Based Routing


A full or Trial License of the eiConsole (Download a 90-Day Trial Now!). Completion of Level I Training.


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.

Core Concepts:

  • Routing Modules
  • Workflow

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 utilized.

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).