[
https://issues.apache.org/jira/browse/DISPATCH-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiri Daněk updated DISPATCH-409:
--------------------------------
Description:
When creating {{autoLink}}s, they get assigned identities in the form of a
simple number, e.g. "4"
{noformat}
$ qdmanage query --type autoLink
[
...
{
"addr": "jms.queue.second",
"linkRef": "20",
"operStatus": "active",
"connection": "ba",
"identity": "5",
"phase": 0,
"type": "org.apache.qpid.dispatch.router.config.autoLink",
"dir": "out"
}
]
{noformat}
In contrast to that, connectors do get much more sophisticated identity
strings, for example {{connector/172.28.128.221:amqp:ba}}.
I'd expect the identity strings to have a consistent form across types.
To be consistent with python the autoLink shown above should be {{"identity":
"autoLink/5"}}.
was:
When creating {{
{code:java}
autoLink{code}
}}s, they get assigned identities in the form of a simple number, e.g. "4"
{noformat}
$ qdmanage query --type autoLink
[
...
{
"addr": "jms.queue.second",
"linkRef": "20",
"operStatus": "active",
"connection": "ba",
"identity": "5",
"phase": 0,
"type": "org.apache.qpid.dispatch.router.config.autoLink",
"dir": "out"
}
]
{noformat}
In contrast to that, connectors do get much more sophisticated identity
strings, for example {{connector/172.28.128.221:amqp:ba}}.
I'd expect the identity strings to have a consistent form across types.
To be consistent with python the autoLink shown above should be {{"identity":
"autoLink/5"}}.
> Generated identity strings have inconsistent format for various types
> ---------------------------------------------------------------------
>
> Key: DISPATCH-409
> URL: https://issues.apache.org/jira/browse/DISPATCH-409
> Project: Qpid Dispatch
> Issue Type: Bug
> Affects Versions: 0.6.0
> Reporter: Jiri Daněk
> Assignee: Ted Ross
> Priority: Major
> Fix For: Backlog
>
>
> When creating {{autoLink}}s, they get assigned identities in the form of a
> simple number, e.g. "4"
> {noformat}
> $ qdmanage query --type autoLink
> [
> ...
> {
> "addr": "jms.queue.second",
> "linkRef": "20",
> "operStatus": "active",
> "connection": "ba",
> "identity": "5",
> "phase": 0,
> "type": "org.apache.qpid.dispatch.router.config.autoLink",
> "dir": "out"
> }
> ]
> {noformat}
> In contrast to that, connectors do get much more sophisticated identity
> strings, for example {{connector/172.28.128.221:amqp:ba}}.
> I'd expect the identity strings to have a consistent form across types.
> To be consistent with python the autoLink shown above should be {{"identity":
> "autoLink/5"}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]