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

ASF subversion and git services commented on QPIDJMS-285:
---------------------------------------------------------

Commit 704817ddbb45328df855c3c29b2cac18f2298ba2 in qpid-jms's branch 
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=704817d ]

QPIDJMS-285 Throw a TransactionRolledBackException on commit if offline

When the FailoverProvider throws from commit for the offline state we
should throw TransactionRolledBackException to indicate the TX has
failed.

> Throw a more meaningful exception when commit fails due to connection being 
> down
> --------------------------------------------------------------------------------
>
>                 Key: QPIDJMS-285
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-285
>             Project: Qpid JMS
>          Issue Type: Improvement
>          Components: qpid-jms-client
>    Affects Versions: 0.21.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 0.22.0
>
>
> When the connection is down and a commit is attempted the failover handler 
> will just throw a JMSException exception to indicate a commit failure where 
> it would be more useful to throw the TransactionRolledBackException instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to