question

Upvotes
Accepted
26 1 3 7

i am recieving 314 fieldEntries instead of just ask and bid values when i am using Elekron-sdk1.2.2.java. view example and testing it with canned test Data package

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
24.6k 86 10 22

Hi @rkumar

When you are testing with the canned Data package, your consumer is connecting to the sink_driven_src application.

To use the View functionality you need to connect to an ADS which is the TREP / RMDS component which implements the view functionality and performs the field filtering.

Note that even when connected to an ADS you should always code your application to ensure it can cope with occasionally receiving unwanted Fields. This is because the ADS may not always fulfil your View request - e.g. if it is very busy serving other consumers and filtering the fields for your consumer would negatively impact its performance - it may decide to ignore the View request and send you all the Fields in the Refresh or Update..

icon clock
10 |1500

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