RE: how to use failover url protocol in STOMP C client

2006-10-02 Thread Dhawan, Vikram \(LNG-DAY\)
Got it!

Thanks!

Vik

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
Chirino
Sent: Monday, October 02, 2006 1:01 PM
To: [email protected]
Subject: Re: how to use failover url protocol in STOMP C client

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) <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
> Chirino
> Sent: Monday, October 02, 2006 11:55 AM
> To: [email protected]
> 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) <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]
> > Sent: Monday, September 25, 2006 10:18 AM
> > To: [email protected]
> > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Hiram
> > Chirino
> > Sent: Friday, September 22, 2006 7:37 PM
> > To: [email protected]
> > 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) <[EMAIL PROTECTED]>
> > 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


Re: how to use failover url protocol in STOMP C client

2006-10-02 Thread Hiram Chirino

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) <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
Chirino
Sent: Monday, October 02, 2006 11:55 AM
To: [email protected]
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) <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 10:18 AM
> To: [email protected]
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
> Chirino
> Sent: Friday, September 22, 2006 7:37 PM
> To: [email protected]
> 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) <[EMAIL PROTECTED]>
> 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


RE: how to use failover url protocol in STOMP C client

2006-10-02 Thread Dhawan, Vikram \(LNG-DAY\)
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
Chirino
Sent: Monday, October 02, 2006 11:55 AM
To: [email protected]
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) <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 10:18 AM
> To: [email protected]
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
> Chirino
> Sent: Friday, September 22, 2006 7:37 PM
> To: [email protected]
> 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) <[EMAIL PROTECTED]>
> 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


Re: how to use failover url protocol in STOMP C client

2006-10-02 Thread Hiram Chirino

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) <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
Sent: Monday, September 25, 2006 10:18 AM
To: [email protected]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
Chirino
Sent: Friday, September 22, 2006 7:37 PM
To: [email protected]
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) <[EMAIL PROTECTED]>
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


RE: how to use failover url protocol in STOMP C client

2006-10-02 Thread Dhawan, Vikram \(LNG-DAY\)
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:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 10:18 AM
To: [email protected]
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
Chirino
Sent: Friday, September 22, 2006 7:37 PM
To: [email protected]
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) <[EMAIL PROTECTED]>
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


Re: how to use failover url protocol in STOMP C client

2006-09-25 Thread James Strachan

On 9/25/06, Dhawan, Vikram (LNG-DAY) <[EMAIL PROTECTED]> wrote:

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.


Yes it should - details on all the Stomp headers supported here...

http://incubator.apache.org/activemq/stomp.html

--

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


RE: how to use failover url protocol in STOMP C client

2006-09-25 Thread Dhawan, Vikram \(LNG-DAY\)
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hiram
Chirino
Sent: Friday, September 22, 2006 7:37 PM
To: [email protected]
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) <[EMAIL PROTECTED]>
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