[rabbitmq-discuss] Pika 0.9.7 Released

Gavin M. Roy gmr at meetme.com
Mon Nov 12 03:41:56 GMT 2012


I've tagged and uploaded Pika 0.9.7 to pypi.

This is mainly a bugfix release but includes a new feature, adding blocking
consume method for receiving messages from RabbitMQ:

for method_frame, properties, body in channel.consume('test'):
print method_frame, properties, body

A full example of using the generator can be found at
https://pika.readthedocs.org/en/latest/examples/blocking_consumer_generator.html-
Please read this or the docs prior to using the method.

The documentation has been updated and can found at
https://pika.readthedocs.org

*Behavioral Changes*

- The internal method BlockingChannel._send_method will only wait if
explicitly told to

*Bugfixes*

- Added the exchange "type" parameter back but issue a DeprecationWarning
- Dont require a queue name in Channel.queue_declare()
- Fixed KeyError when processing timeouts (Issue # 215 - Fix by Raphael De
Giusti)
- Don't try and close channels when the connection is closed (Issue #216 -
Fix by Charles Law)
- Dont raise UnexpectedFrame exceptions, log them instead
- Handle multiple synchronous RPC calls made without waiting for the call
result (Issues #192, #204, #211)
- Typo in docs (Issue #207 Fix by Luca Wehrstedt)
- Only sleep on connection failure when retry attempts are > 0 (Issue #200)
- Bypass _rpc method and just send frames for Basic.Ack, Basic.Nack,
Basic.Reject (Issue #205)
- Docstring cleanups for better documentation

If you happen across any bugs, please report them at
https://github.com/pika/pika/issues

Regards,

Gavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121111/d1312a52/attachment.htm>


More information about the rabbitmq-discuss mailing list