You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2010/05/14 19:06:41 UTC

[jira] Commented: (QPID-2586) Give Client 0-10 close semantics not detach

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

Rajith Attapattu commented on QPID-2586:
----------------------------------------

Martin,

The change you made in rev 942098 is causing all the failover tests to fail.
This is due to the session immediately going in to a CLOSED state (instead of DETACHED) and not allowing it to reattach when the connection is created.

I know you sent an email on the dev list regarding this,  but I somehow missed it.

Anyways as a rule of thumb, if the 0-10 code path is changed, then it's best if the cpp test profile is run.
May I request you to revert the change as failover is completely broken here?

Perhaps we can try to figure out another way to fix the issue you raised in this JIRA.

Regards,

Rajith

> Give Client 0-10 close semantics not detach
> -------------------------------------------
>
>                 Key: QPID-2586
>                 URL: https://issues.apache.org/jira/browse/QPID-2586
>             Project: Qpid
>          Issue Type: Improvement
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>
> Currently the way the 0-10 java client creates a session actually means that on close the sessions should detach not close.
> Setting the timeout to 0 on creation will result in it performing a close. The code currently actually performs a close rather than a detach as detach has not been implemented. 
> The setting of the initial timeout to 0 will just mean the client's current behaviour is reflected in correctly in the protocol frames it sends.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org