You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2015/04/02 20:07:53 UTC

[jira] [Commented] (QPIDJMS-36) consumers and producers on the same Session can use the same link name

    [ https://issues.apache.org/jira/browse/QPIDJMS-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393059#comment-14393059 ] 

Rob Godfrey commented on QPIDJMS-36:
------------------------------------

Why do you consider this a bug?

The AMQP spec says:

" Link names MUST uniquely identify the link amongst all links of the same direction between the two participating containers. "

A consumer and a producer are not in the same direction and so the link names do not have to be unique.

Obviously there may be advantages from a management/monitoring point of view if they are unique, but there is no requirement for them to be, and any container which is relying on such uniqueness would be non-compliant.

> consumers and producers on the same Session can use the same link name
> ----------------------------------------------------------------------
>
>                 Key: QPIDJMS-36
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-36
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.1.0
>            Reporter: Robbie Gemmell
>             Fix For: 0.2.0
>
>
> Consumers and producers on the same Session can use the same link name, as the link name is formed using the connection id + session is and finally a producer or consumer id, which are independantly incremented numbers meaning they can overlap.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org