activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: how to use failover url protocol in STOMP C client
Date Tue, 03 Oct 2006 14:22:29 GMT
BTW Stomp based failover should also re-submit any in-progress
operations - e.g. to resume any SUBSCRIBE's. If you are supporting
transactions, you should replay any non-complete transactions too.

On 10/2/06, Hiram Chirino <hiram@hiramchirino.com> wrote:
> Just checked again .. and yep it's there.
>
> Follow the use of the "reliable" variable.  when set to true, it acts
> very similar to how failover acts.  When a failure occurs it keeps
> trying to reconnect to the broker.  And that's basically the hard part
> of faiover, the only other thing that failover does is on failure it
> chooses a different host to connect to from a list.
>
>
> On 10/2/06, Dhawan, Vikram (LNG-DAY) <vikram.dhawan@lexisnexis.com> wrote:
> > I looked into the ruby code; it looks to me plain STOMP message
> > implementation. I don't see any specific implementation to failover
> > protocol.
> >
> > Any idea?
> >
> > Vik
> >
> > -----Original Message-----
> > From: chirino@gmail.com [mailto:chirino@gmail.com] On Behalf Of Hiram
> > Chirino
> > Sent: Monday, October 02, 2006 11:55 AM
> > To: activemq-dev@geronimo.apache.org
> > Subject: Re: how to use failover url protocol in STOMP C client
> >
> > Seems that the ruby code was moved recently so it could be
> > independently released.. here's where it lives now:
> >
> > http://svn.codehaus.org/stomp/ruby/trunk/
> >
> >
> > On 10/2/06, Dhawan, Vikram (LNG-DAY) <vikram.dhawan@lexisnexis.com>
> > wrote:
> > > Hiram,
> > >
> > > I can't access the Ruby code on STOMP's website. When I click on
> > source
> > > link on the "Stomp Client for Ruby page" it gives me a "Not Found
> > > error".
> > >
> > > Please let me know, I was getting ready to work on failover for STOMP
> > C
> > > client and wanted to see how it is implemented in Ruby client.
> > >
> > > Thanks!
> > >
> > >
> > >
> > > Vik
> > >
> > > -----Original Message-----
> > > From: Dhawan, Vikram (LNG-DAY) [mailto:vikram.dhawan@lexisnexis.com]
> > > Sent: Monday, September 25, 2006 10:18 AM
> > > To: activemq-dev@geronimo.apache.org
> > > Subject: RE: how to use failover url protocol in STOMP C client
> > >
> > > Hi Hiram,
> > >
> > > I will do that. BTW I had another question and haven't got any
> > response
> > > yet... this is about message selector in STOMP C clients. Because of
> > > some reason I can't get it work. Can you provide me some sample? As
> > far
> > > as my understanding I am setting the selector at the SUBSCRIBE command
> > > and it should work.
> > >
> > > Thanks!
> > >
> > > Vik
> > > -----Original Message-----
> > > From: chirino@gmail.com [mailto:chirino@gmail.com] On Behalf Of Hiram
> > > Chirino
> > > Sent: Friday, September 22, 2006 7:37 PM
> > > To: activemq-dev@geronimo.apache.org
> > > Subject: Re: how to use failover url protocol in STOMP C client
> > >
> > > Hi Vikram,
> > >
> > > Not implemented in the stomp C client yet.  If you want to take a
> > > cracked at implementing it yourself, you might want to peek at how it
> > > was implemented in the stomp ruby client.
> > >
> > > On 9/22/06, Dhawan, Vikram (LNG-DAY) <vikram.dhawan@lexisnexis.com>
> > > wrote:
> > > > Hi,
> > > >
> > > >
> > > >
> > > > I want to know can I use same failover protocol URL syntax in STOMP
> > C
> > > > clients.  And will it work the way failover is described in the AMQ
> > > > documentation.
> > > >
> > > >
> > > >
> > > > Thanks!
> > > >
> > > >
> > > >
> > > > Vik
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Regards,
> > > Hiram
> > >
> > > Blog: http://hiramchirino.com
> > >
> >
> >
> > --
> > Regards,
> > Hiram
> >
> > Blog: http://hiramchirino.com
> >
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message