[
https://issues.apache.org/jira/browse/QPID-5225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13800700#comment-13800700
]
Kai Qiang Wu commented on QPID-5225:
------------------------------------
Hi Gordon, Thanks. much clearer for me now.
If I fully understand your comments, you mean
address support name, subject, option, and it designed some symbols, like '[',
';' and so on
while for subject, its pattern not have '(' direct support.
For example, for following two:
compute.test,123(bill)@192.168.51.57-44
compute.test,123[bill]@192.168.51.57-44
Question 1) for subject, it really not have difference. Right ?
But just because Qpid address pattern not have '(' mapping(valid), so it said
it is not invalid,
'[', it has mapping(valid), so it is ok
Question 2) In one word, it is just QPID designed like that, right ?
Thanks
> qpid address MalformedAddress for parentheses
> ---------------------------------------------
>
> Key: QPID-5225
> URL: https://issues.apache.org/jira/browse/QPID-5225
> Project: Qpid
> Issue Type: Bug
> Environment: Ubuntu 12.04
> qpid 0.14
> qpid-tools 0.12
> Reporter: Kai Qiang Wu
>
> I used Qpid Messaging API (Python), and when created(receiver) use following
> address:
> nova/compute.test,123(bill)@192.168.51.57-443 ; {"node": {"x-declare":
> {"auto-delete": true, "durable": true}, "type": "topic"}, "create": "always",
> "link": {"x-declare": {"auto-delete": false, "exclusive": false, "durable":
> false}, "durable": true, "name": "compute.test,123(bill)@192.168.51.57-443"}}
> But the qpid would complain for address parse for the error like this:
> File "/usr/lib/python2.7/dist-packages/qpid/messaging/endpoints.py", line
> 607, in receiver
> raise e
> MalformedAddress: unrecognized characters line:1,21: for that address,
> I did check, qpid doc said address BNF:
> http://qpid.apache.org/components/programming/book/section-addresses.html#section-address-string-bnf
> it not have token for "(" match, but I am confused when use qpid-config,
> I can create topic like following,
> qpid-config add exchange topic "nova/compute.test,123(bill)@192.168.51.57"
> -a admin/qpid@localhost
> So it seems not right not follow same rule, or I missed something.
> Thanks
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]