Went with the suggestion of going by filename, and since there's already a
script to move the files into the directory just had the script put a
timestamp on during the move. Thank you for the assistance, kind sir.
--
View this message in context:
http://camel.465427.n5.nabble.com/Way-to-have-Cam
You are quite right! Okay, now I have a slightly different problem. Is there
a flag to look for the time the file was created instead of when it was last
modified? When moving a block of files into the directory, they all have the
same modified time.
--
View this message in context:
http://camel.
Thinking I should include the line that I am trying to use, maybe I just have
the order wrong or something. The line should pick up a file from
schedBatchInput, and move it to archive when its done. I'm hoping this will
pick up the OLDEST file first, I'd prefer to select by file create time than
la
Well, that was my initial read as well, but using
sortBy=reverse:file:modified did not seem to change the order files were
picked up. I then ran files through with sortBy=file:modified and things
were processed in the same order as before, where I expected something to
change.
--
View this message
Is there a way to determine which file is picked up by a route first when
there are several files in a directory? I looked into sortby and Sort, but
those seem to be for arranging the content of a single message/file, which
is not what I want. I am working on a Spring/Camel application that picks u