You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Direct Component

The direct: component provides direct, synchronous invocation of any consumers when a producer sends a message exchange. This is mostly used for testing to avoid any concurrency issues in testing.

URI format

direct:someName

Where someName can be any string to uniquely identify the endpoint

Options

Name

Default Value

Description

allowMultipleConsumers

true

If set to false, then when a second consumer is started on the endpoint, a IllegalStateException is thrown

  • No labels