diff --git a/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java b/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java index 943b65fc76..4de72cab0e 100755 --- a/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java +++ b/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java @@ -33,7 +33,7 @@ public class SimpleDiscoveryAgentFactory extends DiscoveryAgentFactory { try { CompositeData data = URISupport.parseComposite(uri); - Map options = URISupport.parseParamters(uri); + Map options = data.getParameters(); SimpleDiscoveryAgent rc = new SimpleDiscoveryAgent(); rc.setGroup(uri.getHost());