RabbitMQ Consumer Reconnecting -


here's scenario:

consumer (c) listening messages on queue (q) , publisher (p) publishes messages q. while c waiting messages put on q, q gets deleted, p publishes message, q recreated new message. issue c doesn't message, though q listening on has been recreated.

is there way consumer "reconnect" "new" queue after it's been deleted , recreated? noticed when q gets deleted, c still listens if nothing's happened.

yes, consumer, "c" can catch connection-related failures. can configure "c" attempt reconnect @ regular intervals, every x seconds after such event has been caught. once reconnected, "c" resume consuming messages "q".


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -