Versions Compared

Key

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

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

Code Block
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

Include Page
CAMEL:Endpoint See Also
CAMEL:Endpoint See Also