question

Upvotes
Accepted
20 2 3 7

Using Java EMA API, I wonder if there is a way to tell the ADS server to send only images instead of the delta for each record?

#technologyema-apijava
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.

Hello @AMofidy-Rouhi

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
24.7k 54 17 14

Hello @AMofidy-Rouhi

Do you mean you want only a Refresh Response (IMAGE) message? If so, the EMA Java API supports snapshot requests by setting the ReqMsg's interestAfterRefresh property to false.

Example:

consumer.registerClient(reqMsg.serviceName("DIRECT_FEED").name("IBM.N").interestAfterRefresh(false), appClient);

You can find more detail in the EMA Java example application ex102_MP_Snapshot in the SDK package.

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.

@wasin.w Many thanks for your quick reply. Very helpful.

cheers,

Ali

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.