Simulate server-side channel failure #1313
-
Sometimes we experience unexpected channel closures, initiated by server. So I'd like to (ideally programmatically) force a server-side channel close, so that I could test our custom recovery logic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In the future, there's no need to cross-post a question. See my response here - rabbitmq/rabbitmq-server#7644 (comment) |
Beta Was this translation helpful? Give feedback.
-
A client can trigger a channel exception by first declaring, say, an exchange as transient and then as durable (under the same name). As far as RabbitMQ is concerned, that will terminate the channel due to a protocol exception. The |
Beta Was this translation helpful? Give feedback.
A client can trigger a channel exception by first declaring, say, an exchange as transient and then as durable (under the same name).
As far as RabbitMQ is concerned, that will terminate the channel due to a protocol exception. The
client will get a notification, not sure if this is the scenario @lali1-betsson is looking for.