pika
stable
  • 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
    • Asyncio consumer example
    • Twisted consumer example
    • Tornado consumer example
    • TLS parameters example
    • TLS parameters example
    • Ensuring well-behaved connection with heartbeat and blocked-connection timeouts
    • Direct reply-to example
  • 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
  • Asyncio consumer example
  • Twisted consumer example
  • Tornado consumer example
  • TLS parameters example
  • TLS parameters example
  • Ensuring well-behaved connection with heartbeat and blocked-connection timeouts
  • Direct reply-to example
Next Previous

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

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
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.