Hi, My route is
<from uri="sftp://hostname:22/input?username=xxxx&password=yyyyy&binary=true&localWorkDirectory=/tmp" /> <multicast> <to uri="file:/mnt/input" /> <to uri="file:/mnt/output" /> </multicast> 1) I placed abc.xml in sftp location the file is being transferred only to /mnt/input 2) /mnt/output is empty 3) I am getting the following exception (MessageId: ID-bharath-desktop-32973-1386840329681-8-629 on ExchangeId: ID-bharath-desktop-32973-1386840329681-8-632). Exhausted after delivery attempt: 1 caught: org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: /mnt/input/abc.xml org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: /mnt/input/abc.xml at org.apache.camel.component.file.FileOperations.storeFile(FileOperations.java:264)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] at org.apache.camel.component.file.GenericFileProducer.writeFile(GenericFileProducer.java:249)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] at org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:151)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] Caused by: java.io.FileNotFoundException: /tmp/abc.xml (No such file or directory) at java.io.FileInputStream.open(Native Method)[:1.7.0_21] at java.io.FileInputStream.<init>(FileInputStream.java:138)[:1.7.0_21] at org.apache.camel.util.FileUtil.copyFile(FileUtil.java:398)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] at org.apache.camel.util.FileUtil.renameFile(FileUtil.java:382)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] at org.apache.camel.component.file.FileOperations.writeFileByLocalWorkPath(FileOperations.java:341)[148:org.apache.camel.camel-core:2.10.0.fuse-71-047] What should I do to get this working? Camel Version is 2.10.0 Cheers!!! Bharath.R -- View this message in context: http://camel.465427.n5.nabble.com/LocalWorkDirectory-is-not-working-when-used-with-multicast-tp5744664.html Sent from the Camel - Users mailing list archive at Nabble.com.