Deploying java client, RabbitMQ, and Celery to server -


i have java api on server, , want create tasks , add them celery via rabbitmq. followed following tutorial, http://www.rabbitmq.com/tutorials/tutorial-two-python.html, used java client (send.java) , python receive (receive.py). in receive.py, callback method invoked, call method i've annotated @celery.task task added celery.

i'm wondering how of deployed on server though, specifically, why there receive.py file. receive.py process must continually run on server? there way configure rabbitmq automatically routes java client tasks celery?

thanks!

rabbitmq message queue. producers put messages , consumers them on demand. can restrict access specific queues via rabbitmq's auth options.

as deployment: yes, receive.py needs continuously run. celery's job that. see workers guide info on running worker.


Comments