postwait/node-amqp — pull request #144 by ZeissS (2012-10-30 21:54:55+00:00)
Title: Fixes handling of empty messages

It looks like the `Queue._onContent` callback is not executed, if a message has an empty body (size 0).

This fix emits the 'end' event directly, if the provided size of a new message is zero.