activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Pernas <os...@pernas.es>
Subject Re: ACTIVEMQ-CPP. Connection with broker lost? connection interrupt lost?
Date Thu, 10 Feb 2011 18:41:22 GMT
Activemq-cpp 3.2.4
Debian (and tested in windows xp too)
gcc version 4.4.4 (Debian 4.4.4-1)

This problem only happens if while the consumer is consuming messages, if
consumer is waiting for new messages, transportInterrupt is received ok...
If I have two consumer of one topic, sometimes one consumer reconnects and
the other one not, and viceversa...

2011/2/10 Timothy Bish <tabish@fusesource.com>

> On Thu, 2011-02-10 at 17:29 +0100, Oscar Pernas wrote:
> > Hi all,
> >
> >
> > I am testing the transport interrupt and restore of Activemq-CPP over
> > topics.
> >
> > I have a producer sending messages to the broker and a consumer consuming
> > them.
> >
> > If while we are receiving messages, I close the broker, I can see that Im
> > not always receiving the transport interrupt message, what could be the
> > reason? If I dont receive the transport interrupt, the transport restore
> > never comes too, and when the broker is up again, this topic is not going
> to
> > consume any more messages.
> >
> > This is so weird, and could be a important bug, anyone has tested it?
> >
> >
> >
> >
> >
> >
> >
> > Pass to reproduce it:
> >
> > Start consuming (better if you have more than one consumer over the same
> > topic)
> > Start producing messages
> > Close the broker
> > You dont receive the transport interrupt in all the consumers.
> >
> >
>
> What version of AcitveMQ-CPP ?
> What OS ?
> What Compiler?
>
> Regards
>
>
> --
> Tim Bish
> ------------
> FuseSource
> Email: tim.bish@fusesource.com
> Web: http://fusesource.com
> Twitter: tabish121
> Blog: http://timbish.blogspot.com/
>
>
>


-- 
Óscar Pernas Plaza.

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