activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Uncaught exception in subscriber ends subscription
Date Tue, 25 May 2010 16:46:15 GMT
please open a jira issue with your test code and we can get to the bottom of
this.

On 25 May 2010 15:48, Minutello, Nick <nick.minutello@credit-suisse.com>wrote:

>
> Has anyone else seen this issue?
> I don't believe I've stumbled across a bug like this... seems a bit too
> fundamental ...
> -Nick
>
> > _____________________________________________
> > From:         Minutello, Nick
> > Sent: 24 May 2010 20:00
> > To:   'users@activemq.apache.org'
> > Subject:      RE: Uncaught exception in subscriber ends subscription
> >
> >
> > Forgive me if I'm missing something daft - its been a while since I
> > read the JMS spec - but I'm pretty sure an uncaught exception isn't
> > meant to kill a subscription...
> >
> > Here is the simplest code sample to reproduce the problem.
> >
> >  << File: TestMessageSenderer.java >>
> >
> > This is running against AMQ 5.3.0.
> >
> > Can someone confirm this is a bug? I'll raise an issue in Jira.
> >
> > Cheers, thanks,
> > Nick
> >
> >
> >
> > _____________________________________________
> > From:         Minutello, Nick
> > Sent: 24 May 2010 16:27
> > To:   'users@activemq.apache.org'
> > Subject:      Uncaught exception in subscriber ends subscription
> >
> >
> > Hi chaps/chappettes,
> >
> > 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/<1
> > 7189972.post@talk.nabble.com>
> > <http://mail-archives.apache.org/mod_mbox/activemq-users/200805.mbox/%
> > 3C17189972.post@talk.nabble.com%3E>
> >
> > 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...
> >
> > -Nick
>
>
> ===============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>
> ===============================================================================
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message