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