Can I use java send task to celery through rabbitmq?

前端 未结 2 792
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-20 21:22

I just touch celery and java for 2 days. :(

Right now, I have a task that java client send task through rabbitmq. Celery will be the worker to handle task.

I

2条回答
  •  -上瘾入骨i
    2021-01-20 21:54

    Simplest form would be to write a simple python script which simply adds a task to celery, and call this python script from java (Runtime.exec() or similar method).

提交回复
热议问题