Try setting eagerMaxMessagesPerPoll=false

On Tue, Feb 11, 2014 at 2:27 PM, Paul Anderson <pbander...@gmualumni.org> wrote:
> I'm using Camel 2.10.1 and the Java DSL.
>
> I have a route that begins by polling a directory.  The from() has an
> include parameter to only include files with a certain file extension and
> also a sortBy=file:name to sort the files.
>
> When I start the route, it does select only the files matching the include
> but they are apparently not being sorted.  I tried sortBy=reverse:file:name
> but there is no effect.
>
> What am I doing wrong?  Can these parameters be used together?
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/File-component-include-and-sortBy-together-tp5747115.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Reply via email to