Name
Delay — Delays processing for a specified length of time
Usage
The delay pattern delays message delivery for a period time determined by an expression.
The delay pattern can appear anywhere in the body of a route.
Properties
Table 4.2 describes the properties you can specify using the properties editor.
Table 4.2. Delay Properties
Name | Description |
---|---|
Expression | Specifies the expression used to determine the length of the delay. |
language | Specifies the expression language used to process the expression. |
Caller Runs When Rejected | Specifies that tasks rejected by the thread pool are executed by the calling thread. |
Inherit Error Handler | Specifies if the node should use the error handler configured for the route. |
Async Delayed | Specifies that processing tasks will be scheduled for processing at a later time. |
Executor Service Ref | Specifies a reference for looking up the
executorService to use for
thread pool management. |
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 |