The delay makes it asynchronous, set synchronous=true on the seda endpoint On Wed, Jan 29, 2020 at 4:52 PM Alex Soto <[email protected]> wrote: > > Hello, > > I have a question about SEDA consumer and parallelism. When I set the > concurrentConsumers=1 and send multiple messages in parallel, I expect to see > the messages being processed in sequence, but what I see in the logs is that > they are being processed in parallel. > > My route looks more or less like this: > > <route id=“myroute"> > <from > uri=“seda:myconsumer?purgeWhenStopping=true&concurrentConsumers=1&exchangePattern=inOnly”/> > <delay> > <constant>1000</constant> > </delay> > </route> > > From logs, I can see messages being processed in parallel by this route. Any > idea? > > (Camel version is 3.0.1) > > Best regards, > Alex soto > > > >
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
