Hi Tony,<br><br>Thanks for the reply but I didn't have a chance to look at this again until now.<br><br>My problem was quite simple in the end. I didn't realise that the test scripts provided<br>would only allow me to send a message when a consumer was listening to the queue.<br>
It appears that others have also encountered this issue:<br><br><a href="http://vampiresoftware.blogspot.com/2009/05/stomping-on-rabbit-pt2.html">http://vampiresoftware.blogspot.com/2009/05/stomping-on-rabbit-pt2.html</a><br>
<br>Thanks,<br><br>David<br><br><br><div class="gmail_quote">On Fri, May 1, 2009 at 1:25 AM, Tony Garnock-Jones <span dir="ltr"><<a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi David,<br>
<br>
What you describe is really odd -- and unfortunately, it actually works<br>
OK for me:<br>
<br>
hg clone <a href="http://hg.rabbitmq.com/rabbitmq-codegen" target="_blank">http://hg.rabbitmq.com/rabbitmq-codegen</a><br>
hg clone <a href="http://hg.rabbitmq.com/rabbitmq-server" target="_blank">http://hg.rabbitmq.com/rabbitmq-server</a><br>
<div class="im">hg clone <a href="http://hg.rabbitmq.com/rabbitmq-stomp" target="_blank">http://hg.rabbitmq.com/rabbitmq-stomp</a><br>
</div>(cd rabbitmq-codegen; hg up rabbitmq_v1_5_3)<br>
(cd rabbitmq-server; hg up rabbitmq_v1_5_3)<br>
(cd rabbitmq-stomp; hg up rabbitmq_v1_5_3)<br>
make -C rabbitmq-server<br>
make -C rabbitmq-stomp run<br>
<br>
Then in another terminal,<br>
rabbitmq-stomp/examples/perl/rabbitmq_stomp_recv.pl.<br>
<br>
Then in another terminal, every call I make to<br>
rabbitmq-stomp/examples/perl/rabbitmq_stomp_send.pl makes "testmessage"<br>
appear on the console running the _recv.pl script.<br>
<br>
It's especially odd that you can connect and everything seems to run<br>
fine. Is there anything interesting in the rabbit.log file?<br>
<br>
(Also worth checking: did you run the receiver before running the<br>
sender? I think (?) the receiver needs to be running at the time the<br>
sender runs)<br>
<br>
Regards,<br>
Tony<br>
<div><div></div><div class="h5"><br>
<br>
David Cawley wrote:<br>
> I've been testing out several Message Queues under Redhat FC9<br>
> using Stomp e.g. POE based MQ and ActiveMQ. I also wanted to<br>
> try RabbitMQ but I'm unable to receive messages from the queue?<br>
> I see that Tony from lshift has been busy answering questions and<br>
> fixing issues so I'm hoping it's in a usable state.<br>
><br>
> I installed the rabbitmq-server-1.5.3-1 via yum (I had to manually create<br>
> a rabbitmq user/group and home directory for a cookie). I then compiled<br>
> the stomp adaptor as follows using the rabbitmq_v1_5_3 tag :<br>
><br>
> cd /usr/lib/erlang/lib/<br>
> hg clone <a href="http://hg.rabbitmq.com/rabbitmq-stomp" target="_blank">http://hg.rabbitmq.com/rabbitmq-stomp</a><br>
> cd rabbitmq-stomp<br>
> hg update rabbitmq_v1_5_3<br>
> make RABBIT_SERVER_SOURCE_ROOT=../rabbitmq_server-1.5.3<br>
><br>
> I created a config file so that the stomp adaptor is used:<br>
> /etc/rabbitmq/rabbitmq.conf<br>
><br>
> SERVER_START_ARGS='<br>
> -pa /usr/lib/erlang/lib/rabbitmq-stomp/ebin<br>
> -rabbit<br>
> stomp_listeners [{"0.0.0.0",61613}]<br>
> extra_startup_steps<br>
> [{"STOMP-listeners",rabbit_stomp,kickstart,[]}]'<br>
><br>
> I restarted the rabbitmq-server process and I can connect to port 61613.<br>
> The stomp<br>
> connect works. However, when I run the example perl test scripts I don't<br>
> receive any<br>
> of the messages. The rabbit.log file indicates the accepting of the TCP<br>
> connection<br>
> and starting and sending of Stomp connection and no errors. I also tried<br>
> using the ruby<br>
> examples but still no luck. I even tried doing the process above with<br>
> the latest 1.5.4<br>
> mq-server rpm with the v1_5_3 tagged rabbitmq-stomp. How can I get it<br>
> working?<br>
><br>
> ./examples/perl/rabbitmq_stomp_send.pl<br>
> ./examples/perl/rabbitmq_stomp_recv.pl<br>
><br>
> Thanks,<br>
><br>
> David<br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<font color="#888888"><br>
<br>
--<br>
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211<br>
[][] LShift Ltd | Tel: +44 (0)20 7729 7060<br>
[] [] <a href="http://www.lshift.net/" target="_blank">http://www.lshift.net/</a> | Email: <a href="mailto:tonyg@lshift.net">tonyg@lshift.net</a><br>
</font></blockquote></div><br>