Hello, I’m using example450__MarketPrice__QueryServiceDiscovery example for java connection code via EMA.
My user name is “GE-A-0110XXX-x-xxxx”.
(*) I wanted to set the host name in the OmmConsumerConfig but when the host is set the connection fails. Is this a normal behavior? We do not need to specify any host?
(*) Also, do we need to implement specific code in order to refresh the authentication token? I receive the warning log with the “Error text Failed to request authentication token with refresh token for user: GE-A-0110XXX-x-xxxx. Will try again with user name and password.” but the streaming continues. In your example “430_MarketPrice_TrepAuthentication » I saw a “consumer.reissue” instruction. Does “consumer.reissue” take care of refreshing the token? I tried to integrate the “reissue” code in my application but I have a crash at com.thomsonreuters.upa.valueadd.reactor.WlLoginHandler.validateReissue(WlLoginHandler.java:438) as this._loginRequest is null.