AMQ-1489 fix discoveryURI setting, from Gerald Loeffler

git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@640636 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Jencks 2008-03-24 23:10:54 +00:00
parent 95e8157d78
commit a5a05da704
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ public class MulticastDiscoveryAgentFactory extends DiscoveryAgentFactory {
Map options = URISupport.parseParamters(uri);
MulticastDiscoveryAgent rc = new MulticastDiscoveryAgent();
rc.setDiscoveryURI(uri);
rc.setGroup(uri.getHost());
IntrospectionSupport.setProperties(rc, options);
return rc;