From 8e06b20b0ae275164e0b9348362bbe4f10cba4e0 Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Thu, 16 Oct 2008 06:53:55 +0000 Subject: [PATCH] fix for https://issues.apache.org/activemq/browse/AMQ-1980 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@705147 13f79535-47bb-0310-9956-ffa450edef68 --- .../transport/discovery/multicast/MulticastDiscoveryAgent.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.java b/activemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.java index 6d0267835b..b22ccbd2d6 100755 --- a/activemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/discovery/multicast/MulticastDiscoveryAgent.java @@ -50,7 +50,7 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent, Runnable { public static final String DEFAULT_DISCOVERY_URI_STRING = "multicast://239.255.2.3:6155"; public static final String DEFAULT_HOST_STR = "default"; - public static final String DEFAULT_HOST_IP = "239.255.2.3"; + public static final String DEFAULT_HOST_IP = System.getProperty("activemq.partition.discovery", "239.255.2.3"); public static final int DEFAULT_PORT = 6155; @@ -293,7 +293,6 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent, Runnable { if (LOG.isTraceEnabled()) { LOG.trace("start - myHost = " + myHost); LOG.trace("start - myPort = " + myPort); - LOG.trace("start - myHost = " + myHost); LOG.trace("start - group = " + group ); }