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 Ripley79 · Mar 24, 2016 at 06:14 AM · elektronrefinitiv-realtimeelektron-sdktreprrtema-apielektron-message-apic++posting

How to Post with EMA C++

Does EMA C++ support Posting? Is there a sample app I can reference?

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 Steven McCoy · Mar 24, 2016 at 08:28 AM

There are two examples in the 300 series training programme,

340__MarketPrice__OnStreamPost

341__MarketPrice__OffStreamPost

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 miczuc · Oct 19, 2018 at 04:03 AM

I am asking me the same question.
I build a test consumer based on the training examples
Examples/Training/Consumer/300_Series/341__MarketPrice__OffStreamPost
Examples/Training/Consumer/300_Series/340__MarketPrice__OnStreamPost
and a test provider.
On consumer side the post requests are answered after some time with
an AckMsg saying "Acknowledgement timed out." This applies to "offstream post"
as well as to "onstream post".
(The wait period can be configured with element "PostAckTimeout" within the
consumer element in the EmaConfig.xml, e.g. <PostAckTimeout value="2000"/>.)
Obviously these messages are generated on consumer side, because no response from
the provider is received.
Therefore I stepped with a debugger through the provider program and found out,
that in fact the handling of post messages on provider side is not implemented.
The method "onPostMsg( const PostMsg& postMsg, const OmmProviderEvent& event )"
in OmmProviderClient is never called.
In module Access/Impl/MarketItemHandler.cpp you can find at line 384 this block:

case RSSL_MC_POST:
{
if (OmmLoggerClient::VerboseEnum >= ommServerBaseImpl->getActiveConfig().loggerConfig.minLoggerSeverity)
{
EmaString temp("Received post message.");
temp.append(CR).append("Stream Id ").append(pRsslMsg->msgBase.streamId)
.append(CR).append("Client handle ").append(clientSession->getClientHandle())
.append(CR).append("Instance Name ").append(ommServerBaseImpl->getInstanceName())
.append(CR).append("Post message is not support for this release.").append(ommServerBaseImpl->getInstanceName());

ommServerBaseImpl->getOmmLoggerClient().log(_clientName, OmmLoggerClient::VerboseEnum, temp);
}

break;
}

Conclusion: Post ist not implemented in EMA ...
I found no hints in the documents for this behaviour.

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

Related Questions

EMA ElementList access problem

EMA C++ uses unexpected XmlTrace parameters in EmaConfig.xml configuration file

Field length VS String Null terminator

[JAVA EMA] Alternative to Posting data to TR Contribution Channel

Is OmmConsumer::unregister a synchronous call?

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • 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
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges