Capital Markets Adapters 10.15 | Apama Capital Markets Adapters Documentation 10.15 | Reuters MAPI Adapter | User notifications
 
User notifications
The adapter notifies the trading risk control messages by using the com.apama.fix.mapi.MAPIUserNotification interface. You should listen to this event to get the update details of trading control.
For example,
on all com.apama.fix.mapi.MAPIUserNotification() as notification
{
log "User notification "+ notification.toString() at INFO;
}
Notification of non-trading mode, that is "MTM:0" is conveyed as below:
com.apama.fix.mapi.MAPIUserNotification("MAPI_TRADING",
"FIXT.1.1:FXM->TRFX_MATCHING","6","MTM:0",
{"35":"CB","52":"20120507-11:18:30.694","Header:57":"234"})
For full list of notifications messages, see Thomson Reuters Matching documentation.