I'm looking for how to execute routing-sleep
in a blocking way.
I need to run routing-sleep from http
request, not from mass-transit request/response
and to return success in case all activities were finished and failure in case of activity failure.
I'm aware about subscriptions of the routing-sleep builder.
The problem that called to IPublishEndpoint.Execute
resolved immediately after the first activity endpoint is reached.
I followed this answer.
For my case, it says the I need to post masstransit
request to myself from ASP.Net controller.
Is there any better way to ensure where all activities can be completed ?