Capital Markets Adapters 10.11 | Apama Capital Markets Adapters Documentation 10.11 | Reuters MAPI Adapter | Working with RFA MAPI
 
Working with RFA MAPI
*Event injection order
1. Configure the MAPI session
Example:

com.apama.rfa.mapi.SessionConfiguration("ReutersRFATransport",
{"applicationType":"MAPI","channel":"RFA_MAPPI","RFASessionName":
"testNM::testSession2","logLevel":"DEBUG","FIX_TRANSPORT":"MAPI_TRADING"})
2. Send Login request
Example: com.apama.rfa.mapi.Login("ReutersRFATransport","User1",{})
3. Subscribe for Tick/Depth
Example:
com.apama.marketdata.SubscribeTick("MAPI", "ReutersRFATransport","AUDJPY=",{})
com.apama.marketdata.SubscribeDepth("MAPI", "ReutersRFATransport","EURJPY=",{})
ServiceID in above subscriptions should always be MAPI.