Stream the request body upstream. This is done in the ‘buildNonPrimarySendRequestPromise’ function. It uses the ‘sendHttpRequest’ function which is also used for the primary route. The same functionality can be used to send the request. It will have to be modified as some of the features are for the primary route only.
transaction status stays processing until all secondary routes complete
save secondary routes as they complete
wrap setFinalStatus in logic to check that all routes incl primary are completed before calculation final transaction status
setFinalStatus after primary route and again after all secondary routes completed
destroy all in-flight secondary routes if the primary fails