What is the difference between “seda + concurrentConsumers” and “direct + threads”
Apache Camel provide two solutions for using thread pool: from("seda:stageName?concurrentConsumers=5").process(...) and from("direct:stageName").thread(5).process(...) I would like to know, what is the difference between the two solutions ? Is it just two kind of write the same thing or not ? What are the use cases ? SEDA Component The seda: component provides asynchronous SEDA behavior so that messages are exchanged on a BlockingQueue and consumers are invoked in a separate thread to the producer. Direct Component The direct: component provides direct, synchronous invocation of any consumers