question

Upvotes
Accepted
66 2 6 11

how to unsubscribe a chain using EMA API

Hi Team,

how to unsubscribe a chain using EMA API?

Thanks


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

Could anyone help on this? client can't unsubscribe a chain based on the suggestion through https://community.developers.refinitiv.com/questions/100504/how-to-unsubscribe-a-ric-using-ema-api.html

1692856001031.png

1692856001031.png (65.0 KiB)

1 Answer

· Write an Answer
Upvotes
Accepted
24.8k 54 17 14

Hello @gang.chen1

Based on the given screenshot, the "Invalid attempt to close batch stream, xxx", does the application subscribe Chain as a single request (consumer.registerClient(reqMsg.serviceName("{service}").name("0#.HSI"), appClient);) or using Batch?

If the client uses the Batch, please see my colleague answer in this Invalid attempt to close batch stream. Exception thrown in thomsonreuters::ema::access::OmmInvalidUsageExceptionImpl thread.

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.

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.