qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Medina (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-487) The QpidConnectionInfo.ToString() method returns a wrong value
Date Fri, 11 May 2007 06:54:15 GMT
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


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.


Mime
View raw message