diff --git a/docs/tutorials/send_and_receive.rst b/docs/tutorials/send_and_receive.rst index f8d2fe73559aa8a6e86ec0ba612a901a41b1985c..f8e97241715c09b6b35778672258298ebcec8962 100644 --- a/docs/tutorials/send_and_receive.rst +++ b/docs/tutorials/send_and_receive.rst @@ -45,7 +45,7 @@ Now it's time to send a message: .. code-block:: python from coolamqp.objects import Message - c.publish(Message(b'my bag of bytes'), confirm=True).result() + c.publish(Message(b'my bag of bytes'), routing_key='my-named-queue', confirm=True).result() Without the confirm flag, publish would not return the future.