Capital Markets Adapters 10.11 | Apama Capital Markets Adapters Documentation 10.11 | Reuters MAPI Adapter | Status reporting
 
Status reporting
MAPI comprises two adapters 1) Reuters-MAPI 2)FIX-MAPI. There are separate status subscriptions for each of them.
Reuters-MAPI:
You can subscribe/unsubscribe for status using com.apama.statusreport.SubscribeStatus(“MAPI”,” Adapter”,””,”RFATransport”)
On successful subscriptions, it will send a com.apama.statusreport.Status with SERVICEID ‘MAPI and the ‘available’ field here will be true
*When RFA successfully logs into P2PS server and receive a symbol list from server.
the ‘available’ field here will be false
*if not logged in
*if you didn’t receive symbols list
*if you are logged in but didn’t receive symbol list. In such case, once you receive symbol list, a status will be routed with ‘available’ field set to true
Also, status coming from RFA will be captured , RFA SERVICENAME will be changed to MAPI SERVICENAME and will be published. Also, maintain reference count of status subscriptions. You can track the same using, “Received status subscription, reference count =2”
You can unsubscribe status using com.apama.statusreport. UnsubscribeStatus (“MAPI”,” Adapter”,””,”RFATransport”)
FIX-MAPI:
You can subscribe/unsubscribe for status using com.apama.statusreport.SubscribeStatus(“MAPI-FIX”,” Adapter”,””,”FIXTransport”) Status coming from FIX will be captured , FIX SERVICENAME will be changed to MAPI-FIX SERVICENAME and will be published.
You can unsubscribe status using com.apama.statusreport. UnsubscribeStatus (“MAPI-FIX”,” Adapter”,””,”FIXTransport”) In both cases,
You also accept wildcard subscriptions like, com.apama.statusreport.SubscribeStatus(“”,””,””,””)