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 cdefusco · Jul 02, 2019 at 04:05 AM · ema c++configurationdevelopmentconnection recoveryema consumer

[EMA CPP] Single Open and Allow Suspect Configuration for a Consumer

Which is the best Single Open and Allow Suspect Configuration for an EMA C++ developer that doesn't want be aware of reconnecting after a connection down? In other words, to have an automatic reconnecting mechanism what is it the good choice for this parameters by the point of view of a developer that use the OmmConsumerConfig class?

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by moragodkrit.chumsri_1 · Jul 02, 2019 at 04:38 AM

@cdefusco

In my opinion, the default value of a single open and allow suspect that EMA currently uses should support the requirement and you don't need to change it. When the connection down, EMA automatically re-connecting to the server. The stream state still open and it can receive data after the connection up and service state is up again.

There is an explanation of the behavior when you set both parameters in EMA RDM Usage Guide (EMACPP_RDMUsageGuide.pdf) provided in EMA package under folder Docs. You can find the details under section 3.4.5 Single Open and Allow Suspect Data Behavior. This section also provides a table shows how a provider can convert messages to honor the consumer’s SingleOpen and AllowSuspectData settings.

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 · Jul 02, 2019 at 04:46 AM

Hi @cdefusco

In addition to my colleague's comments above, I just wanted to check that you are also using ChannelSets - if you have access to more than one ADS server at your site.

If you have not already done so, you can read about ChannelSets in the following article EMA Config and the EMA Config guide.pdf that comes with the Elektron SDK.

ChannelSets allows the EMA API to try and connect to a different server if one is not available. This can happen at initial startup or even during runtime if one server goes down / becomes unavailable.

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 >
6 People are following this question.

Related Questions

I have an EMA C++ consumer appilcation which does offstream posting. I want to run multiple instances using the same machine account/password. Is this allowed?

Is there a total count limit of quote for TREP?

how do i add EMAconfig in ema c++ and use it?

ESDK v er1.5.x for ERT In Cloud - Cpp/C build compilation error - Linker Errors

[EMA Java] How to receive connection level events such as a disconnection?

  • 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
  • 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