Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 13bb904f0e
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (74 sloc) 4.169 kb
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ctx="http://www.springframework.org/schema/context"
xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.springframework.org/schema/osgi-compendium
http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/transport/jbi/cxf-transport-jbi.xml" />
<import resource="classpath:META-INF/cxf/binding/jbi/cxf-binding-jbi.xml" />
<osgi:reference id="componentRegistry"
interface="org.apache.servicemix.jbi.runtime.ComponentRegistry"
cardinality="1..1" />
<bean id="servicemix-cxf-se" class="org.apache.servicemix.cxfse.CxfSeComponent">
<property name="bus" ref="cxf" />
<property name="executorFactory" ref="executorFactory" />
<property name="componentRegistry" ref="componentRegistry"/>
</bean>
<bean id="executorFactory" class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
<property name="defaultConfig">
<bean class="org.apache.servicemix.executors.impl.ExecutorConfig">
<property name="corePoolSize" value="${threadPoolCorePoolSize}"/>
<property name="maximumPoolSize" value="${threadPoolMaximumPoolSize}"/>
<property name="queueSize" value="${threadPoolQueueSize}"/>
</bean>
</property>
</bean>
<bean id="endpoint-tracker" class="org.apache.servicemix.common.osgi.EndpointTracker">
<property name="component" ref="servicemix-cxf-se" />
</bean>
<osgi:list id="endpoints"
interface="org.apache.servicemix.common.osgi.EndpointWrapper"
cardinality="0..N">
<osgi:listener ref="endpoint-tracker" bind-method="register" unbind-method="unregister" />
</osgi:list>
<osgi:service ref="servicemix-cxf-se" interface="javax.jbi.component.Component">
<osgi:service-properties>
<entry key="NAME" value="servicemix-cxf-se" />
<entry key="TYPE" value="service-engine" />
</osgi:service-properties>
</osgi:service>
<osgix:cm-properties id="cmProps" persistent-id="org.apache.servicemix.components.cxfse">
<prop key="threadPoolCorePoolSize">8</prop>
<prop key="threadPoolMaximumPoolSize">32</prop>
<prop key="threadPoolQueueSize">256</prop>
</osgix:cm-properties>
<ctx:property-placeholder properties-ref="cmProps" />
</beans>
Jump to Line
Something went wrong with that request. Please try again.