NMS ActiveMQ and Stomp providers fail to Parse a Uri with params on both the 
outer and inner Uri's
--------------------------------------------------------------------------------------------------

                 Key: AMQNET-281
                 URL: https://issues.apache.org/activemq/browse/AMQNET-281
             Project: ActiveMQ .Net
          Issue Type: Bug
          Components: ActiveMQ, Stomp
    Affects Versions: 1.4.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
            Priority: Minor
             Fix For: 1.4.0


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.

{noformat}
activemq:failover:(tcp://${activemqhost}:61616?keepAlive=false&wireFormat.maxInactivityDuration=1000)"
activemq:failover:(tcp://${activemqhost}:61616?keepAlive=false&wireFormat.maxInactivityDuration=1000)?connection.asyncclose=false"
{noformat}

In the first Uri the Query string returned is:

{noformat}
?keepAlive=false&wireFormat.maxInactivityDuration=1000)
{noformat}

and in the second its

{noformat}
?keepAlive=false&wireFormat.maxInactivityDuration=1000)?connection.asyncclose=false
{noformat}

We need to modify the provider ConnectionFactory code to ensure that it doesn't 
use the inner Query params from the composite Uri.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to