NON-STREAMING (snapshot) mode not detected by the ADS

Hi,
with rfaj7.2.1.L1, I am developing a Batch Market Feed Consumer. I set the Indication Flag NONSTREAMING (snapshot mode), but on the ADS, the connection is displayed as normal open.
Please find in the attachment the request and the screenshot of the ADS. As you can see, the normalOpens = 857 and the snapshotOpens = 0.
Can you explain me if I miss something in the configuration, or if the error is due to a misinterpretation of the ADS?
Thanks in advance
Best regards
Best Answer
-
Suggestion, JRFA 7.2 comes with BatchVewCons example.
If you change only the indication in request:
int indicationFlags = OMMMsg.Indication.NONSTREAMING; //OMMMsg.Indication.REFRESH;
And pass on the command line -sendReissue false (in order not to see reissues)
You should be able to test with batch+snapshot, and know if your infra supports it?
0
Answers
-
You must also set the REFRESH indication flag on your request message:
Indication Flags: NONSTREAMING | REFRESH | BATCH_REQ
Also beware that the Batch feature is a licensable feature of the ADS. You may not have that feature on your site.
If the Batch feature is not available on the ADS to which you connect then the RFA library will simulate it. This blurs the picture somewhat. If you turn on message tracing at the ipcTrace level then you will always see a trace of the messages exactly as they are on wire. If RFA simulates the Batch request feature on your behalf then it will do so by converting the batch request into individual requests. In other words: if your attached message trace is from turning on ipcTraceFlags then it must mean that your ADS does indeed support Batch feature.
0 -
Thanks for your answer.
This kind of request:
MESSAGE
Msg Type: MsgType.REQUEST
Msg Model Type: MARKET_PRICE
Indication Flags: NONSTREAMING | REFRESH | BATCH_REQ
Hint Flags: HAS_ATTRIB_INFO | HAS_PRIORITY
Priority: 1,1
AttribInfo
ServiceName: IDN_SELECTFEED
NameType: 1 (RIC)
Payload: Noneresults in the application hanging, as the callback:
@Override
public void processEvent(Event event)is not been called.
Then at the closeup of the connection, the following error is produced:
Close Request ItemManager: Batch Close has no valid handles in the request.
Either I have to put REFRESH either the NONSTREAMING indication flag.
Best regards
0 -
Can you use RFA Java tracing by setting ipcTraceFlags to 15 on the RSSL connection in the configuration. With this configuration, RFA_RSSL*.log will be created in the application's current directory. Then, please attach the trace file when the problem occurred.
0 -
Regarding the request message you provided, I have noticed that the request doesn't have payload (Payload: None). This could be the cause, since batch request requires payload which contains array of item names to be requested. Please verify your application's logic which encodes the item list in batch request message. For code's example, please see the StarterConsumer_BatchView example in RFA Java package.
0 -
To add on top of Zoya's answer, not only RFA Java 7.2 that carries the BatchViewCons example, but onward versions also contain BatchViewCons example as well. It will be the useful tool to test the Batch feature
Hope this helps!
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 705 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 3K Elektron
- 1.5K EMA
- 259 ETA
- 569 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 4 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 284 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.2K Refinitiv Data Platform
- 879 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 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
- 27 DACS Station
- 123 Open DACS
- 1.1K RFA
- 108 UPA
- 196 TREP Infrastructure
- 232 TRKD
- 919 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 103 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛