Name
Resequence — Resequences messages based on an expression
Usage
The resequence pattern reorders messages according to a specified expression. It can be used in one of two modes:
batch—the resequencer collects the messages into a batch, resequences them and sends the batch to the target endpoint
stream—the resequncer looks for gaps in the message stream and resequences the messages between the gaps before sending them to the target endpoint
The resequence pattern can be placed anywhere in the body of a route. It can only support a single output.
Properties
Table 3.15 describes the properties you can specify using the properties editor.
Table 3.15. Resequence Properties
Name | Description |
---|---|
Expressions | Specifies the expression used to resequence the messages. |
language | Specifies the expression language used to process the expression. |
Resequencer Config |
Specifies the configuration for the resequencer:
Only configure one mode. |
Inherit Error Handler | Specifies if the node should use the error handler configured for the route. |
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 |