RFA contribution over RCC
Hello,
We have RFA version RFAJ7.5.1.L1.all.rrg and we built an API and is working with MLIP.
We installed RCC but now is not working. We recompiled with RFA 8.2.4L1 but still not working.
Can you help with an investigation for find out the reason ?
What logs do you need for identify the cause ?
Best Regards,
Cristian
Best Answer
-
RFA Java can't directly post items to RCC.
RFA Java can post items to RCC through RTDS, as shown in the red block.
The snippet code should look like this:
public int doPost(PostInfo postInfo) {
OMMMsg postMsg = _pool.acquireMsg();
OMMMsg updateOMMMsg = _pool.acquireMsg();
OMMEncoder postOMMEncoder = _pool.acquireEncoder();
OMMEncoder payloadOMMEncoder = _pool.acquireEncoder();
//Set a post Message that contains an update message
postMsg.clear();
postMsg.setMsgModelType(RDMMsgTypes.MARKET_PRICE);
postMsg.setMsgType(OMMMsg.MsgType.POST);
postMsg.setId(++_iPostId);
int indicationFlags = 0;
indicationFlags = OMMMsg.Indication.POST_COMPLETE | OMMMsg.Indication.POST_INIT | OMMMsg.Indication.NEED_ACK;
postMsg.setIndicationFlags(indicationFlags);
//Set Service name and item name in the post message
postMsg.setAttribInfo("DDS_TRCE", "TRCCTEST02",
RDMInstrument.NameType.RIC);
//Encode the post message
postOMMEncoder.initialize(OMMTypes.MSG, 1000);
postOMMEncoder.encodeMsgInit(postMsg, OMMTypes.NO_DATA, OMMTypes.MSG);
//Set the update message that contains a field list
updateOMMMsg.clear();
updateOMMMsg.setMsgType(OMMMsg.MsgType.UPDATE_RESP);
updateOMMMsg.setIndicationFlags(OMMMsg.Indication.DO_NOT_CONFLATE);
updateOMMMsg.setRespTypeNum((short)1);
updateOMMMsg.setMsgModelType(RDMMsgTypes.MARKET_PRICE);
//Encode the update message with another encoder iterator
payloadOMMEncoder.initialize(OMMTypes.MSG, 500);
payloadOMMEncoder.encodeMsgInit(updateOMMMsg, OMMTypes.NO_DATA, OMMTypes.FIELD_LIST);
payloadOMMEncoder.encodeFieldListInit(OMMFieldList.HAS_STANDARD_DATA, (short)0,
(short)1, (short)0);
//Encode a BID field
payloadOMMEncoder.encodeFieldEntryInit((short)22, OMMTypes.REAL);
payloadOMMEncoder.encodeReal(5000, OMMNumeric.EXPONENT_NEG4);
payloadOMMEncoder.encodeAggregateComplete();
//Encode the update message to the post message
postOMMEncoder.encodeMsg((OMMMsg)payloadOMMEncoder.getEncodedObject());
OMMMsg sendMessage = (OMMMsg)postOMMEncoder.getEncodedObject();
//Send message wit the login stream
_ommPostHandleItemCmd.setMsg(sendMessage);
Handle postHandle = null;
postHandle = _mainApp.getLoginHandle();
int submitId = 0;
_ommPostHandleItemCmd.setHandle(postHandle);
submitId = _mainApp.getOMMConsumer().submit(_ommPostHandleItemCmd, postHandle);
return submitId;
}If you are still unable to post items to RCC, please enable tracing in the RFA Java via the ipcTraceFlags configuration to verify what the problem is.
With the ipcTraceFlags configuration, RFA will create a log file in the working directory which contains tracing.
0
Answers
-
Hello @cristian.besliu,
RCC is a different (newer) means of contributions compared to MLIP. Essentially, there are two means of contribution to RCC -
1. Direct contribution to RCC from API. This is only supported by the newer EMA and Websockets API
2. Using a RTMDS plugin, which can forward local contributed data to RCC.
Which method are you using. The second option will require additional setup in your market data system. Please see this article to learn more about available options.
0 -
Hello @Gurpreet ,
We have TREP installed locally.
We using direct contribution to RCC from API.
Best Regards,
Cristian
0 -
Pls see our Post message.postRic method.txt
0 -
Thanks for advice.
We managed do do the contribution over RCC.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛