activemq-dev mailing list archives

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

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

ffffff ffffff commented on AMQ-2761:
------------------------------------

Regardless, an uncaught RuntimeException from a client should not have the effect of ending
that clients subscription.

Nothing in the spec (or even the section you quoted) would suggest this issue is expected
behaviour, would it?

> 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