PilotFish Interface Exchange (PIE)

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

Product details

eiConsole Training - Splitting Attachment Data

Synopsis:

This interface demonstrates how to use the eiConsole to separate a single data stream into multiple data streams each based on a subset of the original stream's contents for independent handling and processing.

Transaction splitting may be used when:

  • An incoming transaction contains multiple data payloads
  • An incoming transaction needs to have different components processed separately

Core Concepts:

  • Forking
  • XPath

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 sample file Sample2.xml.

Sample2.xml will be broken up into multiple transactions, one for each "Attachment" in the document (there are three), each of which will be processed separately from the forking module.

How it Works

The forking module is configured in the Source format:

Viewing the Forking configuration, you will notice an XPath expression and namespaces; the namespaces define prefixes for the XPath configuration. The XPath defines which elements out of the original sample file will be output:

For each node evaluated by the XPath expression, a transaction is generated and passed downstream to the directory transport.

 

Release Details

Synopsis:

This interface demonstrates how to use the eiConsole to separate a single data stream into multiple data streams each based on a subset of the original stream's contents for independent handling and processing.

Transaction splitting may be used when:

  • An incoming transaction contains multiple data payloads
  • An incoming transaction needs to have different components processed separately

Core Concepts:

  • Forking
  • XPath