We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84ad73 commit 6bb4edaCopy full SHA for 6bb4eda
README.md
@@ -1,3 +1,5 @@
1
+from rabbitmq_amqp_python_client import Converter
2
+
3
# RabbitMQ AMQP 1.0 Python Client
4
5
This library is in early stages of development. It is meant to be used with RabbitMQ 4.0.
@@ -83,7 +85,7 @@ For example:
83
85
84
86
# publish messages
87
for i in range(messages_to_publish):
- publisher.publish(Message(body="test"))
88
+ publisher.publish(Message(body=Converter.string_to_bytes("test")))
89
90
publisher.close()
91
```
0 commit comments