gphat/test-net-rabbitmq — pull request #1 by Gimpson (2012-02-23 22:26:58+00:00)
Title: Change recv and get to return hashes.

Rather than just return the body of the queued message, return all the
metainformation that Net::RabbitMQ would have returned. I made a
minimial effort to keep delivery_tags unique, but not by channel,
they're just a global counter.

routing_key, exchange and $props are passed unchanged.

redelivered, message_count, and consumer_tag I've left with default
values, mostly because I'm not sure what they should return.