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:58 UTC
[4/6] qpid-jms git commit: Fix,
call correct method on wrapped instance.
Fix, call correct method on wrapped instance.
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/76989537
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/76989537
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/76989537
Branch: refs/heads/master
Commit: 76989537b171fbd20958b26338ec8cbf9a604e5f
Parents: b6fb22c
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Jan 28 15:36:38 2015 -0500
Committer: Timothy Bish <ta...@gmail.com>
Committed: Wed Jan 28 15:36:38 2015 -0500
----------------------------------------------------------------------
.../main/java/org/apache/qpid/jms/provider/ProviderWrapper.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/76989537/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderWrapper.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderWrapper.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderWrapper.java
index 5f1f402..4f24805 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderWrapper.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/ProviderWrapper.java
@@ -177,8 +177,7 @@ public class ProviderWrapper<E extends Provider> implements Provider, ProviderLi
@Override
public void onConnectionFailure(IOException ex) {
- //TODO: should this be passing through to onConnectionFailure() instead?
- this.listener.onConnectionInterrupted(this.next.getRemoteURI());
+ this.listener.onConnectionFailure(ex);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org