Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by Reinhold.Blank · Oct 20, 2016 at 08:09 AM · PauseResume

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

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

5 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by veerapath.rungruengrayubkul · Nov 07, 2016 at 03:13 AM

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"/>
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by umer.nalla · Oct 20, 2016 at 09:23 AM

Hi @Reinhold.Blank

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by Reinhold.Blank · Nov 07, 2016 at 02:28 AM

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

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by Reinhold.Blank · Nov 07, 2016 at 02:36 AM

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.
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by Reinhold.Blank · Jan 26, 2017 at 05:50 AM

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

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

Market Price pause for individual items

EMA Java - How do I resume a stream that was opened in a paused state?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges