question

Upvotes
Accepted
1 0 0 0

How do I delete multiple records from the EMA proxy cache ?

How do I delete multiple records from a file from the EMA proxy cache admin console ?

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

1 Answer

Upvotes
Accepted
15.2k 40 12 19

Hi @hplow0,

Can you please clarify what you are trying to achieve? EMA is an API and does not cache any data - all the requested data is immediately delivered to the application through callback.

If your intention is to unsubscribe from an already open instrument, then use the handle for that item for invoking the unsubscribe call.


long handle = consumer.registerClient( EmaFactory.createReqMsg().serviceName(srvStr).name("IBM.N").payload(view), appClient, 0 );
.
.
.
// stop the subscription
consumer.unregister(handle);
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.