You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tejeswar Das (JIRA)" <qp...@incubator.apache.org> on 2007/04/17 21:57:15 UTC

[jira] Assigned: (QPID-432) Client Code doesn't correctly close a JMSSession/Channel when the broker demands it.

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

Tejeswar Das reassigned QPID-432:
---------------------------------

    Assignee: Tejeswar Das

> Client Code doesn't correctly close a JMSSession/Channel when the broker demands it.
> ------------------------------------------------------------------------------------
>
>                 Key: QPID-432
>                 URL: https://issues.apache.org/jira/browse/QPID-432
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Martin Ritchie
>         Assigned To: Tejeswar Das
>
> When a Channel exception occurs the Java client propogates the error but doesn't remove the JMSSession mapping from the connection so when connection.close is called the already closed AMQP-Channel is closed again.. resulting in a ConnectionException.
> See AMQProtocolSession for where the execption is progogated and ignored 
> See Also ChannelCloseException for where the session is only removed from the map when a channel close is received with error code REPLY_SUCCESS other wise it thows an exception before calling this code.. should the code be in a finally?

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


Re: [jira] Assigned: (QPID-432) Client Code doesn't correctly close a JMSSession/Channel when the broker demands it.

Posted by Carl Trieloff <cc...@redhat.com>.
Rajith has a client re-factor on the branch, you might want to connect 
with him as all the JMS stuff is in the client.

Carl.


Tejeswar Das (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/QPID-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Tejeswar Das reassigned QPID-432:
> ---------------------------------
>
>     Assignee: Tejeswar Das
>
>   
>> Client Code doesn't correctly close a JMSSession/Channel when the broker demands it.
>> ------------------------------------------------------------------------------------
>>
>>                 Key: QPID-432
>>                 URL: https://issues.apache.org/jira/browse/QPID-432
>>             Project: Qpid
>>          Issue Type: Bug
>>          Components: Java Client
>>            Reporter: Martin Ritchie
>>         Assigned To: Tejeswar Das
>>
>> When a Channel exception occurs the Java client propogates the error but doesn't remove the JMSSession mapping from the connection so when connection.close is called the already closed AMQP-Channel is closed again.. resulting in a ConnectionException.
>> See AMQProtocolSession for where the execption is progogated and ignored 
>> See Also ChannelCloseException for where the session is only removed from the map when a channel close is received with error code REPLY_SUCCESS other wise it thows an exception before calling this code.. should the code be in a finally?
>>     
>
>