Is there a possibility of not getting a reply for a RIC and not getting reply of status closed?

sagar.s
sagar.s Explorer

I'm querying a multiple chaniend RIC and the process gets stuck after sometime. However the statusMsg.state is not closed, How to validate if the reply was sent and if the status was closed for a RIC ?

My current logic is :

post the batch request and wait for the refreshMsg.status to be true or check statusMsg.state having "CLOSED" string in it.

Problem is that is does not receive the refreshMsg nor it obtains the status as closed. Can you please advise.

Best Answer

  • nick.zincone
    nick.zincone admin
    Answer ✓

    For the RICs you provided, 0#1US+ and 1US1855V7, both return a refreshMsg with an Ok dataState (see below) when I request for each one individually. When you request for 0#1US+, it is a chain. EMA does not automatically expand chains and request the constituents on your behalf. You have to programmatically perform this task yourself.

    If you are unfamiliar with chains and their processing, you can review Decoding Chains articles which goes into depths about how they are organized and processing recommendations.

    RefreshMsg
    streamId="6"
    domain="MarketPrice Domain"
    Solicited
    RefreshComplete
    ClearCache
    state="Non-streaming / Ok / None / 'All is well'"
    itemGroup="00 00"
    permissionData="03 01 64 31 53 C0"
    qos="RealTime/TickByTick"
    seqNum="112"
    name="0#1US+"
    nameType="1"
    serviceId="356"
    serviceName="ELEKTRON_AD"
    Payload dataType="FieldList"

    RefreshMsg
    streamId="6"
    domain="MarketPrice Domain"
    Solicited
    RefreshComplete
    ClearCache
    state="Non-streaming / Ok / None / 'All is well'"
    itemGroup="00 00"
    permissionData="03 01 64 31 53 C0"
    qos="RealTime/TickByTick"
    seqNum="768"
    name="1US1855V7"
    nameType="1"
    serviceId="356"
    serviceName="ELEKTRON_AD"
    Payload dataType="FieldList"

Answers