question

Upvotes
Accepted
1 0 3 9

RFA Java Log to decode incoming message field

My RFAJ session is as following. How to config it that Reuters' log will show price field value

FIELD_ENTRY 21/HST_CLOSE: 40.15

instead of

FIELD_ENTRY 21: 0c0faf




<node name="quantis-ca-dev">

<map>

<entry key="connectionType" value="RSSL"/>

<entry key="serverType" value="sapi"/>

<entry key="serverList" value=""/>

<entry key="portNumber" value="14002"/>

<entry key="userName" value=""/>

<entry key="downloadDataDict" value="true"/>

<entry key="downloadFullMarketFeedDataDict" value="true"/>

<entry key="logEnabled" value="true"/>

<entry key="dacs_CbeEnabled" value="false"/>

<entry key="dacs_SbePubEnabled" value="false"/>

<entry key="dacs_SbeSubEnabled" value="false"/>

<entry key="traceMsgDomains" value="ALL" />

<entry key="ipcTraceFlags" value="7"/>

<entry key="mountTrace" value="true"/>

<entry key="traceMsgType" value="ALL"/>



<entry key="logFileName" value="traceRFA_RSSL%u.log"/>

</map>

</node>

treprfarfa-api
icon clock
10 |1500

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

Upvotes
Accepted
11.5k 16 7 10

Hello @chris.xiao

Unfortunately, RFA does not have any parameter to print decoded data. Currently, there is no any tool which can display decoded data in RFA Java trace log file.

I strongly suggest you check the work around that suggested by my colleague.

icon clock
10 |1500

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

This is the resolution of the case.

Upvotes
23k 22 9 14

Hello @chris.xiao,

Do not believe you can customize Java RFA log as to the format of the price entries. All the available customization parameters are described in RFA Java Config and Logging Guide.

Can think of two straightforward approaches, to achieve this requirement:

  • One is custom application logging, in the consumer app handling code, when the content is received and processed, it can be logged in the desired format.
  • The other is Infra Tools package, that can be available via download from my.refinitiv.com to authorized users from your organization. It includes test tool rmdstestclient that can record, or can the content for you in the decimal format such as:
   <dataBody>
        <fieldList flags="0x9 (RSSL_FLF_HAS_FIELD_LIST_INFO|RSSL_FLF_HAS_STANDARD_DATA)" fieldListNum="99" dictionaryId="1">
            <fieldEntry fieldId="1" dataType="RSSL_DT_UINT" data="213"/>
            <fieldEntry fieldId="2" dataType="RSSL_DT_UINT" data="153"/>
            <fieldEntry fieldId="3" dataType="RSSL_DT_RMTES_STRING" data="NEDBANK LTD  JHB"/>
            <fieldEntry fieldId="5" dataType="RSSL_DT_TIME" data=" 20:48:00:000"/>
            <fieldEntry fieldId="11" dataType="RSSL_DT_REAL" data="0.51"/>
            <fieldEntry fieldId="12" dataType="RSSL_DT_REAL" data="109.88"/>
            <fieldEntry fieldId="13" dataType="RSSL_DT_REAL" data="109.25"/>
            <fieldEntry fieldId="15" dataType="RSSL_DT_ENUM" data="392"/>
            <fieldEntry fieldId="17" dataType="RSSL_DT_DATE" data="5/1/2018"/>
            <fieldEntry fieldId="19" dataType="RSSL_DT_REAL" data="109.33"/>
            <fieldEntry fieldId="21" dataType="RSSL_DT_REAL" data="109.33"/>

Hope this helps

icon clock
10 |1500

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

Click below to post an Idea Post Idea