kombu/docs/reference/kombu.simple.rst

94 lines
2.0 KiB
ReStructuredText
Raw Normal View History

2016-07-16 18:51:23 +00:00
===============================================
Simple Messaging API - ``kombu.simple``
===============================================
.. currentmodule:: kombu.simple
.. automodule:: kombu.simple
2010-10-27 07:17:37 +00:00
.. contents::
:local:
Persistent
----------
.. autoclass:: SimpleQueue
.. attribute:: channel
Current channel
.. attribute:: producer
:class:`~kombu.Producer` used to publish messages.
2010-10-27 07:17:37 +00:00
.. attribute:: consumer
:class:`~kombu.Consumer` used to receive messages.
2010-10-27 07:17:37 +00:00
.. attribute:: no_ack
flag to enable/disable acknowledgments.
2010-10-27 07:17:37 +00:00
.. attribute:: queue
2012-11-21 16:24:49 +00:00
:class:`~kombu.Queue` to consume from (if consuming).
2010-10-27 07:17:37 +00:00
.. attribute:: queue_opts
Additional options for the queue declaration.
.. attribute:: exchange_opts
Additional options for the exchange declaration.
.. automethod:: get
.. automethod:: get_nowait
.. automethod:: put
.. automethod:: clear
.. automethod:: __len__
.. automethod:: qsize
.. automethod:: close
Buffer
------
.. autoclass:: SimpleBuffer
.. attribute:: channel
Current channel
.. attribute:: producer
:class:`~kombu.Producer` used to publish messages.
2010-10-27 07:17:37 +00:00
.. attribute:: consumer
:class:`~kombu.Consumer` used to receive messages.
2010-10-27 07:17:37 +00:00
.. attribute:: no_ack
flag to enable/disable acknowledgments.
2010-10-27 07:17:37 +00:00
.. attribute:: queue
2012-11-21 16:24:49 +00:00
:class:`~kombu.Queue` to consume from (if consuming).
2010-10-27 07:17:37 +00:00
.. attribute:: queue_opts
Additional options for the queue declaration.
.. attribute:: exchange_opts
Additional options for the exchange declaration.
.. automethod:: get
.. automethod:: get_nowait
.. automethod:: put
.. automethod:: clear
.. automethod:: __len__
.. automethod:: qsize
.. automethod:: close