activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Hoover <roger.hoo...@gmail.com>
Subject Re: Net::Stomp throwing error when connecting to ActiveMQ
Date Wed, 11 Feb 2009 16:23:14 GMT
Maybe foo is not a valid destination and should be /queue/foo ?

On 2/11/09, sunil_mlec <sunilm007@gmail.com> wrote:
>
>   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