Direct Component

The direct: component provides direct, synchronous invocation of any consumers when a producer sends a message exchange.
This endpoint can be used connect existing routes or if a client in the same JVM as the Camel router wants to access the routes.

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

See Also

Graphic Design By Hiram