[
https://issues.apache.org/jira/browse/QPID-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001667#comment-13001667
]
Rajith Attapattu commented on QPID-3099:
----------------------------------------
I treated this as a bug based on a customer request.
My first impression was that an underscore was a bit odd in a host name, but it
seems they have named a host by that name.
I would leave this fix as it is and leave the correct naming of hosts to the
end users.
> Java qpid-client ignores hostnames containing underscores
> ---------------------------------------------------------
>
> Key: QPID-3099
> URL: https://issues.apache.org/jira/browse/QPID-3099
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.5, 0.6, 0.8
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Priority: Minor
> Fix For: 0.9
>
>
> When defining a connection URL listing a broker that has an underscore the
> hostname results in the broker host being evaluated to "localhost" rather
> than the intended host.
> e.g. amqp://guest:guest@clientid/test?brokerlist='tcp://under_score:5672'
> amqp://guest:guest@clientid/test?brokerlist='tcp://under_score'
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]