Hello, I have one problema. In one folder I have more tar files. I want to untar this files and move them in other folder.
<route id="route-archive-folder1"> <from uri="timer://tm?fixedRate=true&period=3s"/> <setHeader headerName="folderNumber"> <simple>folder1</simple> </setHeader> <to uri="direct:route-archive"/> </route> <route id="route-archive-folder2"> <from uri="timer://tm?fixedRate=true&period=3s"/> <setHeader headerName="folderNumber"> <simple>folder2</simple> </setHeader> <to uri="direct:route-archive"/> </route> <route id="route-archive"> <from uri="direct:route-archive"/> * <recipientList> <simple>file:C://archive/input/archive_tar/${header.folderNumber}</simple> </recipientList> * <multicast stopOnException="true" parallelProcessing="true" > <to uri="bean:redLightService?method=unTar"/> <recipientList> <simple>file:C://archive/ftp/${header.folderNumber}?fileExist=Override</simple> </recipientList> </multicast> </route> Because I have to read from more folder I want to pass folder name from one route to other route. The proble apear when I try to read archive file from folder. I receive thi error: org.apache.camel.component.file.GenericFileOperationFailedException: Cannot write null body to file: Where is the mistake? -- View this message in context: http://camel.465427.n5.nabble.com/ERROR-MESSAGE-org-apache-camel-component-file-GenericFileOperationFailedException-Cannot-write-null--tp5758470.html Sent from the Camel - Users mailing list archive at Nabble.com.