Backend for unit-tests, using the Python Queue module.
Backend using the Python Queue library. Usually only used while executing unit tests.
Please not that this backend does not support queues, exchanges or routing keys, so all messages will be sent to all consumers.
Message received from the backend.
Go into consume mode.
Get the next waiting message from the queue.
Returns: | A Message instance, or None if there is no messages waiting. |
---|
Prepare message for sending.
Publish a message to the queue.
Discard all messages in the queue.
Message received from the backend.