Closed soupmatt closed 11 years ago
Thanks for the report, good catch, will get that fixed.
If you are using ActiveMQ, you should consider filing an issue with them. I think they should ship an ERROR frame back for that, and they currently do not. Both Apollo and RabbitMQ give me "reasonable" ERROR frames in return.
I was using rabbitmq and getting the ERROR frame.
On Apr 11, 2013, at 7:30 AM, "Guy M. Allard" notifications@github.com wrote:
Thanks for the report, good catch, will get that fixed.
If you are using ActiveMQ, you should consider filing an issue with them. I think they should ship an ERROR frame back for that, and they currently do not. Both Apollo and RabbitMQ give me "reasonable" ERROR frames in return.
— Reply to this email directly or view it on GitHub.
Closed, will be in next version. See: cb0f756
When I call
connection.unsubscribe("/queue/my_queue", {}, "my_sub")
,"my_sub"
is not passed to server in theid
header. I believe the error is that it should be set right after the check for the presence of the subId, which is here: https://github.com/stompgem/stomp/blob/master/lib/stomp/connection.rb#L272.The value is set correctly when calling
subscribe
, here: https://github.com/stompgem/stomp/blob/master/lib/stomp/connection.rb#L248