Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing Message - NOT_IMPLEMENTED - immediate=true #617

Open
Friendliness opened this issue Feb 7, 2024 · 1 comment
Open

Publishing Message - NOT_IMPLEMENTED - immediate=true #617

Friendliness opened this issue Feb 7, 2024 · 1 comment

Comments

@Friendliness
Copy link

Friendliness commented Feb 7, 2024

Hey there,

When trying to use the immediate flag when publishing a message I seem to be getting an error: NOT_IMPLEMENTED - immediate=true
Is the immediate flag indeed not implemented or am I perhaps doing something wrong?

aio-pika version: 9.4.0

This is a snippet of how I'm attempting to send the message:

message = Message(body=json_as_bytes, delivery_mode=DeliveryMode.
await self.channel.default_exchange.publish(message, routing_key=queue_name, timeout=20, immediate=True)
@mosquito
Copy link
Owner

mosquito commented Mar 1, 2024

It seems that the broker is not processing this flag as well. I recommend that you see the answer in your broker's documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants