You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Jira)" <ji...@apache.org> on 2020/11/23 14:13:00 UTC

[jira] [Updated] (QPID-8482) [Broker-J][AMQP 0-10] Derive model session name from the name passed in attach

     [ https://issues.apache.org/jira/browse/QPID-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-8482:
-----------------------------
    Description: 
AMQP 0-10 requires to use a unique session name. If session with a given name already exists, the attach attempt ends up in detach being sent from broker with {{session-busy}} detach code. The attach session name is not exposed in any way via management. Thus, it is not possible to determine what session names are already used.

Potentially, the  name provided in attach can be exposed as a derived attribute. It will allow to debug and identify such issues like client disconnects due to session name being already used by other sessions.






  was:
AMQP 0-10 requires to use a unique session name. If session with a given name already exists, the attach attempt ends up in detach being sent from broker with {{session-busy}} detach code. The attach session name is not exposed in any way via management. Thus, it is not possible to determine what session names are already used.

Potentially, the  name provided in attach can be used as a model session name. It will allow to debug and identify such issues like client disconnects due to session name being already used by other sessions.

A Binary type is used for session name in attach. The broker can try to convert the given bytes into string. If provided bytes are valid character bytes, we can create a session name from those bytes. Otherwise, base64 encoding can be used to create a session name.





> [Broker-J][AMQP 0-10] Derive model session name from the name passed in attach
> ------------------------------------------------------------------------------
>
>                 Key: QPID-8482
>                 URL: https://issues.apache.org/jira/browse/QPID-8482
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>            Reporter: Alex Rudyy
>            Priority: Major
>
> AMQP 0-10 requires to use a unique session name. If session with a given name already exists, the attach attempt ends up in detach being sent from broker with {{session-busy}} detach code. The attach session name is not exposed in any way via management. Thus, it is not possible to determine what session names are already used.
> Potentially, the  name provided in attach can be exposed as a derived attribute. It will allow to debug and identify such issues like client disconnects due to session name being already used by other sessions.



--
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