You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the Bunny::Queue#pop method returns a triplet of delivery_info, message_properties, payload which looks the same as the values that get yielded from Bunny::Queue#subscribe, but the message_properties value is actually different for these two cases. Subscribe gives back a Bunny::MessageProperties object and pop gives back a Hash.
It would be nice if these two interfaces for getting messages were consistent. If someone wants to be point me in the right direction I'd be happy to take a look and make a pull request.
The text was updated successfully, but these errors were encountered:
Right now the
Bunny::Queue#pop
method returns a triplet ofdelivery_info, message_properties, payload
which looks the same as the values that get yielded fromBunny::Queue#subscribe
, but themessage_properties
value is actually different for these two cases. Subscribe gives back aBunny::MessageProperties
object and pop gives back aHash
.Example:
It would be nice if these two interfaces for getting messages were consistent. If someone wants to be point me in the right direction I'd be happy to take a look and make a pull request.
The text was updated successfully, but these errors were encountered: