Is there any way to limit my incoming payload on basis of fid in RefreshMsg java construct in EMA...

rkumar
rkumar Explorer
Is there any way to limit my incoming payload on basis of fid in RefreshMsg java construct in EMA ,eg I just want Bid(fid : 22) and ask(fid : 25) value for an data item or RIC.

Best Answer

  • Hello @rkumar

    You can use Views feature to limit incoming payload of Refresh and Update messages containing only your preference fids. Using a view, a consumer requests a subset of fields. Then, only the requested fields are sent to EMA application as the diagram shown below:

    image

    For more details, please refer to Section 3.2.3 Views in API Concept Guide

    Note: ADS supports only field numbers(field names are not supported) and Level 1 data(Market Price) domain for Views feature.

    You can find the example of using Views feature in consumer.series300.example360__MarketPrice__View application shipped with Elektron SDK Java package. The example output running the application to request fid no.22(BID) and no.25(ASK):

    image

    Hope this help.

Answers