Replies: 1 comment
-
This is expected behaviour. The function As you can read in the error message, the channel is closed with an exception. In order to receive this error, you have to register a channel listener with |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Can't catch error at publishing message with max_message_size defined in RabbitMq. At publishing messages larger than configured RabbitMq max_message_size PublishWithContext() doesn't return any error. Albeit the message gets discarded in RabbitMq.
To Reproduce
Steps to reproduce the behavior:
2024-10-26 21:30:08.557637+02:00 [error] <0.4535.0> operation basic.publish caused a channel exception precondition_failed: message size 169150808 is larger than configured max size 134217728
Actual code:
Beta Was this translation helpful? Give feedback.
All reactions