Rafael H. Schloming commented on PROTON-506:

Looks like a good fix to me. I'd go poke around the Java side and just verify 
we don't have the same bug there, maybe add a test somewhere and check it all 

> Queue names with '@' symbol cause incorrect hostname lookup
> -----------------------------------------------------------
>                 Key: PROTON-506
>                 URL: https://issues.apache.org/jira/browse/PROTON-506
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.6
>            Reporter: Brian Bouterse
>            Assignee: Rafael H. Schloming
>             Fix For: 0.7
>         Attachments: proton-506.diff
> I have need to create a queue with the following name (no quotes):
> "cel...@dhcp129-138.rdu.redhat.com.celery.pidbox"
> I try to subscribe using the string 
> 'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'
> I receive the following error:
> Unrecoverable error: MessengerException('[-2]: unable to connect to 
> amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox: 
> getaddrinfo(dhcp129-138.rdu.redhat.com.celery.pidbox, 5672): Name or service 
> not known',)
> I expected the hostname to be 'localhost', but instead the hostname being 
> used is 'dhcp129-138.rdu.redhat.com.celery.pidbox' which is not an actual 
> hostname.
> Better interpretation of the string would resolve this.

This message was sent by Atlassian JIRA

Reply via email to