Version: 17.07
Supported Since: 17.07
A Splitted XML Aggregator processor is a processing element which accepts messages or responses split by an XML Splitter processing element with an XML payload, aggregates the splitted messages of a single parent message into a single accumulated message by a provided XPath expression. Once the last splitted message/response reached the aggregator, it will complete the aggregation and give the resulting message for the processing by the next processing element. However all messages prior to the last message would be aggregated but dropped with SUCCESS status by this processing element.
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.
|
Aggregated Processor |
The aggregated message (upon reaching the last message in the split/aggregation) with aggregated payloads of all messages will be sent to this outport |
Delayed Completion Processor |
This outport is used to process any splitted messages reaching the aggregator after the completion timeout has been elapsed (i.e. delayed reaches) |
On Exception |
The message will be sent to this outport if the processing element failed to aggregate the input message or add any message to the aggregation due to some reason |
Aggregation XPath * |
Basic |
Aggregation XPath from which the elements are extracted for aggregation from individual messages |
Namespaces 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. |
Wrapper element name * |
Basic |
Wrapper element name for the aggregated elements |
Wrapper element namespace |
Basic |
Namespace of the above wrapper element |
Wrapper element namespace prefix |
Basic |
Namespace prefix for the wrapper element |