You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/07/31 07:23:11 UTC

[GitHub] [nifi] turcsanyip commented on pull request #4411: NIFI-6312: Improved connection handling in AMQP processors

turcsanyip commented on pull request #4411:
URL: https://github.com/apache/nifi/pull/4411#issuecomment-666975446


   @tpalfy Removed the "poisoning approach", using conventional exception handling.
   
   There is one case (ConsumeJMS is idle/no messages in the queue and the broker shuts down) when there is no exception on the `onTrigger`'s thread. Introducing `isAlive()` method to detect it in `onTrigger`. `isAlive()` checks `connection.isOpen()` (so no explicit poisoning needed).


----------------------------------------------------------------
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.

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