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

Endless listener loop possible when abort is called #97

Closed alhafoudh closed 9 years ago

alhafoudh commented 10 years ago

Hi, when I call abort(), the message listener is called. Why is that?

https://github.com/stompgem/stomp/blob/dev/lib/stomp/client.rb#L148

gmallard commented 10 years ago

The replay functionality for ACK'd messages while in transaction was added on 17 March, 2006.

A bit before my time here.

The commit is: aa5d1a3

I won't second guess the author's intent at this juncture.

Describe your problem in detail please.

gmallard commented 9 years ago

Closing this pending further user documentation.