pls give me a simple example about publish a message #1972
Answered
by
deus-developer
fuchanghai
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
deus-developer
Dec 6, 2024
Replies: 2 comments
-
check this: https://faststream.airt.ai/latest/rabbit/publishing/#rabbit-publishing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lancetnik
-
@fuchanghai the documentation link is correct - check it Short summary: you should connect broker before publishing async with RabbitBroker() as broker:
await broker.publish(...) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check this: https://faststream.airt.ai/latest/rabbit/publishing/#rabbit-publishing