activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valerio VALDEZ Paolini <valerio.paol...@staff.dada.net>
Subject STOMP and Failover transport
Date Tue, 22 Apr 2008 14:40:36 GMT
Hi All,

I'm working on an improved STOMP client written in Perl and I need some 
clarifications about the behaviour of the failover transport.

Let's suppose that a client, configured to use two hosts in failover A and B, 
opens a TCP connection to broker A, connects, subscribes to some destinations 
and then waits for incoming messages.

Let's suppose now that broker A is switched off, is it correct that, after 
connecting successfully to broker B, the client re-connects, subscribes again 
to all previously subscribed destinations and then tries again to receive 
messages?

Is there any case in which a failover shouldn't try to restore the situation 
before the transport failure?

Thanks,

        Valerio


-- 

Valerio Paolini - valerio.paolini@staff.dada.net
The lyf so short, the craft so long to lerne - Geoffrey Chaucer

Mime
View raw message