How to send same request to multiple Target endpoints simultaneoulsy

Usecase : Our current backend system holds a on-prem and cloud installations. From apigee I should POST to both the systems without any condition till the on-prem backend retires.

0 2 513
2 REPLIES 2

I know it is possible to configure a condition based route rule or sequential(POST cloud first and get response and POST on-prem). Apart from this, Is there any alternative to POST to two different endpoints the same request?

You could put a mediator in front of your 2 target endpoints, Apigee will talk to this mediator and it will in turn POST to the other 2 servers subsequently.

Having said that, I am not clear how you would handle the response back from your Target endpoints. Have you considered taking which response as the final one to send back to your client ?