Closed baelter closed 8 years ago
Thanks for this implementation! I will look at it more closely later tonight
You can hold this PR until further notice, I've found some shortcomings I want to fix.
Ok @arempe93, happy with this now.
Added support for multiple routes with them same key. Basically Exchange::routes
hash items are arrays of routes instead.
Looks pretty good to me - only question is why call yield_consumers
in the subscribe method? I can't think of a case where it would do anything - but maybe there is
Reason for that is that if there are messages in the queue they will be delivered when a consumer subscribes.
Ok - that makes sense. For some reason I didn't think of the case that there could be messages entered into the queue before a subscription happens.
Sweet, when are u planning next release?
Probably when I have time after work today. I don't think there's anything else in progress right now
In-memory implementation of http://reference.rubybunny.info/Bunny/Queue.html#subscribe-instance_method