You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/07/08 11:40:13 UTC

[GitHub] [camel] davsclaus commented on pull request #5813: CAMEL-16794: race condition in LoopProcessor

davsclaus commented on pull request #5813:
URL: https://github.com/apache/camel/pull/5813#issuecomment-876367908


   Thanks for reporting.
   
   We should find a better fix than to synchronize the entire process method. 
   Can you try to investigate making the LoopState local instance, and then in the getPendingExchangesSize method you do something similar to what is done in WireTapProcessor where. there is a task counter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org