Blog Archives

How to add delay in rabbitmq

inside producer class have to add delay, for example: class MyProducer(Producer): # is also my routing key: grok.name(“myrabbit.taskqueue”) connection_id = “myrabbit” exchange = “myrabbit” serializer = “application/x-python-serialize” #adding delay code starts here queue = “myrabbit.taskqueue.wait” #add .wait with the task

Tagged with: , , , , , , , , ,
Posted in Uncategorized

rabbitmq server fails to start

If you get error like this: txx@txx:~/$ htop txx@txx:~/$ sudo service rabbitmq-server restart * Restarting message broker rabbitmq-server [fail] txx@txx:~/$ sudo invoke-rc.d rabbitmq-server start * Starting message broker rabbitmq-server * FAILED – check /var/log/rabbitmq/startup_\{log, _err\} Did you changed your hostname

Tagged with: , , , , ,
Posted in Uncategorized
Disclaimer
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
June 2017
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
2627282930  

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 25 other followers