You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2015/01/28 22:20:56 UTC

[2/6] qpid-jms git commit: Call the right failure handler

Call the right failure handler

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/f0b1e907
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/f0b1e907
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/f0b1e907

Branch: refs/heads/master
Commit: f0b1e907515e592688686ead3795abbbca1f3251
Parents: 034717d
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Jan 28 13:14:12 2015 -0500
Committer: Timothy Bish <ta...@gmail.com>
Committed: Wed Jan 28 13:14:12 2015 -0500

----------------------------------------------------------------------
 .../org/apache/qpid/jms/provider/failover/FailoverProvider.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/f0b1e907/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java
index 5a8ce49..20d8b56 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/failover/FailoverProvider.java
@@ -814,7 +814,7 @@ public class FailoverProvider extends DefaultProviderListener implements Provide
                     requests.remove(id);
                     getWrappedRequest().onFailure(e);
                 } catch (JMSException jmsEx) {
-                    onFailure(jmsEx);
+                    getWrappedRequest().onFailure(e);
                 } catch (Throwable e) {
                     LOG.debug("Caught exception while executing task: {}", e.getMessage());
                     triggerReconnectionAttempt();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org