You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/03/22 13:10:40 UTC
camel git commit: Added test of a jetty http engine configure in
camel-cxf
Repository: camel
Updated Branches:
refs/heads/master 8639a14ea -> 89cbfd89a
Added test of a jetty http engine configure in camel-cxf
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/89cbfd89
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/89cbfd89
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/89cbfd89
Branch: refs/heads/master
Commit: 89cbfd89aa7b8bac277f49af5668ad9b61ee6bd4
Parents: 8639a14
Author: Willem Jiang <wi...@gmail.com>
Authored: Fri Mar 20 21:29:19 2015 +0800
Committer: Willem Jiang <wi...@gmail.com>
Committed: Sun Mar 22 08:37:07 2015 +0800
----------------------------------------------------------------------
.../component/cxf/GreeterEndpointsRouterContext.xml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/89cbfd89/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/GreeterEndpointsRouterContext.xml
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/GreeterEndpointsRouterContext.xml b/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/GreeterEndpointsRouterContext.xml
index 208421c..5f6b9e0 100644
--- a/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/GreeterEndpointsRouterContext.xml
+++ b/components/camel-cxf/src/test/resources/org/apache/camel/component/cxf/GreeterEndpointsRouterContext.xml
@@ -18,11 +18,13 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://camel.apache.org/schema/cxf"
-
+ xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
+ http://cxf.apache.org/transports/http-jetty/configuration http://cxf.apache.org/schemas/configuration/http-jetty.xsd
+
">
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<!-- Added the import for testing the CAMEL-329 -->
@@ -50,7 +52,14 @@
endpointName="s:SoapPort"
serviceName="s:SOAPService"
xmlns:s="http://apache.org/hello_world_soap_http" />
-
+
+
+ <httpj:engine-factory>
+ <httpj:engine port="${CXFTestSupport.port1}">
+ <httpj:threadingParameters minThreads="20" maxThreads="20"/>
+ </httpj:engine>
+ </httpj:engine-factory>
+
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route errorHandlerRef="noErrorHandler">
<from uri="cxf:bean:routerEndpoint" />