question

Upvotes
Accepted
1 1 2 5

I am using java reactor API for consuming data for credit bonds . As reactor api takes care of reconnection , do we need to resubscribe for items (items are subscribed without watch list)when reconnection happens? I

javareactor
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 @rinki121

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

@rinki121

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@rinki121

If you use a Reactor with the watchlist disabled, the application needs to resubscribe for items when the connection and service are up. You can refer to the com.refinitiv.eta.valueadd.examples.consumer example in the RTSDK Java package.

Otherwise, you can use a Reactor with the watchlist enabled.

The watchlist automatically recovers data streams in response to failure conditions, such as disconnects and unavailable services, so that applications do not need special handling for these conditions. As conditions are resolved, the watchlist will re-request items on the application’s behalf. Applications can also use this method to request data before a connection is fully established

You can refer to the com.refinitiv.eta.valueadd.examples.watchlistconsumer example in the RTSDK Java 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.

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.