How can implement a Queue like structure

Calling an external endpoint in Service task which in turn calls an endpoint in the app where camunda process engine runs. This then sends a message correlation to process instances waiting for the message. But the process instance which executed service task hasn’t finished executing before the message correlation is sent. I can use message queues instead calling an endpoint. But i am wondering if its possible to model this in camunda.

Hi @amitger
There might be some interesting options for you as part of the best practices docs: https://camunda.com/best-practices/routing-events-to-processes/

Thanks Niall. We decided to go with calling an rest endpoint and then sending message correlations to the process instance.