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

ASF GitHub Bot commented on QPID-8482:
--------------------------------------

Dedeepya-T opened a new pull request #71:
URL: https://github.com/apache/qpid-broker-j/pull/71


   Derived a UUID for session name based on attach name and it can be used to 
log the session name.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to