question

Upvotes
Accepted
3 0 1 2

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?

ema-apijavaommconsumer
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.

Upvotes
Accepted
27.9k 67 18 14

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.

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.

Upvotes
19.2k 86 39 63

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.

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.

Upvotes
3 0 1 2

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?

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.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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