Re: Net::Stomp throwing error when connecting to ActiveMQ

2009-02-11 Thread sunil_mlec
I have commented out $stomp->send ( { destination => 'foo', body => 'test message' } ); Even then, the same result. The problem is with $stomp->connect(); Thanks. Roger Hoover wrote: > > Maybe foo is not a valid destination and should be /queue/foo ? > > On 2/11/09, sunil_mlec wrote: >> >>

Re: Net::Stomp throwing error when connecting to ActiveMQ

2009-02-11 Thread Roger Hoover
Maybe foo is not a valid destination and should be /queue/foo ? On 2/11/09, sunil_mlec wrote: > > use Net::Stomp; > my $stomp = Net::Stomp->new( { hostname => 'localhost', port => '61613' } > ); > $stomp->connect( { login => 'guest', passcode => 'guest' } ); > $stomp->send( > { dest

Net::Stomp throwing error when connecting to ActiveMQ

2009-02-11 Thread sunil_mlec
use Net::Stomp; my $stomp = Net::Stomp->new( { hostname => 'localhost', port => '61613' } ); $stomp->connect( { login => 'guest', passcode => 'guest' } ); $stomp->send( { destination => 'foo', body => 'test message' } ); $stomp->disconnect; I am using ActiveMQ 5.2.0 version. When