[rabbitmq-discuss] How to determine if my message was publish successfully
cw storm
cwstorm at gmail.com
Tue Oct 29 18:49:11 GMT 2013
I've research about how to confirm if my message was publish successfully
to rabbit queue. I'm using basicPublish to produce the message with
mandatory flag set to true. I did a negative test where I provide the
correct exchange name but an invalid routing key. However, I don't know
how to capture the basic.return in my code to see if it was successful or
not. I was hoping it would goto the catch block but obviously it didn't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131029/1afaab04/attachment.htm>
More information about the rabbitmq-discuss
mailing list