cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: Adding a fine-level log message confirming that AsyncConduit is active
Date Fri, 11 Apr 2014 12:57:00 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 94388bd69 -> f67a10f10


Adding a fine-level log message confirming that AsyncConduit is active


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

Branch: refs/heads/2.7.x-fixes
Commit: f67a10f1090a45825285ff8e368376117cb2bb9a
Parents: 94388bd
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Apr 11 13:54:28 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Apr 11 13:56:27 2014 +0100

----------------------------------------------------------------------
 .../apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/f67a10f1/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
index b4a2ae7..2712cfc 100644
--- a/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
+++ b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
@@ -39,6 +39,7 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.Future;
+import java.util.logging.Level;
 
 import javax.net.ssl.HostnameVerifier;
 import javax.net.ssl.HttpsURLConnection;
@@ -171,6 +172,9 @@ public class AsyncHTTPConduit extends URLConnectionHTTPConduit {
         }
 
         message.put(USE_ASYNC, Boolean.TRUE);
+        if (LOG.isLoggable(Level.FINE)) {
+            LOG.fine("Asynchronous connection to " + uri.toString() + " has been set up");
+        }
         message.put("http.scheme", uri.getScheme());
         String httpRequestMethod = 
             (String)message.get(Message.HTTP_REQUEST_METHOD);


Mime
View raw message