xml splitter

XML Splitter processor

Version: 17.07

Supported Since: 17.07

What is an XML Splitter processor?

An XML Splitter processor is a processing element which accepts a message with an XML payload, selects a set of elements from that by evaluating a provided XPath expression, and creates a set of messages with individual elements as the payload to be processed as separate messages

In order to use this processing element, you must first select the EIP Routing dependency from the processor list when you are creating an empty Ultra project. If you have already created a project, you can add this dependency via Component Registry. From Tools menu, select Ultra Studio → Component Registry and from the Processors list, select the EIP Routing dependency.

Alternatively, you can add the following dependency to the maven pom.xml manually.

<dependency>
    <groupId>org.adroitlogic.x.processors</groupId>
    <artifactId>x-processor-eip-routing</artifactId>
    <version>17.07</version>
</dependency>
xml splitter outports

Out Ports

Split Processor

The messages created with the splitted XML payloads will be sent to this outport

Timeout Processor

This outport is used as the timeout processor for the related XML Aggregator processor if any

On Exception

The message will be sent to this outport if the processing element failed to split the input message to create resulting messages with the splitted XML due to some reason

Parameters

Split Strategy *

Basic

The splitting strategy of the splitter, possible values for this are;

  • SERIAL - Split the message and process splitted messages serially on the same thread prior to continuing the parent message

  • PARALLEL - Split the message and process splitted messages in separate threads in parallel, however wait the parent message processing thread for the completion of all splits

  • FORK - Split the message and process splitted messages in separate threads in parallel, however the parent message continues processing soon after submitting the last splitted message for processing

Split XPath *

Basic

The XPath describing the list of repeating elements.

Aggregation Timeout *

Basic

The timeout allowed for the splitted messages to be aggregated, any message that is not reaching a corresponding aggregator after this timeout will probably be discarded

Namespace Map

Basic

If any custom namespaces are being used inside XPath expression, those should be defined as a map with those namespaces as keys and the corresponding namespace URIs as values.

In this topic
In this topic
Contact Us