Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Callback for Basic.Ack #9

Closed
botanicus opened this issue Jan 17, 2011 · 1 comment
Closed

Callback for Basic.Ack #9

botanicus opened this issue Jan 17, 2011 · 1 comment

Comments

@botanicus
Copy link
Contributor

See http://stackoverflow.com/questions/4692207/ruby-eventmachine-amqp-ensuring-specific-async-calls-happen-before-raising-exc

@botanicus
Copy link
Contributor Author

It seemed to be rather easy, unfortunately it's not as there isn't any object which can change it's status, there's only a @mq object and the library use @mq.send which basically calls EventMachine#send_data http://eventmachine.rubyforge.org/EventMachine/Connection.html#M000287 which doesn't take a callback. So, if I understand all the included EventMachine magic, we need an object which can change its @deferred_status.

I'd be glad if someone can take a look and confirm (if) I'm right, I never really used EventMachine so I might be wrong.

Thereby I'm postponing this functionality to the 0.8 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants