camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdeweer <bertrand.dew...@gmail.com>
Subject How to read file inside a route?
Date Mon, 09 Jan 2017 08:32:29 GMT
Hello,

I have a simple SOAP WS that takes a filename as entry (string) and a file
payload as output.

Inside the route I have to read the file to get the content.

How to make it with camel ?

Can I use the file compoment or do I need to use the java NIO api inside a
Camel processor ?

How to use the file component in this case ?

My route looks like this :

<route id="getPayload">
            <from uri="cxf:bean:documentServiceEndpoint" />

            <process ref="responseProcessor" />
</route>

Thank you



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-read-file-inside-a-route-tp5792292.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message