camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r774669 - /camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpProducer.java
Date Thu, 14 May 2009 07:35:31 GMT
Author: ningjiang
Date: Thu May 14 07:35:31 2009
New Revision: 774669

URL: http://svn.apache.org/viewvc?rev=774669&view=rev
Log:
CAMEL-1609 better warn log as claus suggested

Modified:
    camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpProducer.java

Modified: camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpProducer.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpProducer.java?rev=774669&r1=774668&r2=774669&view=diff
==============================================================================
--- camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpProducer.java
(original)
+++ camel/trunk/components/camel-http/src/main/java/org/apache/camel/component/http/HttpProducer.java
Thu May 14 07:35:31 2009
@@ -223,7 +223,7 @@
         if (methodToUse.isEntityEnclosing()) {
             ((EntityEnclosingMethod)method).setRequestEntity(requestEntity);
             if (requestEntity.getContentType() == null) {
-                LOG.warn("Missing the ContentType in the request entity!");
+                LOG.warn("Missing the ContentType in the request entity for the URI " + uri
+ ". The method is " + method);
             }
         }
 



Mime
View raw message