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

Rajith Attapattu updated QPID-3461:
-----------------------------------

    Attachment: TxFailover.java

Attaching a reproducer created by Siddhesh Poyarekar. 

To run the reproducer,
1. Start a two node cluster
2. run TxFailover and kill the broker (on port 5672) when the program prompts 
you to.

You can observe that the JMS client throws a SessionException instead of a 
JMSException

> A SessionException is thrown (instead of a JMSException) when an error occurs 
> during a commit.
> ----------------------------------------------------------------------------------------------
>
>                 Key: QPID-3461
>                 URL: https://issues.apache.org/jira/browse/QPID-3461
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.10, 0.12
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.14
>
>         Attachments: TxFailover.java
>
>
> If the broker throws a session level exception, during or just before the 
> client invokes a commit on a transaction, the JMS client throws a 
> SessionException instead of a JMSException.
> This is due to the AMQSession_0_10.java not handing the SessionException.
> (Please note this issue is only present in the 0-10 code path).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to