Description
Some Uri string that are formatted as below can fail parse in the ConnectionFactory BrokerUri set property as the .NET Uri class returns the inner query string portion in this case.
activemq:failover:(tcp://${activemqhost}:61616?keepAlive=false&wireFormat.maxInactivityDuration=1000)" activemq:failover:(tcp://${activemqhost}:61616?keepAlive=false&wireFormat.maxInactivityDuration=1000)?connection.asyncclose=false"
In the first Uri the Query string returned is:
?keepAlive=false&wireFormat.maxInactivityDuration=1000)
and in the second its
?keepAlive=false&wireFormat.maxInactivityDuration=1000)?connection.asyncclose=false
We need to modify the provider ConnectionFactory code to ensure that it doesn't use the inner Query params from the composite Uri.