camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mortalisk <>
Subject Re: Async bean method
Date Wed, 10 May 2017 13:44:56 GMT
My route:

In the executor bean (only message type was changed to :

It definitely seems to only run the "process" method one by one. I added a
sleep in "preProcess" (which is inside the "thenApplyAsync" so it should not
block the camel thread, which would make it wait for that much longer until
next message would start. I would expect it to call the "process" for each
item in the queue immediately.

I looked at the camel code and found this line:

I'm not sure if this is the code that is involved, but that would block the
thread if I'm not mistaken.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message