Hi Team,
When I subscribe to a ric code, it returns all fields and changes of any fields to me, is there any way for me to define what fields I want to subscribe to minimize the number of update events?
Thanks very much.
Cheers,
Juno
Hi Team,
When I subscribe to a ric code, it returns all fields and changes of any fields to me, is there any way for me to define what fields I want to subscribe to minimize the number of update events?
Thanks very much.
Cheers,
Juno
RFA OMM interface has Dynamic View feature which support the requirement. But the TREP server or Provider has to support the View feature. Please check with Thomson Reuters representative to confirm that your server support the feature.
Basically a Dynamic View allows a consumer application to specify a subset of data content that it is interested in. A providing application can choose to supply only this requested subset of content across all Response Messages.
The View feature is intended to increase the consumer performance in two ways:
You can find more details in RFA.NET Developer guidee section Dynamic View. We also provide StarterConsumer_BatchView example which demonstrate the API usage under Examples folder. We also provide article about this feature and you can find it here.
Hi @moragodkrit,
Thanks for the link, I have followed the link's sample code, try to add 1 field into the view, and then add it to the attribute info of the original request message
However, I received the below error message a while after subscribing
"Item Request Timeout"
Is there anything I can do?
Thanks very much.
Cheers,
Juno
Please set the view to Request Message Payload(reqMsg.Payload = elementList;), not the Attribute Info.
Please see full sample codes in StarterConsumer_BatchView method SendItemRequest.
Hi @moragodkrit
Thanks for pointing it out, unfortunately,I can only find the starterconsumer tutorial from the developer community, would you mind pointing me to the right example if I am wrong?
@Juno Chan
I'm not sure why you use example from Open DACS API section. The section you mentioned is for OpenDACS API product and it just use one of RFA.NET example from RFA.NET package to run the OpenDACS.NET tutorial. If you already have StarterConsumer you can just change your codes to set the view to request message rather than set it to Attribute Info
For StarterConsumer_BatchView, Do you have full RFA.NET package? And what version of RFA.NET you are using?
Basically TRDC named user can download RFA.NET full package from this link. Latest version is 8.1 and we are no longer support RFA.NET 7.x.
Hi @moragodkrit
Sorry, I thought its an example in the tutorial page, I got it from the RFA zip file now. And I am now able to subscribe to a set of fields.
Thanks very much.
Cheers,
Juno