camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chessami92 <>
Subject Re: Calculation of in-flight messages in DefaultShutdownStrategy
Date Tue, 06 May 2014 22:05:22 GMT
So I got a chance to look at this again and I think the root cause is an
issue with how the AggregateProcessor responds to prepareShutdown. I think
it responds correctely, but the DefaultShutdownStrategy does not consider
the fact that doing the prepareShutdown routine may actually spawn more
messages coming out of some services like the AggregateProcessor.

Take a look at
to see the test that I added and how I fixed the problem in the
DefaultShutdownStrategy and let me know what you think.

I can do a pull request if you think this is something that should be
included in camel core. I know there isn't a bug for it out there, so let me
know if I need to make one first, or if you even consider this behavior a

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

View raw message