Re: PERL/STOMP: Subscribe to multiple destinations

2009-10-01 Thread nmittal
Perfect this is what I was looking for. Thanks for your time. Roger Hoover wrote: > > You can do something like this > > my $stomp = Net::Stomp->new( { hostname => "192.168.42.30", port => > '61613' > } ); > $stomp->connect(); > $stomp->subscribe( > { destination => '/q

Re: PERL/STOMP: Subscribe to multiple destinations

2009-09-28 Thread Roger Hoover
You can do something like this my $stomp = Net::Stomp->new( { hostname => "192.168.42.30", port => '61613' } ); $stomp->connect(); $stomp->subscribe( { destination => '/queue/testq', 'ack' => 'client', 'activemq.prefetchSize' => 1, }

Re: PERL/STOMP: Subscribe to multiple destinations

2009-09-28 Thread Dejan Bosanac
Hi, you can use wildcards http://activemq.apache.org/wildcards.html Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 28, 2009 at 3:02 PM, nmittal wrote: > > Hi All, > the

PERL/STOMP: Subscribe to multiple destinations

2009-09-28 Thread nmittal
Hi All, the following code snippet, leads me to believe that we can subscribe to only one destination at a time... my $stomp = Net::Stomp->new( { hostname => "192.168.42.30", port => '61613' } ); $stomp->connect(); $stomp->subscribe( { destination => '/queue/testq',