Uncaught exception in subscriber ends subscription
--------------------------------------------------

                 Key: AMQ-2761
                 URL: https://issues.apache.org/activemq/browse/AMQ-2761
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.3.2, 5.3.0
            Reporter: ffffff ffffff


We are seeing an issue with ActiveMQ Topic subscription when there is an 
uncaught exception.

It appears to be related to an old report (but who knows) :
http://mail-archives.apache.org/mod_mbox/activemq-users/200805.mbox/<[email protected]>
 

Basically, what happens is our Consumer (onMessage) was throwing an NPE. After 
that happens, the consumer no longer receives any more messages.

Following it through in the debugger - when the exception is thrown, what we 
see is the the "ActiveMQ Session Task" thread completes... 
After that, it never seems to execute again. Seems some state in the 
PooledTaskRunner gets borked? Investigating further - but at first glance it 
appears it thinks the connection is shutting down...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to