Create different orchestration with different receive location

230 views Asked by At

I need to have two orchestrations that take the same input schema message from an HTTP Receive Port.

The orchestrations do different things.

I do not understand how can I call either an orchestration or the other one.

I have just a solution in my mind but I don't think it right.

I create two different receive location. One orchestration -> One receive location..

It looks like the correct solution. But create a receive location mean create a virtual folder in my http site on IIS that contains the BTSHTTPReceive.dll.

So my doubt is: If I have 20 orchestration with same input, should I create 20 virtual folder that contain the DLL?

It looks an horrible solution.

What is the correct way to solve my problem?

1

There are 1 answers

2
zurebe-pieter On BEST ANSWER

Is this a one-way or a two-way receive port/location?

In case of a one-way receive location, just promote properties and use basic content based routing (CBR) using publish/subcribe on your properties.

In case of a two-way receive location: which response will you be giving to your application?

Think of your orchestration as your web service. You need to take in the request and generate one response. How you deal with that request by forwarding it to N number of other orchestrations/applications is up to you, but publish/subscribe is built for this behavior.