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
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛