Name
Split — Sorts the contents of the message
Usage
The splitter pattern breaks a message into a number of smaller messages based on an expression. When used in routes whose exchange pattern is in-out, the splitter pattern can either return a copy of the original message or use an aggregation strategy to recombine the responses into a reply.
Properties
Table 3.18 describes the properties you can specify using the properties editor.
Table 3.18. Split Properties
Name | Description |
---|---|
Expression | Specifies the expression used to split the message. |
language | Specifies the expression language used to process the expression. |
Inherit Error Handler | Specifies if the node should use the error handler configured for the route. |
Timeout | Specifies the amount of time, in milliseconds, the node will attempt to deliver a message before timing out. |
Share Unit of Work | Specifies whether all of the resulting exchanges are considered a single shared unit of work. |
Parallel Processing | Specifies if the splitter can send messages to multiple destinations concurrently. |
Stop On Exception | Specifies if the node will stop all processing if one of the endpoints receiving a message throws an exception. |
Executor Service Ref | Specifies a reference for looking up the
executorService to use for
thread pool management. |
Strategy Ref | Specifies a reference for looking up the
AggregationStrategy in the registry. |
Streaming | Specifies if the splitter works in streaming mode. |
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file. |
Description | Specifies a text description of the bean. The description is included in the generated XML file. |
Related topics
Expression and Predicates Languages |
Configuring the Fuse IDE route editor in Using Fuse IDE |