pika
1.1.0
  • Introduction to Pika
  • Core Class and Module Documentation
  • Usage Examples
    • Using URLParameters
    • Connecting to RabbitMQ with Callback-Passing Style
    • Using the Blocking Connection to get a message from RabbitMQ
    • Using the Blocking Connection to consume messages from RabbitMQ
    • Using the Blocking Connection with connection recovery with multiple hosts
    • Using the BlockingChannel.consume generator to consume messages
    • Comparing Message Publishing with BlockingConnection and SelectConnection
    • Using Delivery Confirmations with the BlockingConnection
    • Ensuring message delivery with the mandatory flag
    • Asynchronous consumer example
    • Asynchronous publisher example
    • Twisted Consumer Example
    • Tornado Consumer
    • TLS parameters example
    • TLS parameters example
  • Frequently Asked Questions
  • Contributors
  • Version History
pika
  • Docs »
  • Usage Examples
  • Edit on GitHub

Usage ExamplesΒΆ

Pika has various methods of use, between the synchronous BlockingConnection adapter and the various asynchronous connection adapter. The following examples illustrate the various ways that you can use Pika in your projects.

  • Using URLParameters
  • Connecting to RabbitMQ with Callback-Passing Style
  • Using the Blocking Connection to get a message from RabbitMQ
  • Using the Blocking Connection to consume messages from RabbitMQ
  • Using the Blocking Connection with connection recovery with multiple hosts
  • Using the BlockingChannel.consume generator to consume messages
  • Comparing Message Publishing with BlockingConnection and SelectConnection
  • Using Delivery Confirmations with the BlockingConnection
  • Ensuring message delivery with the mandatory flag
  • Asynchronous consumer example
  • Asynchronous publisher example
  • Twisted Consumer Example
  • Tornado Consumer
  • TLS parameters example
  • TLS parameters example
Next Previous

© Copyright 2009-2017, Tony Garnock-Jones, Gavin M. Roy, Pivotal Software, Inc and contributors. Revision 7ba06dbc.

Built with Sphinx using a theme provided by Read the Docs.