Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Default

Description

size

1000

The maximum size of the SEDA queue.

concurrentConsumers

1

Camel 1.6.1/2.0: Number of concurrent threads processing exchanges.

waitForTaskToComplete

IfReplyExpected

Camel 2.0: Option to specify whether the caller should wait for the async task to complete or not before continuing. The following three options are supported: Always, Never or IfReplyExpected. The first two values are self-explanatory. The last value, IfReplyExpected, will only wait if the message is Request Reply based. The default option is IfReplyExpected. See more information about Async messaging.

timeout

30000

Camel 2.0: Timeout in millis a seda producer will at most waiting for an async task to complete. See waitForTaskToComplete and Async for more details. In Camel 2.2 you can now disable timeout by using 0 or a negative value.

Changes in Camel 2.0

In Camel 2.0 the Seda component supports using Request Reply, where the caller will wait for the Async route to complete. For instance:

...