qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPIDJMS-285) Throw a more meaningful exception when commit fails due to connection being down
Date Mon, 10 Apr 2017 16:46:41 GMT

    [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message