pika
latest
  • 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
    • Ensuring well-behaved connection with heartbeat and blocked-connection timeouts
  • Frequently Asked Questions
  • Contributors
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
  • Ensuring well-behaved connection with heartbeat and blocked-connection timeouts
Next Previous

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

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
1.2.1
1.2.0
1.1.0
0.13.1
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.