[rabbitmq-discuss] why isn't my queue durable? (python client)
    Tony Garnock-Jones 
    tonyg at lshift.net
       
    Fri May  1 13:06:33 BST 2009
    
    
  
Brian Whitman wrote:
>         m = amqp.Message(whatever, content_type='text/x-json')
>         m.properties["delivery_mode"] = 2
You may also be able to use:
  m = amqp.Message(whatever,
                   content_type='text/x-json',
                   delivery_mode = 2)
Regards,
  Tony
-- 
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: tonyg at lshift.net
    
    
More information about the rabbitmq-discuss
mailing list