camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/2] git commit: CAMEL-7436 fixed the unit test error of camel-example-cxf-proxy
Date Wed, 21 May 2014 05:52:09 GMT
CAMEL-7436 fixed the unit test error of camel-example-cxf-proxy


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

Branch: refs/heads/master
Commit: 583af695483be51c6c9a8b9a41bd4793538ae854
Parents: a13c377
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed May 21 11:21:04 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed May 21 11:21:04 2014 +0800

----------------------------------------------------------------------
 .../src/main/resources/META-INF/spring/camel-config.xml            | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/583af695/examples/camel-example-cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
b/examples/camel-example-cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
index a6ed8fe..89074f8 100755
--- a/examples/camel-example-cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
+++ b/examples/camel-example-cxf-proxy/src/main/resources/META-INF/spring/camel-config.xml
@@ -67,6 +67,8 @@
       <to uri="log:input"/>
       <!-- enrich the input by ensure the incidentId parameter is set -->
       <to uri="bean:enrichBean"/>
+      <!-- Need to remove the http headers which could confuse the http endpoint -->
+      <removeHeaders pattern="CamelHttp*"/>
       <!-- send proxied request to real web service -->
       <to ref="callRealWebService"/>
       <!-- log answer from real web service -->


Mime
View raw message