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