question

Upvotes
Accepted
3 3 4 10

Get Access to the Login, source directory and dictionary refresh, update Message

In ema example 100__MarketPrice__Streaming, when connected to sample provider it only receive item update and refresh messages through the callbacks (onRefreshMsg, onUpdateMsg). How can we get the login and source directory and dictionary related refresh and update messages. Is there configuration to activate this feature.

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apilog-inrefresh
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
9.6k 10 6 7

@thimalk

Normally, EMA requests for login, source directory and dictionary internally. However, application can does these by itself. Please see example example330__Login__Streaming, example331__Directory__Streaming and example332__Dictionary__Streaming demonstrates how to request login, directory and dictionary by application respectively.

You can see login, source directory and dictionary request/response messages sent/received by EMA when running 100__MarketPrice__Streaming by adding XmlTraceToStdout=1 to enable EMA tracing in "Channel_1",default channel node, in EmaConfig.xml as shown below:

<Name value="Channel_1"/>
<!-- ChannelType possible values are:-->
<!-- ChannelType::RSSL_SOCKET    - TCP IP connection type-->
<!-- ChannelType::RSSL_HTTP      - Http tunnel connection type-->
<!-- ChannelType::RSSL_ENCRYPTED - Https tunnel connection type-->
<!-- ChannelType::RSSL_RELIABLE_MCAST - Reliable multicast connection type-->
<ChannelType value="ChannelType::RSSL_SOCKET"/>
<!-- CompressionType is optional: defaulted to None-->
<!-- possible values: None, ZLib, LZ4-->
<CompressionType value="CompressionType::None"/>
<GuaranteedOutputBuffers value="5000"/>
<!-- ConnectionPingTimeout is optional: defaulted to 30000-->
<ConnectionPingTimeout value="30000"/>

<!-- TcpNodelay is optional: defaulted to 1 -->
<!-- possible values: 1 (tcp_nodelay option set), 0 (tcp_nodelay not set)-->
<TcpNodelay value="1"/>
<Host value="localhost"/>
<Port value="14002"/>
<XmlTraceToStdout value="1"/>
</Channel>

Please put the file in application run directory.

icon clock
10 |1500

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