Author: degenaro Date: Mon Jul 1 16:10:37 2019 New Revision: 1862392 URL: http://svn.apache.org/viewvc?rev=1862392&view=rev Log: UIMA-6083 DUCC BrokerHelper ERROR messages
Modified: uima/uima-ducc/trunk/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/helper/BrokerHelper.java Modified: uima/uima-ducc/trunk/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/helper/BrokerHelper.java URL: http://svn.apache.org/viewvc/uima/uima-ducc/trunk/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/helper/BrokerHelper.java?rev=1862392&r1=1862391&r2=1862392&view=diff ============================================================================== --- uima/uima-ducc/trunk/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/helper/BrokerHelper.java (original) +++ uima/uima-ducc/trunk/uima-ducc-web/src/main/java/org/apache/uima/ducc/ws/helper/BrokerHelper.java Mon Jul 1 16:10:37 2019 @@ -38,7 +38,6 @@ import javax.management.openmbean.Compos import org.apache.uima.ducc.common.utils.DuccLogger; import org.apache.uima.ducc.common.utils.DuccPropertiesResolver; -import org.apache.uima.ducc.common.utils.InetHelper; import org.apache.uima.ducc.common.utils.id.DuccId; import org.apache.uima.ducc.ws.DuccDaemonsData; @@ -101,7 +100,8 @@ public class BrokerHelper extends JmxHel String key; String value; // - value = InetHelper.getHostName(); + key = "ducc.broker.name"; + value = duccPropertiesResolver.getCachedProperty(key); setHost(value); // key = "ducc.broker.jmx.port";