... api
I am connecting to reuters using java reactor api for consuming market data, and have supplied two hosts using below piece of code :
dispatchOptions.maxMessages(1);
connectOptions.reconnectAttemptLimit(trepConnectionConfig.connectMaxRetries()); // attempt to recover forever
connectOptions.reconnectMinDelay(trepConnectionConfig.connectMinDelayInSec()); // 1 second minimum
connectOptions.reconnectMaxDelay(trepConnectionConfig.connectMaxDelayInSec()); // 60 second maximum
this.connectOptions.connectionList().add(connectInfo);
final ConnectOptions primaryConnectOptions = this.connectOptions.connectionList().get(0).connectOptions();
primaryConnectOptions.majorVersion(Codec.majorVersion());
primaryConnectOptions.minorVersion(Codec.minorVersion());
primaryConnectOptions.connectionType(ConnectionTypes.SOCKET);
primaryConnectOptions.unifiedNetworkInfo().address(trepConnectionConfig.host());
primaryConnectOptions.unifiedNetworkInfo().serviceName(trepConnectionConfig.port());
primaryConnectOptions.guaranteedOutputBuffers(trepConnectionConfig.buffers());
if (StringUtils.isNotBlank(trepConnectionConfig.backupHost()) && StringUtils.isNotBlank(trepConnectionConfig.backupPort())) {
this.connectOptions.connectionList().add(backUpConnectInfo);
final ConnectOptions backUpConnectOptions = this.connectOptions.connectionList().get(1).connectOptions();
backUpConnectOptions.majorVersion(Codec.majorVersion());
backUpConnectOptions.minorVersion(Codec.minorVersion());
backUpConnectOptions.connectionType(ConnectionTypes.SOCKET);
backUpConnectOptions.unifiedNetworkInfo().address(trepConnectionConfig.backupHost());
backUpConnectOptions.unifiedNetworkInfo().serviceName(trepConnectionConfig.backupPort());
backUpConnectOptions.guaranteedOutputBuffers(trepConnectionConfig.buffers());
}
1. Connect to reuters - both ADH and ADS are up
2. send valid subscription
3. App is able to receive data
4.While doing test with connectivity team, stop only ADH server - which results in unavailability of IDN_SELECTFEED service.
5. Java consumer APP should have received service unavailability or some kind of notification, however app did not receive any notification.
Could someone please assist here as this is blocking onboarding of application.