activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunil_mlec <sunilm...@gmail.com>
Subject Net::Stomp throwing error when connecting to ActiveMQ
Date Wed, 11 Feb 2009 12:27:44 GMT

  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.


Mime
View raw message