Multiple Producers, single consumer

2009-02-16 Thread sunil_mlec
Hi, I have to design an application where there are multiple producers that send message to the server. The consumer reads the message and should reply to the specific producer with the answer. Is ActiveMQ the right tool for my purpose? Please respond. If yes, can you please outline a brief ide

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/fo

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