camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Royamit <amitroy...@gmail.com>
Subject Re: Error while deploying camel proxy in tomcat
Date Thu, 13 Nov 2014 08:18:44 GMT
<?xml version="1.0" encoding="UTF-8"?>


<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:camel="http://camel.apache.org/schema/spring"
       xmlns:cxf="http://camel.apache.org/schema/cxf"
       xmlns:context="http://www.springframework.org/schema/context"
       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://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
       http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd">

  
  <context:property-placeholder
location="classpath:incident.properties,file:target/custom.properties"
                                ignore-resource-not-found="true"/>

								
  <cxf:cxfEndpoint id="versionService"
                  
address="http://localhost:${proxy.port}/camel-example-cxf-proxy/webservices/versionAdapter"
                   endpointName="s:VersionHttpSoap11Endpoint"				   
                   serviceName="s:Version"
                   wsdlURL="etc/versionAdapter.wsdl"
                   xmlns:s="http://axisversion.sample"/>

  
  <camelContext xmlns="http://camel.apache.org/schema/spring">

    
    <propertyPlaceholder id="properties"
location="classpath:incident.properties,file:target/custom.properties"/>

    <endpoint id="callRealWebService"
uri="http://localhost:${real.port}/axis2/services/Version?throwExceptionOnFailure=false"/>

    <route>
      
      <from uri="cxf:bean:versionService?dataFormat=MESSAGE"/>
      
      <to uri="log:input"/>
      
      
	  
	  <removeHeaders pattern="CamelHttp*" />
      
      <to ref="callRealWebService"/>
      
      <to uri="log:output"/>
    </route>

  </camelContext>

</beans>


Above is my camel-config.xml. Now my question is how can i shutdown camel
context from here



--
View this message in context: http://camel.465427.n5.nabble.com/Error-while-deploying-camel-proxy-in-tomcat-tp5758987p5759029.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message