First part is optional, but so many time required, that I believe it worth to
write it down :
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<!-- Allows us to use system properties as variables in this configuration
file -->
<property name="locations">
<list>
<value>file:/etc/myapp/camel-parameters.properties</value><!--
where camel.working.path is defined -->
</list>
</property>
</bean>
....
<route>
<from uri="cxf:bean:reportIncident?dataFormat=MESSAGE"/>
<wireTap uri="file:{{camel.working.path}}/input"/>
<to uri="log:input"/>
<to uri="bean:enrichBean"/>
<to ref="callRealWebService"/>
<wireTap uri="file:{{camel.working.path}}/output"/>
<to uri="log:output"/>
</route>
Cheers.
Francois.
________________________________________
From: jainmcs03 <[email protected]>
Sent: Tuesday, April 28, 2015 8:08 PM
To: [email protected]
Subject: webservice proxy using spring
Hi All,
I have successfully tested the web service proxy example using spring. In
order to explore further, need to write incoming document into .xml file.
pls share me any sample or guide.Below the route.
<route>
<from uri="cxf:bean:reportIncident?dataFormat=MESSAGE"/>
<to uri="log:input"/>
<to uri="bean:enrichBean"/>
<to ref="callRealWebService"/>
<to uri="log:output"/>
</route>
In that above need to write .xml file to store request data into .xml file.
Pls guide.
Regards
jayendran
--
View this message in context:
http://camel.465427.n5.nabble.com/webservice-proxy-using-spring-tp5766439.html
Sent from the Camel - Users mailing list archive at Nabble.com.