HI,
We have omm consumer, connecting to omm interactive provider.
Everything looks good, except that consumer every 15 seconds reopens every stream, regardless whether consumer received any data recently or not. "Reopen" looks like a sequence of closeMsg and requestMsg sent at the same time. Example of the log is below.
Does anyone know what is causing this behaviour?
Thank you.
In this example timeout is set to 5000 milliseconds, which triggers reopen faster:
<!-- Outgoing Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:32:900 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<requestMsg domainType="RSSL_DMT_LOGIN" streamId="1" containerType="RSSL_DT_NO_DATA" flags="0x4 (RSSL_RQMF_STREAMING)" dataSize="0">
<key flags="0x26 (RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE|RSSL_MKF_HAS_ATTRIB)" name="user" nameType="3" attribContainerType="RSSL_DT_ELEMENT_LIST">
<attrib>
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name="ApplicationId" dataType="RSSL_DT_ASCII_STRING" data="256"/>
<elementEntry name="ApplicationName" dataType="RSSL_DT_ASCII_STRING" data="Reuters MD reader/server"/>
<elementEntry name="Position" dataType="RSSL_DT_ASCII_STRING" data="127.0.0.1/desktop"/>
<elementEntry name="SingleOpen" dataType="RSSL_DT_UINT" data="1"/>
<elementEntry name="SupportProviderDictionaryDownload" dataType="RSSL_DT_UINT" data="0"/>
<elementEntry name="AllowSuspectData" dataType="RSSL_DT_UINT" data="1"/>
<elementEntry name="Role" dataType="RSSL_DT_UINT" data="0"/>
</elementList>
</attrib>
</key>
<dataBody>
</dataBody>
</requestMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:32:900 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<refreshMsg domainType="RSSL_DMT_LOGIN" streamId="1" containerType="RSSL_DT_NO_DATA" flags="0x68 (RSSL_RFMF_HAS_MSG_KEY|RSSL_RFMF_SOLICITED|RSSL_RFMF_REFRESH_COMPLETE)" groupId="0" dataState="RSSL_DATA_OK" streamState="RSSL_STREAM_OPEN" code="RSSL_SC_NONE" text="Login accepted" dataSize="0">
<key flags="0x26 (RSSL_MKF_HAS_NAME|RSSL_MKF_HAS_NAME_TYPE|RSSL_MKF_HAS_ATTRIB)" name="user" nameType="1" attribContainerType="RSSL_DT_ELEMENT_LIST">
<attrib>
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name="ApplicationId" dataType="RSSL_DT_ASCII_STRING" data="256"/>
<elementEntry name="Position" dataType="RSSL_DT_ASCII_STRING" data="127.0.0.1/desktop"/>
<elementEntry name="SingleOpen" dataType="RSSL_DT_UINT" data="1"/>
<elementEntry name="AllowSuspectData" dataType="RSSL_DT_UINT" data="1"/>
</elementList>
</attrib>
</key>
<dataBody>
</dataBody>
</refreshMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Outgoing Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:32:900 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<requestMsg domainType="RSSL_DMT_SOURCE" streamId="2" containerType="RSSL_DT_NO_DATA" flags="0x4 (RSSL_RQMF_STREAMING)" dataSize="0">
<key flags="0x8 (RSSL_MKF_HAS_FILTER)" filter="63"/>
<dataBody>
</dataBody>
</requestMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:32:901 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<refreshMsg domainType="RSSL_DMT_SOURCE" streamId="2" containerType="RSSL_DT_MAP" flags="0x168 (RSSL_RFMF_HAS_MSG_KEY|RSSL_RFMF_SOLICITED|RSSL_RFMF_REFRESH_COMPLETE|RSSL_RFMF_CLEAR_CACHE)" groupId="0" dataState="RSSL_DATA_OK" streamState="RSSL_STREAM_OPEN" code="RSSL_SC_NONE" text="Refresh Complete" dataSize="349">
<key flags="0x8 (RSSL_MKF_HAS_FILTER)" filter="3"/>
<dataBody>
<map flags="0x0" countHint="0" keyPrimitiveType="RSSL_DT_UINT" containerType="RSSL_DT_FILTER_LIST" >
<mapEntry flags="0x0" action="RSSL_MPEA_ADD_ENTRY" key="1" >
<filterList containerType="RSSL_DT_ELEMENT_LIST" countHint="0" flags="0x0">
<filterEntry id="1" action="RSSL_FTEA_SET_ENTRY" flags="0x0" containerType="RSSL_DT_ELEMENT_LIST">
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name="Name" dataType="RSSL_DT_ASCII_STRING" data="ARKIG_FEED"/>
<elementEntry name="Vendor" dataType="RSSL_DT_ASCII_STRING" data="My"/>
<elementEntry name="IsSource" dataType="RSSL_DT_UINT" data="0"/>
<elementEntry name="Capabilities" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_UINT">
<arrayEntry data="5"/>
<arrayEntry data="6"/>
</array>
</elementEntry>
<elementEntry name="DictionariesProvided" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_ASCII_STRING">
<arrayEntry data="RWFFld"/>
<arrayEntry data="RWFEnum"/>
</array>
</elementEntry>
<elementEntry name="DictionariesUsed" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_ASCII_STRING">
<arrayEntry data="RWFFld"/>
<arrayEntry data="RWFEnum"/>
</array>
</elementEntry>
<elementEntry name="QoS" dataType="RSSL_DT_ARRAY">
<array itemLength="0" primitiveType="RSSL_DT_QOS">
<arrayEntry qosDynamic="0" qosRate="1" qosTimeliness="1"/>
</array>
</elementEntry>
<elementEntry name="SupportsQoSRange" dataType="RSSL_DT_UINT" data="0"/>
<elementEntry name="ItemList" dataType="RSSL_DT_ASCII_STRING" data="#.itemlist"/>
<elementEntry name="SupportsOutOfBandSnapshots" dataType="RSSL_DT_UINT" data="0"/>
<elementEntry name="AcceptingConsumerStatus" dataType="RSSL_DT_UINT" data="0"/>
</elementList>
</filterEntry>
<filterEntry id="2" action="RSSL_FTEA_SET_ENTRY" flags="0x0" containerType="RSSL_DT_ELEMENT_LIST">
<elementList flags="0x8 (RSSL_ELF_HAS_STANDARD_DATA)">
<elementEntry name="ServiceState" dataType="RSSL_DT_UINT" data="1"/>
<elementEntry name="AcceptingRequests" dataType="RSSL_DT_UINT" data="1"/>
</elementList>
</filterEntry>
</filterList>
</mapEntry>
</map>
</dataBody>
</refreshMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Outgoing Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:32:901 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<requestMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="4" containerType="RSSL_DT_NO_DATA" flags="0x44 (RSSL_RQMF_STREAMING|RSSL_RQMF_HAS_QOS)" qosDynamic="0" qosRate="1" qosTimeliness="1" dataSize="0">
<key flags="0x3 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME)" serviceId="1" name="TXU9"/>
<dataBody>
</dataBody>
</requestMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:32:901 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<refreshMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="4" containerType="RSSL_DT_FIELD_LIST" flags="0x28 (RSSL_RFMF_HAS_MSG_KEY|RSSL_RFMF_SOLICITED)" groupId="0" dataState="RSSL_DATA_OK" streamState="RSSL_STREAM_OPEN" code="RSSL_SC_NONE" text="Refresh Completed" dataSize="31">
<key flags="0x3 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME)" serviceId="1" name="TXU9"/>
<dataBody>
<fieldList flags="0x8 (RSSL_FLF_HAS_STANDARD_DATA)">
<fieldEntry fieldId="22" data="0B01 62"/>
<fieldEntry fieldId="25" data="0B01 5C"/>
<fieldEntry fieldId="30" data="0E01 64"/>
<fieldEntry fieldId="31" data="0E01 5E"/>
<fieldEntry fieldId="118" data="A0"/>
</fieldList>
</dataBody>
</refreshMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:33:030 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<updateMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="4" containerType="RSSL_DT_FIELD_LIST" flags="0x0" updateType="0 (RDM_UPD_EVENT_TYPE_UNSPECIFIED)" dataSize="15">
<dataBody>
<fieldList flags="0x8 (RSSL_FLF_HAS_STANDARD_DATA)">
<fieldEntry fieldId="25" data="0B01 5C"/>
<fieldEntry fieldId="31" data="0E01 5E"/>
</fieldList>
</dataBody>
</updateMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:33:053 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<updateMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="4" containerType="RSSL_DT_FIELD_LIST" flags="0x0" updateType="0 (RDM_UPD_EVENT_TYPE_UNSPECIFIED)" dataSize="19">
<dataBody>
<fieldList flags="0x8 (RSSL_FLF_HAS_STANDARD_DATA)">
<fieldEntry fieldId="118" data="A0"/>
<fieldEntry fieldId="6" data="0B01 6A"/>
<fieldEntry fieldId="178" data="0E01 6B"/>
</fieldList>
</dataBody>
</updateMsg>
----- here we have more update messages -----------------------
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:37:112 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<updateMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="4" containerType="RSSL_DT_FIELD_LIST" flags="0x0" updateType="0 (RDM_UPD_EVENT_TYPE_UNSPECIFIED)" dataSize="15">
<dataBody>
<fieldList flags="0x8 (RSSL_FLF_HAS_STANDARD_DATA)">
<fieldEntry fieldId="22" data="0B01 62"/>
<fieldEntry fieldId="30" data="0E01 64"/>
</fieldList>
</dataBody>
</updateMsg>
------------ Why do we have closeMsg + requestMsg here when update was received less than a second ago ??? -------
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Outgoing Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:37:905 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<closeMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="4" containerType="RSSL_DT_NO_DATA" flags="0x0" dataSize="0">
<dataBody>
</dataBody>
</closeMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Outgoing Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:37:905 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<requestMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="5" containerType="RSSL_DT_NO_DATA" flags="0x44 (RSSL_RQMF_STREAMING|RSSL_RQMF_HAS_QOS)" qosDynamic="0" qosRate="1" qosTimeliness="1" dataSize="0">
<key flags="0x3 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME)" serviceId="1" name="TXU9"/>
<dataBody>
</dataBody>
</requestMsg>
<!-- End Message (Channel IPC descriptor = 10) -->
<!-- Incoming Message (Channel IPC descriptor = 10) -->
<!-- Time: 1:46:37:905 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<refreshMsg domainType="RSSL_DMT_MARKET_PRICE" streamId="5" containerType="RSSL_DT_FIELD_LIST" flags="0x28 (RSSL_RFMF_HAS_MSG_KEY|RSSL_RFMF_SOLICITED)" groupId="0" dataState="RSSL_DATA_OK" streamState="RSSL_STREAM_OPEN" code="RSSL_SC_NONE" text="Refresh Completed" dataSize="31">
<key flags="0x3 (RSSL_MKF_HAS_SERVICE_ID|RSSL_MKF_HAS_NAME)" serviceId="1" name="TXU9"/>
<dataBody>
<fieldList flags="0x8 (RSSL_FLF_HAS_STANDARD_DATA)">
<fieldEntry fieldId="22" data="0B01 62"/>
<fieldEntry fieldId="25" data="0B01 5C"/>
<fieldEntry fieldId="30" data="0E01 64"/>
<fieldEntry fieldId="31" data="0E01 5E"/>
<fieldEntry fieldId="118" data="A0"/>
</fieldList>
</dataBody>
</refreshMsg>