camel-users mailing list archives

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

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" />

Thank you

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message