camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r801279 - in /camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean: CxfBeanHeaderNames.java DefaultCxfBeanBinding.java
Date Wed, 05 Aug 2009 15:59:08 GMT
Author: wtam
Date: Wed Aug  5 15:59:08 2009
New Revision: 801279

URL: http://svn.apache.org/viewvc?rev=801279&view=rev
Log:
use CamelHttpBaseUri instead of CamelCxfBeanRequestBasePath

Removed:
    camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean/CxfBeanHeaderNames.java
Modified:
    camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean/DefaultCxfBeanBinding.java

Modified: camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean/DefaultCxfBeanBinding.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean/DefaultCxfBeanBinding.java?rev=801279&r1=801278&r2=801279&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean/DefaultCxfBeanBinding.java
(original)
+++ camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/cxfbean/DefaultCxfBeanBinding.java
Wed Aug  5 15:59:08 2009
@@ -131,7 +131,7 @@
     }
     
     protected String getBasePath(Exchange camelExchange) {
-        String answer = camelExchange.getIn().getHeader(CxfBeanHeaderNames.BASE_PATH, String.class);
+        String answer = camelExchange.getIn().getHeader(Exchange.HTTP_BASE_URI, String.class);
 
         if (answer == null) {
             answer = camelExchange.getFromEndpoint().getEndpointUri();



Mime
View raw message