You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/02/01 10:15:00 UTC
[jira] [Updated] (DISPATCH-409) Generated identity strings have
inconsistent format for various types
[ 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 {{
{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"}}.
was:
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"}}.
> 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 {{
> {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"}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org