ht-
> Von: jay [mailto:mylifemyrulesmyw...@gmail.com]
> Gesendet: Mittwoch, 5. Februar 2014 17:44
> An: users@camel.apache.org
> Betreff: Camel - SFTP rename problems.
>
>
> Hi - i have a requirement to consume the file from remote server using sftp
> and rename the consumed
..
mv /opt/data/somedir/${file:name}
/opt/data/somedir/${file:name}_processed.txt
Bye,
Dirk
-Ursprüngliche Nachricht-
Von: jay [mailto:mylifemyrulesmyw...@gmail.com]
Gesendet: Mittwoch, 5. Februar 2014 17:44
An: users@camel.apache.org
Betreff: Camel - SFTP rename proble
ssue where it is going wrong or let me know the
best approach as i am new to camel sftp?
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-SFTP-rename-problems-tp5746860.html
Sent from the Camel - Users mailing list archive at Nabble.com.
;>> at
>>>>>>> org.apache.camel.component.file.remote.SftpOperations.renameFile(SftpOperations.java:205)
>>>>>>> at
>>>>>>> org.apache.camel.component.file.strategy.GenericFileRenameExclusiveReadLockStrategy.acquireExclusiveReadLoc
ncoming/test_file.pdf to:
>>>>>>> test_file.pdf.camelExclusiveReadLock
>>>>>>> at
>>>>>>> org.apache.camel.component.file.remote.SftpOperations.renameFile(SftpOperations.java:205)
>>>>>>> at
>>>>&g
eReadLockStrategy.acquireExclusiveReadLock(GenericFileRenameExclusiveReadLockStrategy.java:68)
>>>>>> at
>>>>>> org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.begin(GenericFileProcessStrategySupport.java:44)
>>>>>>
gt;> at
>>>>> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:221)
>>>>> at
>>>>> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:137)
>>>>> at
>>
gt;>>> at
>>>> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:103)
>>>> at
>>>> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:106)
>>>> at java.util.concu
>>> Source)
>>> at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
>>> at
>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown
>>> Source)
>>> at
>>> java.util.concurrent.Sch
FutureTask.runPeriodic(Unknown
>> Source)
>> at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
>> Source)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>> Source)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
&g
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: 3:
> at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp
nnelSftp.rename(ChannelSftp.java:1479)
at
org.apache.camel.component.file.remote.SftpOperations.renameFile(SftpOperations.java:202)
... 16 more
[/code]
--
View this message in context:
http://old.nabble.com/SFTP-rename-problems-tp28254146p28254146.html
Sent from the Camel - Users mailing list archive at Nabble.com.
12 matches
Mail list logo