My deployment is like as shown below:
client -> relay server -> server
The relay server is a rabbitmq service which contains an exchange and many queues which are bound to this exchange. Any message pushed to this exchange with a mapping routing key will push the message to appropriate queue.
Now, my requirement is, when server is down I should avoid/block "relay server" from accepting any further messages.
Please help. Dead message queue didn't work.
rabbitmq
, but since nobody is responding in such a long while, I'll offer something that seems reasonable and doable regardless the technology: Have between the client and the relay server a redirecting server to pass on requests to the relay server if it's up (or if you tell it its up). The redirecting server should have 99.9% uptime, and all the updates and stuff can then be done on the relay server. – SimpleVar