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:55:01 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 658a15b4a -> 0455e7be2


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/0455e7be
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/0455e7be
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/0455e7be

Branch: refs/heads/master
Commit: 0455e7be2b1e8ba32bc0bb03ec1cf06af0309217
Parents: 658a15b
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:54:28 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/0455e7be/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 c061b54..96c5396 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.KeyManager;
@@ -187,6 +188,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