Tag Archives: 0.7.1

Bunny: v0.7.1 Release

Bunny v0.7.1 is now available from GitHub. It contains a number of minor changes. Perhaps the most notable change is a deprecation message that is output to the console when the Queue#publish method is used.

The Queue#publish method is a convenience method that enables messages to be routed to a queue via the default direct exchange which has an empty string (“”) as its name. Apparently, this method has lead developers to mistakenly believe that messages are directly delivered to queues. This is most certainly not the case (Please see this documentation for an explanation).

Therefore, in order to avoid this confusion it has been decided to deprecate the Queue#publish method. If you find the method useful and would not like to see it deprecated, please raise the issue on GitHub or in the ruby-amqp Google Group.

Advertisements