activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2761) Uncaught exception in subscriber ends subscription
Date Tue, 24 Aug 2010 22:53:49 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61386#action_61386
] 

Timothy Bish commented on AMQ-2761:
-----------------------------------

See this article for an explanation on why an uncaught exception can end the subscription
http://effectivemessaging.blogspot.com/2009/01/messagelistener-exception-handling.html


> 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.0, 5.3.2
>            Reporter: ffffff ffffff
>             Fix For: 5.4.1
>
>         Attachments: TestMessageSenderer.java
>
>
> 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/<17189972.post@talk.nabble.com>

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


Mime
View raw message