Rabbit Exchange type getting changed at runtime from x-modulus-hash to x-consistent-hash

Viewed 11

Very rare issue which we observed in Production.

Exchange type got changed at runtime from x-modulus-hash to x-consistent-hash which is causing client to shutdown. What could be the reason? How to prevent this error?

Exchange with type

2022-09-19 15:54:48.158 ERROR [AMQP Connection x.x.x.x:5671] [org.springframework.amqp.rabbit.connection.CachingConnectionFactory] - <Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'type' for exchange 'message-exchange.shovel' in vhost '/': received ''x-modulus-hash'' but current is ''x-consistent-hash'', class-id=40, method-id=10)>

0 Answers
Related