camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From flovansi <>
Subject Re: SJMS implementation - Batch Consumer
Date Fri, 11 Oct 2013 08:06:24 GMT
Thank you for your answer. 

I do not have any unit tests right now but I'll try to do some.

Another thing that is strange in the implementation of the timeout.

The timeout is set in the resetTask() method which is called at the
completion of the exchange ( If
I'm understanding it well, the timeout seems to be reset at each exchange
completion. That is not really the definition of a timeout. So, if the first
exchange of the batch enters in an infinite loop, the completion will never
be executed and the timeout will not be triggered.

Plus, the timeout task is not canceled in case of failure (onFailure

Please correct me if I am wrong,


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

View raw message