Re: Custom sorting using the file component

2016-01-28 Thread David Hoffer
Is it possible to use groovy or xml to configure this or does this have to be java? I'm at production site so using some configuration or script would be preferred. On Jan 27, 2016 11:50 PM, "Claus Ibsen" wrote: > Hi > > Yes implement your own sorter, see the sorter option > http://camel.apache.

Re: Custom sorting using the file component

2016-01-27 Thread Claus Ibsen
Hi Yes implement your own sorter, see the sorter option http://camel.apache.org/file2 On Thu, Jan 28, 2016 at 7:17 AM, David Hoffer wrote: > I have a route that receives several different file types and the names > vary too but always contain a timestamp. I need to process these > in timestamp

Custom sorting using the file component

2016-01-27 Thread David Hoffer
I have a route that receives several different file types and the names vary too but always contain a timestamp. I need to process these in timestamp order and planned to use sortBy=file:name, this worked fine in testing but now that we are closer to production we are finding that the file names o