question

Upvotes
Accepted
38 0 0 1

ETA Java Sample com.thomsonreuters.upa.examples.niprovider. Fail to set the Refresh message flag

We make use of the NIP sample package which support MarketPrice and MarketByOrder NIP Publishing. We have added a customized model - 128. However, we can't set the message flag to show "REFRESH_COMPLETE" even we already follow the other domain:

public void applyRefreshComplete()

{

flags |= MarketPriceRefreshFlags.REFRESH_COMPLETE;

}

And the dump of the message flag as below: (NO REFRESH_COMPLETE) - the flags only contain HAS_MSG_KEY.

<!-- rwfMajorVer="14" rwfMinorVer="1" -->

<REFRESH domainType="128" streamId="-3" containerType="MAP" flags="0x08 (HAS_MSG_KEY)" groupId="0" State: Open/Ok/None - text: "Item Refresh Completed" dataSize="545">

May I know why we did set the REFRESH_COMPLETE but the dump is missing the REFRESH_COMPLETE flag? Thanks.


elektronrefinitiv-realtimeelektron-sdkrrtapieta-apielektron-transport-apinon-interactive-providerrefresh-message
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
4.4k 10 6 9

Hi @Chun Kit Wan

Make sure that it does call applyRefreshComplete() in encodeMsg().

The MarketByVolumeRefresh sample code didn't call applyRefreshComplete() in encodeMsg(), which is incorrect.

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
38 0 0 1

Thanks. It is resolved. Thanks,

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