<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
			http://www.springframework.org/schema/beans/spring-beans.xsd 
			http://www.springframework.org/schema/util 
			http://www.springframework.org/schema/util/spring-util.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 
			http://cxf.apache.org/configuration/security 
			http://cxf.apache.org/schemas/configuration/security.xsd 
			http://cxf.apache.org/transports/http/configuration 
			http://cxf.apache.org/schemas/configuration/http-conf.xsd">
	
	<!-- Camel Contextのコンフィギュレーション -->
	<camelContext xmlns="http://camel.apache.org/schema/spring" autoStartup="true" delayer="0" id="camel" trace="false">
    <propertyPlaceholder id="properties" location=""/>
    <jmxAgent id="jmx" mbeanObjectDomainName="eai.WsToLog" serviceUrlPath="/jmxrmi/eai.WsToLog" usePlatformMBeanServer="true"/>
    <threadPoolProfile defaultProfile="true" id="myThreadPoolDefault" maxPoolSize="20" maxQueueSize="1000" poolSize="10"/>
    <endpoint id="WS_Source" uri="cxf:bean:WS_Source__cxfsource_bean?dataFormat=POJO&amp;loggingFeatureEnabled=true&amp;synchronous=true"/>
    <endpoint id="ログ2" uri="log:testlog?level=INFO&amp;showBodyType=true&amp;showBody=true&amp;showOut=false&amp;multiline=false&amp;showHeaders=true"/>
    <route id="route_WS_Source">
      <from ref="WS_Source"/>
      <setExchangePattern pattern="InOut"/>
      <to ref="ログ2"/>
      <to uri="Process"/>
    </route>
  </camelContext>

  <import resource="classpath:META-INF/cxf/cxf.xml"/>
  <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
  <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml"/>
  <cxf:cxfEndpoint xmlns:cxf="http://camel.apache.org/schema/cxf"
  					address="http://0.0.0.0:9000/hello"
  					id="WS_Source__cxfsource_bean"
  					
  					serviceClass="sample.IHello"/>
  <bean class="sample.Process" id="Process"/>
  </beans>