How to Pause & Resume items
Hi,
i'm trying to implement pause and resume on single requested items.
Wich of the attributes other than the ".pause(true)" is required for the RequestMsg.
How to Resume ".pause(false)" or use ".interestAfterRefresh(true).
Sample 350 of ema shows only to pause all interest by pausing the login.
How can I query the information about, if connected infrastruture supports this feature, because OmmConsumer dos not make the content (supported fetures) of the login response transparent.
Kind regards
Reinhold Blank
Best Answer
-
In the sample, the code for first pause on login-handle actually was commented out. To pause an item, application needs to call reissue with an item's handle. The item's handle typically is returned from registerClient. Application can use it to pause the item instead of retrieving it from update-event.
Anyway, can the application work with pause all? Could you provide the Ema trace file for the item pause? To enable the Ema trace file, please add the XmlTraceToFile parameter in the EmaConfig.xml.
<ChannelGroup>
<ChannelList>
<Channel>
<XmlTraceToFile value="1"/>0
Answers
-
Please see the following post on details of how to pause individual items
Market Price pause for individual items
With regards accessing Login Response content please refer to the 'example 330 Login Streaming' that comes with the EMA package which opens a login stream and then outputs the response message.
0 -
Hi,
thanks for the answer. I still know this article. But the sample also shows pause and resume for any interest by login-handle. I checked the responce of the directory request, and I found out, that the source does not support extended pause/resume. May this the reason, that it not work on individual (single or batch) items.
regards
Reinhold
0 -
Ok,
this sample is a little bit confusing, becasuse thes try first pause on login-handle, and then pause on individulal item by item-handle from update-event.
"_pOmmConsumer->reissue( ReqMsg().domainType( MMT_MARKET_PRICE ).initialImage( false ).pause( true ).name( "JPY=" ), ommEvent.getHandle() );"
I tried this in this way, but it still not works.0 -
Thank for support, but I don't want to spend more time to solve this, because our technicans told me, that (extended) pause and resume is not suported on our TREP-Environment
0
Categories
- All Categories
- 6 AHS
- 39 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 中文论坛