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.
direct:someName |
Where someName can be any string to uniquely identify the endpoint
Name |
Default Value |
Description |
|---|---|---|
allowMultipleConsumers |
true |
If set to false, then when a second consumer is started on the endpoint, a IllegalStateException is thrown |