Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM Create new message queue

This topic contains 3 replies, has 2 voices, and was last updated by  irina.k.melnikova 3 weeks, 1 day ago.

  • Creator
  • #30983



    I have faced the situation where it is needed to create a separate cron task to be run independently from others strictly each minute so it would not depend on the system potential high load.

    I have already tried increasing message consumers number but it did not As I can see there is just one queue ‘oro.default’ by default. Is it pretty clear how to set up a consumer to process a specific queue, but I have not found any examples/docs about multi-queueing and its using.

    Could you please contribute with a new message queue creation/configuration?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #30984


    Correction: I have already tried increasing message consumers number but it did not solve the problem.

    Andrey Yatsenko
    Andrey Yatsenko

    The ‘oro:message-queue:consume’ command apply an argument:
    ‘clientDestinationName’ – Queues to consume messages from,
    I never tested this feature on Community Edition but this should work. The idea is that you can run the consumer that will work only on messages sent to a specific destination.

    While registering processor in DI you can add destinationName to it as a param.

    Then you can run separately consumers for default destination and for my_custom_destination

    As a result consumer for custom_destination will work independently from default one.



    Thank you so much! It is exactly what I was looking for.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for