cSEDA Standard properties
These properties are used to configure cSEDA running in the Standard Job framework.
The Standard cSEDA component belongs to the Core family.
Basic settings
When using as a start component in a Route: | |
Name |
Type in any string that uniquely identifies the endpoint. |
Specify maximum capacity size | Select this check box to set the maximum number of messages that the SEDA queue can hold. Specify the number in the Size field. |
Concurrent consumers |
Specify the number of concurrent threads processing exchanges. |
Wait for task to complete |
Specify whether the caller should wait for the asynchronous task to complete or not before continuing. Select from Always, Never or IfReplyExpected. The default option is IfReplyExpected which means the caller will only wait if the message is Request-Reply based. For more information about this option, see the site http://camel.apache.org/async.html. |
Timeout | Specify the time in milliseconds before a SEDA producer will stop waiting for an asynchronous task to complete. You can disable this option by using 0 or a negative value. |
Use multiple consumers | Specifies whether multiple consumers are allowed. If enabled, you can use cSEDA for Publish-Subscribe messaging, which means you can send a message to the SEDA queue and have each consumer receive a copy of the message. When enabled, this option should be specified on every consumer endpoint. |
Limit concurrent consumers | Whether to limit the number of concurrent consumers to the maximum of 500. By default, an exception will be thrown if a SEDA endpoint is configured with a greater number. |
Block when full | Whether a thread that sends messages to a full SEDA queue will block until the queue's capacity is no longer exhausted. By default, an exception will be thrown stating that the queue is full. By enabling this option, the calling thread will block instead and wait until the message can be accepted. |
Poll timeout | Specify the timeout in milliseconds used when polling. When a timeout occurs, the consumer can check whether it is allowed to continue running. Setting a low value allows the consumer to react more quickly upon shutdown. |
When using as a middle or end component in a Route: | |
Use Exist cSEDA | Click [...] and select the corresponding consumer in the dialog box. |
Advanced settings
Arguments | This option is available only when cSEDA is used as a start component in the Route. Set the optional arguments in the corresponding table. Click [+] as many times as required to add arguments to the table. Then click the corresponding Value field and enter a value. See the site http://camel.apache.org/seda.html for available options. |
Usage
Usage rule |
cSEDA is used as a start, middle, or end component in a Route. |
Limitation |
n/a |