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:
>>
>>
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
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