Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-06-23 Thread Claus Ibsen
Hi I logged a ticket https://issues.apache.org/jira/browse/CAMEL-7528 On Wed, May 7, 2014 at 7:24 AM, Claus Ibsen wrote: > Hi > > Yeah sure we love contributions. So fell free to log a JIRA ticket and > submit a patch / PR. > http://camel.apache.org/contributing > > Another solution could maybe

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-05-16 Thread Claus Ibsen
Hi Yeah sure we love contributions. So fell free to log a JIRA ticket and submit a patch / PR. http://camel.apache.org/contributing Another solution could maybe have been for the aggregator repositories to report back how many exchanges they have during the prepare shutdown. Then the memory based

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-05-06 Thread chessami92
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 messa

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-03-27 Thread chessami92
Do we have any idea why we are seeing this behavior? We continue to lose messages every time we recycle our application because of the issue depicted in the test despite our routes being created in the correct order. -- View this message in context: http://camel.465427.n5.nabble.com/Calculatio

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-02-20 Thread chessami92
I understand that the aggregator's messages do not count - they are checked out during shutdown just fine. The problem is the 'direct:testInput' route is actively processing a message (represented by the delay(2*1000)), but the DefaultShutdownStrategy does not count this message. It begins shutti

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-02-20 Thread Claus Ibsen
Messages are not regarded as in-flight while they are holded by aggregator. On Mon, Feb 10, 2014 at 3:16 PM, chessami92 wrote: > Hello there, > > I am using camel 2.12.2, and I seem to be running into an issue where > messages are being dropped on graceful shutdown. I've given a sample > testng/

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-02-19 Thread chessami92
On Feb 19, 2014 10:42 AM, "chessami92 [via Camel]" < ml-node+s465427n5747576...@n5.nabble.com> wrote: > Any advice to give on this issue? > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Ca

Re: Calculation of in-flight messages in DefaultShutdownStrategy

2014-02-19 Thread chessami92
Any advice to give on this issue? -- View this message in context: http://camel.465427.n5.nabble.com/Calculation-of-in-flight-messages-in-DefaultShutdownStrategy-tp5747034p5747576.html Sent from the Camel - Users mailing list archive at Nabble.com.