e:
> >>
> >>> I am on 2.17.0 and for the life of me cannot get it to work.
> >>>
> >>> I am using this:
> >>>
> >>> .pollEnrich().simple("file:" + location +
> >>> "?fileName=${header.File}&charset=iso-8859-
nrich().simple("file:" + location +
>>> "?fileName=${header.File}&charset=iso-8859-1&"
>>
>>> +
>>>
>>> "move=../archive/${file:name.noext}-${date:now:yyyyMMddHHmm}.${file:ext}")
>>
>>>
>
rchive folder and then it seems to ignore the
> > File language parts and just creates a folder with the name - and
> > puts the filer there.
> >
> > --
> > If you reply to this email, your message will be added to the discussion
> > bel
then it seems to ignore the
> File language parts and just creates a folder with the name - and
> puts the filer there.
>
> ------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/Pol
; puts the filer there.
>
> ------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/PollEnrich-with-file-
> language-tp5787380p5787409.html
> To start a new topic under Camel - Users
t;)
All it does is create the archive folder and then it seems to ignore the
File language parts and just creates a folder with the name - and puts
the filer there.
--
View this message in context:
http://camel.465427.n5.nabble.com/PollEnrich-with-file-language-tp5787380p5787409.html
Sent from the
ou have looks like it should work to me as well.
>
>
>> On Sep 8, 2016, at 1:45 PM, souciance
>> wrote:
>>
>> Well in that case the documentation needs to be updated because looking at:
>> https://camel.apache.org/file2.html
>> in the section *About movedFailed* th
ttps://camel.apache.org/file2.html
> in the section *About movedFailed* that is how it is defined there as well
> without the fileName. But I will try with the fileName just to verify.
> Thanks.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.
context:
http://camel.465427.n5.nabble.com/PollEnrich-with-file-language-tp5787380p5787386.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks Hans, I will try and get back to you.
--
View this message in context:
http://camel.465427.n5.nabble.com/PollEnrich-with-file-language-tp5787380p5787385.html
Sent from the Camel - Users mailing list archive at Nabble.com.
>
> Instead it creates a folder inside importArchive with the name based on
> -${date:now:MMddHHmmssSSS}
>
> Best
> Souciance
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/PollEnrich-with-file-language-tp5787380.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
Onderwerp: PollEnrich with file language
Hi,
Does pollEnrich work properly with the file language?
I have written a simple statement that moves the file after polling and adds
a timestamp to the file. However the output is that it creates a folder with
the timestamp name and ignores the filename
.n5.nabble.com/PollEnrich-with-file-language-tp5787380.html
Sent from the Camel - Users mailing list archive at Nabble.com.
13 matches
Mail list logo