You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Kevin Burton <bu...@spinn3r.com> on 2016/06/11 22:45:11 UTC

Shouldn't consumers with MessageListeners have interrupt called on close?

If you have some blocking code in a MessageListener which throws
InterrupedException it isn't raised when you call consumer.close.

There are legit reasons for this including blocking on a CountdownLatch..
otherwise I have to implement code to poll() checking if the consumers have
been closed ...

-- 

We’re hiring if you know of any awesome Java Devops or Linux Operations
Engineers!

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>