mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3222 - fix test regression, xbean url parsing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1083770 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
400990f98a
commit
e44ccf7f08
|
@ -62,9 +62,8 @@ public class XBeanBrokerFactory implements BrokerFactoryHandler {
|
|||
public BrokerService createBroker(URI config) throws Exception {
|
||||
|
||||
String uri = config.getSchemeSpecificPart();
|
||||
Map<String,String> parameters = URISupport.parseQuery(uri);
|
||||
if (!parameters.isEmpty()) {
|
||||
IntrospectionSupport.setProperties(this, parameters);
|
||||
if (uri.lastIndexOf('?') != -1) {
|
||||
IntrospectionSupport.setProperties(this, URISupport.parseQuery(uri));
|
||||
uri = uri.substring(0, uri.lastIndexOf('?'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue