Using Java EMA API, I wonder if there is a way to tell the ADS server to send only images instead...

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?

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    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.

Answers