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
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,
}
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
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',