stompgem / stomp

A ruby gem for sending and receiving messages from a Stomp protocol compliant message queue. Includes: failover logic, ssl support.
http://stomp.github.com
Apache License 2.0
152 stars 80 forks source link

Can't receive message if broker doesn't append subscription header #13

Closed ebisawa closed 13 years ago

ebisawa commented 13 years ago

It seems that Client#find_listener should use message.headers[:id] instead of message.headers['id'].

gmallard commented 13 years ago

Hello ebisawa - Thank you for the report and the pull request.

Please do this:

1) Add a test that fails without the fix. With the new test, both of the following should fail:

Provide this in commit 1.

2) Provide the fix (in commit 2)

Thanks, Guy