OmmConsumerClient onUpdateMsg only updated fields

When updating a specific record field for a RIC, it seems all the fields for the records are sent into onUpdateMsg. Is it possible to only get the updated fields in the callback?

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @noureddine.hamdy

    You can find the list of RTSDK Java change log detail from a CHANGELOG.md file in the RTSDK Java package or the GitHub repository website.

    However, l cannot find any known issues about receiving the full refresh messages in the Update message callback too.

Answers

  • Hi @noureddine.hamdy

    When you open a subscription for an item, you will receive the following:

    1. Refresh Message (Initial/snapshot) containing all fields for the item
    2. When changes occur in the market, updates to those affected fields only - not everything.

    Given that, can you provide some more details about your application? For example, if you refer to one of the examples within the EMA package, you will see how to register for both refresh and update events. For example, refer to the series of tutorials within EMA Java.

  • Thanks for the response. This is indeed the behaviour i would expect.

    I upgraded from EMA version 3.4.0.1 to 3.6.2.1 and that looks to be solving the issue.


    is there a known issue with version 3.4.0.1 regarding updatemsg callback?

  • Hi @noureddine.hamdy

    Glad you found a solution.

    As far as I'm aware, receiving full refreshes within update callbacks was not reported, and have never encountered this behavior.