[openamq-dev] Fwd: Ruby QPID libraries

Carl Bourne cbourne at intellect.co.uk
Tue Apr 29 23:46:54 CEST 2008


Hi Gordon,

I tried your example against OpenAMQ and RabbitMQ.

It worked fine with OpenAMQ but though this error with RabbitMQ:-

ruby simple_test.rb ../specs/amqp.0-8.xml
CONNECTION CLOSED: 501, FRAME_ERROR, 60, 20
writer Qpid::Closed
./qpid/queue.rb:41:in `pop': Qpid::Closed (Qpid::Closed)
    from ./qpid/peer.rb:208:in `invoke'
    from ./qpid/peer.rb:190:in `method_missing'
    from qpidruby.rb:13

However, the publish part of the script worked OK - a message was produced and sent to the RabbitMQ broker. The error seems to relate to the consumer part failing.

Would you know what might be causing this?

Regards,

Carl


On 29/04/2008 17:25, "Gordon Sim" <gsim at redhat.com> wrote:

Hello OpenAMQers!

In response to Carl's query I tested the attached example using the
latest Qpid ruby client (M2.1 will also work) and OpenAMQ/1.2c4. Its
very basic but shows a simple send & receive working[*]. (My response
got bounced first time round).

We (Qpid project) are very keen to do whatever we can to ensure we
interoperate with any other implementations so please don't hesitate to
shout if you come across any issues.

--Gordon.

[1] You can pass in any 0-9 spec file as an argument, but the following
has the WIP removed which prevents an odd warning from the qpid ruby client:

http://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1-release/specs/amqp.0-9.no-wip.xml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20080429/3c45b468/attachment.htm 


More information about the openamq-dev mailing list