activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Transport Listener Question
Date Tue, 07 Aug 2007 07:18:14 GMT
On 8/7/07, manishbel <manishbel@yahoo.com> wrote:
>
> Hello
>
> I have been trying out TransportListener in my application, I basically have
>
> Class1 - that has the producer and acts as the Transport Listener.
> Class2 - that uses the consumer to receive the messages, this acts as a
> Transport Listener too.
>
>
> When i bring the broker down the Class1 that acts as the Transport Listener
> gets notified of the Transport Interruption but the Class2 that handles the
> message consumption is not notified of the Transport Interruption event.
>
> Is this the expected behavior? should the consumer not be notified of the
> lost connection?

Are you calling connection.addTransportListener for both objects?


-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message