y did that.
Cheers
Nick
--
View this message in context:
http://old.nabble.com/FileComponent-Camel-2.2-tp28154602p28165108.html
Sent from the Camel - Users mailing list archive at Nabble.com.
the
>> output file in a different directory and emails to say successful.
>>
>> Cheers
>> Nick
>>
>>
>> Claus Ibsen-2 wrote:
>>>
>>> Hi
>>>
>>> Could you post your route? I will then use it to reproduce the issue
>
te:
>>>
>>> We are setting FILE_ID in the header
>>>
>>> .setHeader(FILE_ID, SimpleLanguage.simple("${file:onlyname.noext}"))
>>>
>>> If I change the file expression to ${file:name.ext} then it does move it
>>> to
>>
t; + to);
}
This implies it always uses the absolute file path instead of the relative
file path ?
Nick
--
View this message in context:
http://old.nabble.com/FileComponent-Camel-2.2-tp28154602p28163859.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ell
> wrote:
>>
>> We are setting FILE_ID in the header
>>
>> .setHeader(FILE_ID, SimpleLanguage.simple("${file:onlyname.noext}"))
>>
>> If I change the file expression to ${file:name.ext} then it does move it
>> to
>> .camel folder. I confused as
hange the file expression to ${file:name.ext} then it does move it to
> .camel folder. I confused as to why it worked before and not now though.
> --
> View this message in context:
> http://old.nabble.com/FileComponent-Camel-2.2-tp28154602p28162146.html
> Sent from the Camel
ext:
http://old.nabble.com/FileComponent-Camel-2.2-tp28154602p28162146.html
Sent from the Camel - Users mailing list archive at Nabble.com.
a:205)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context:
http://old.nabble.com/FileComponent-Camel-2.2-tp28154602p2
; java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>> at
>>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
>>> at
>>> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>>>
olExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
>> at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
>> at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
xecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
>
> Thanks
> Nick
> --
> View this message in context:
> http://old.nabble.com/Fi
http://old.nabble.com/FileComponent-Camel-2.2-tp28154602p28154602.html
Sent from the Camel - Users mailing list archive at Nabble.com.
12 matches
Mail list logo