I am not sure if this will help but it is possible to check for connection after publishing message by declaring predefined exchange with passive option set.
If publishing failed then declaring exchange afterwards will fail with connection closed exception.
AMQP standard (at least 0.9.1) allows this and overhead is minimum.
I am not sure if this will help but it is possible to check for connection after publishing message by declaring predefined exchange with passive option set.
If publishing failed then declaring exchange afterwards will fail with connection closed exception.
AMQP standard (at least 0.9.1) allows this and overhead is minimum.