Hi team,
Can you advice on the following on behalf of a client please:
There are 2 ADH servers that should work in hot-standby mode. NIP application creates a provider and establishes a channel to ADH to publish data to cache. This part works well. The question is if connection to 2 ADHs should be created by establishing 2 different channels from 1 provider or there should be 2 different providers with 1 channel on each?
I have attached the java class responsible for connecting the publisher to RTDS. Most interesting is the below code which shows how we connect. I think we should attach this code and the class to the request to Reuthers so they have some background knowledge.
OmmNiProviderConfig config = EmaFactory.createOmmNiProviderConfig()
.host(configuration.getHost())
.username(configuration.getUsername())
.instanceId(configuration.getInstance())
.adminControlDirectory(OmmNiProviderConfig.AdminControl.USER_CONTROL);
provider = EmaFactory.createOmmProvider(config, this.providerErrorClient);
provider.registerClient(EmaFactory.createReqMsg().domainType(EmaRdm.MMT_LOGIN), providerClient);
providerClient.awaitServiceRegistration(TIMEOUT);
Regards,
Erol