[rabbitmq-discuss] py-amqplib status messages
    Ben Hood 
    0x6e6562 at gmail.com
       
    Fri Nov 21 18:19:38 GMT 2008
    
    
  
Tsuraan,
On Fri, Nov 21, 2008 at 4:56 PM, tsuraan <tsuraan at gmail.com> wrote:
> I am using mandatory; immediate isn't desired in my case.  My original
> question was actually along the lines of how does py-amqplib indicate
> to the caller the broker's inability to deliver a message.  Perhaps it
> does just raise an exception or something similar; I've apparently
> never actually triggered that case.
If you set the mandatory flag and the message cannot be routed, the
server will send the client a basic.return command. I'm not sure
whether a callback handler is exposed in the python library. Barry may
be able to help out with this.
Ben
    
    
More information about the rabbitmq-discuss
mailing list