You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tomas Restrepo (JIRA)" <qp...@incubator.apache.org> on 2007/05/14 21:15:16 UTC
[jira] Resolved: (QPID-487) The QpidConnectionInfo.ToString()
method returns a wrong value
[ https://issues.apache.org/jira/browse/QPID-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Restrepo resolved QPID-487.
---------------------------------
Resolution: Fixed
Resolved in revision 537954
> 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.