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 I try to run the above program, I am getting the following error.
Error reading command: at Net/Stomp/Frame.pm line 37.

Can anyone help me in resolving this?

Thanks.

-- 
View this message in context: 
http://www.nabble.com/Net%3A%3AStomp-throwing-error-when-connecting-to-ActiveMQ-tp21953691p21953691.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to