[ 
https://issues.apache.org/jira/browse/QPID-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carlos Medina updated QPID-487:
-------------------------------

    Attachment: QPID-487.diff

This files implements the QpidConnectionInfo.AsUrl() and 
AmqBrokerInfo.ToString() methods with its respectives test...

NOTE, because the QPID-485 bug haven't fixed yet, this .diff file contains the 
information about it...  


> The QpidConnectionInfo.ToString() method returns a wrong value
> --------------------------------------------------------------
>
>                 Key: QPID-487
>                 URL: https://issues.apache.org/jira/browse/QPID-487
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>    Affects Versions: M2
>            Reporter: Carlos Medina
>            Priority: Minor
>             Fix For: M2
>
>         Attachments: QPID-487.diff
>
>
> When the QpidConnectionInfo.ToString() method is invoked, a wrong value is 
> returned... This is because the actual code (see below) doesn't print 
> information related with the original url like UserName, Password, ClientId, 
> HostName, and options.
> ===========
> Actual code....
> public override string ToString()
> {
>     return AsUrl();
> }
> public string AsUrl()
> {
>     string result = "amqp://";
>     foreach (IBrokerInfo info in _brokerInfos)
>     {
>         result += info.ToString();
>     }
>     return result;
> }

-- 
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