Order management
Adapter places order using com.apama.oms.NewOrder event with Service ID "FXALL_TCPI". The Application has to Respond with an com.apama.oms.OrderUpdate. The adapter sends a DealResponseFromFXall to the provider only for a fill.
Message flow:
Business Application Adapter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<------------------- oms.NewOrder
DealUpodate(reject)
oms.OrderUpdate -----------------> DealUpdate (fill/kill)
<----------------- DealResponseFromFXall(only for fill)
event DealResponseFromFXall{
string transportName;
string orderId;
boolean isTransactionCompleted;
dictionary<integer,float> __timeStamps;
}