Navigation

  • index
  • modules |
  • next |
  • previous |
  • pika 1.2.0 documentation »
  • Usage Examples

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

Previous topic

pika.spec

Next topic

Using URLParameters

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • pika 1.2.0 documentation »
  • Usage Examples
© Copyright 2009-2021, Tony Garnock-Jones, Gavin M. Roy, Pivotal Software, Inc and contributors.. Created using Sphinx 4.3.1.