activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r582810 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java
Date Mon, 08 Oct 2007 12:54:35 GMT
Author: rajdavies
Date: Mon Oct  8 05:54:35 2007
New Revision: 582810

URL: http://svn.apache.org/viewvc?rev=582810&view=rev
Log:
set options on the discovery agent correctly from the URI

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java?rev=582810&r1=582809&r2=582810&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/discovery/simple/SimpleDiscoveryAgentFactory.java
Mon Oct  8 05:54:35 2007
@@ -33,7 +33,7 @@
         try {
             
             CompositeData data = URISupport.parseComposite(uri);
-            Map options = URISupport.parseParamters(uri);
+            Map options = data.getParameters();
 
             SimpleDiscoveryAgent rc = new SimpleDiscoveryAgent();
             rc.setGroup(uri.getHost());



Mime
View raw message