Hi
This is my code... in this finally the contents from the queue is not
written as otherwise.xml but start.xml is rewritten there with transformed
code.
<?xml version="1.0" encoding="UTF-8"?>
<blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
<camelContext xmlns="http://camel.apache.org/schema/blueprint"
trace="true">
<route>
<from uri="file://inputdir/"/>
<to uri="activemq:queue:inputQueue"/>
</route>
<route>
<from uri="activemq:queue:inputQueue"/>
<to
uri="xslt:file:C:\ESB\Fuse_ESB_4.4\apache-servicemix-4.4.0-fuse-00-27\design.xsl"/>
<to uri="activemq:queue:outputQueue"/>
</route>
<route>
<from uri="activemq:queue:outputQueue"/>
<to uri="file:/outputdir?fileName=otherwise.xml"/>
</route>
</camelContext>
</blueprint>
-----
Cheers
Guru
--
View this message in context:
http://servicemix.396122.n5.nabble.com/File-reading-and-writing-issue-tp4553223p4560048.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.