Hi,
The In message contains the request message. and the Out message contains
the reply message.
But I confused as follows:
When my route : from() ---> process() ---> fileEndpoint.
In process, I set the file name, when I set the
getIn().setHeader("CamelFileName","test.txt"); It runs well.
but when I set getOut().setHeader("CamelFileName","test.txt"); It throws
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
store file: c:\ff\test.txt
And when my route: from() ---> process() ---> mailEndpoint.
In process, I set the headers( HashMap contains from,to,cc,subject and so
on) to getIn() and getOut() ; It all runs well.
What difference between above.
--
View this message in context:
http://camel.465427.n5.nabble.com/some-confused-with-In-and-Out-Message-tp3413474p3413474.html
Sent from the Camel - Users mailing list archive at Nabble.com.