activemq-dev mailing list archives

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


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:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.0, 5.3.2
>            Reporter: ffffff ffffff
>             Fix For: 5.4.1
>         Attachments:
> 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) :

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

View raw message