Skip to content

[Asynchronous example] Consuming Messages - Cronjob #7

@cmodijk

Description

@cmodijk

I missed the last section of your Asynchronous example while i was reviewing it. But the last part is not something i would suggest running in a cronjob. The rabbitmq:consume is a command that never stops running and keeps consuming messages. If there is no message there it just waits ontil there is a new message to consume. So if you configure this every minute than you will end up with a new worker every minute. We run this commands using supervisord.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions