Name
Recipient List — Routes messages to a number of dynamically specified recipients
Usage
The recipient list pattern sends a copy of the incoming message to a list of endpoints. The list of endpoints is dynamically generated at runtime.
The recipient list pattern can appear anywhere in the body of a route. It must be followed by two or more destinations.
Properties
Table 3.14 describes the properties you can specify using the properties editor.
Table 3.14. Recipient List Properties
Name | Description |
---|---|
Expression | Specifies the expression used to generate the list of recipients. |
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. |
Parallel Processing | Specifies if the recipient list can send messages to multiple recipients concurrently. |
Timeout | Specifies the amount of time, in milliseconds, the node will attempt to deliver a message before timing out. |
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. |
Stop On Exception | Specifies if the node will stop all processing if one of the endpoints receiving a message throws an exception. |
Share Unit of Work | Specifies whether all of the resulting exchanges are considered a single shared unit of work. |
Delimiter | Specifies a delimiter to separate the list of endpoint URIs in the generated recipient list. |
Ignore Invalid Endpoints | Specifies if router will skip steps that are invalid without throwing an exception. |
Streaming | Specifies if the recipient list 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 |