On Thu, Feb 13, 2014 at 9:23 PM, JKemp wrote:
> Hey guys,
>
> Does anyone have any further ideas here? I don't see any obvious way to get
> the listing of file names. Or should I be looking at another way to solve
> this problem?
>
You can use the java.io file api to check if a file exists and
Hey guys,
Does anyone have any further ideas here? I don't see any obvious way to get
the listing of file names. Or should I be looking at another way to solve
this problem?
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/File-Exists-tp5746608p5747277.html
Sent fr
I feel like I'm still missing something here. I don't see anything in the
GenericFile that is passed in that represents a listing of the file names
that the batch polling picked up.
http://camel.apache.org/maven/camel-2.12.0/camel-core/apidocs/org/apache/camel/component/file/GenericFile.html
, February 01, 2014 1:17 AM
To: users@camel.apache.org
Subject: Re: File Exists
Ah, whoops, my fault. I was looking at the File documentation and not at
File2.
I think I have a working solution, but I'm wondering if I'm going about this
in the best way.
I set up my route with
Ah, whoops, my fault. I was looking at the File documentation and not at
File2.
I think I have a working solution, but I'm wondering if I'm going about this
in the best way.
I set up my route with the filter:
http://camel.apache.org/schema/spring";>
Hi
See the file component docs
http://camel.apache.org/file2
About the filter option, and further down with some examples how to
implement and use that, at section -
Filter using org.apache.camel.component.file.GenericFileFilter
On Fri, Jan 31, 2014 at 2:40 AM, JKemp wrote:
> I think I'm strug
I think I'm struggling a bit with where to put the filter expression. Say I
have a route like this:
Need to check how it behaves ?
>
Camel filters first the files, before it processes the batch of files
that was accepted.
>
>
> -Original Message-
> From: Claus Ibsen [mailto:claus.ib...@gmail.com]
> Sent: Thursday, January 30, 2014 3:44 PM
> To: users@camel.apache
Ibsen [mailto:claus.ib...@gmail.com]
Sent: Thursday, January 30, 2014 3:44 PM
To: users@camel.apache.org
Subject: Re: File Exists
On Thu, Jan 30, 2014 at 4:49 AM, JKemp wrote:
> Hey guys,
>
> I'm trying to write a Camel route that will only kick off once two files are
> present on
On Thu, Jan 30, 2014 at 4:49 AM, JKemp wrote:
> Hey guys,
>
> I'm trying to write a Camel route that will only kick off once two files are
> present on the server, but I can't seem to figure out an easy way to do
> this. I was hoping there'd be a Simple command for this or some feature in
> the F
Hi Jakob,
Perhaps you can do a poll using an generic filename filter that matches
both files and combine this with an aggregator (
http://camel.apache.org/aggregator2.html)?
So you have the aggregator wait until both files are polled, this can
probably be done by using a completionPredicate on the
11 matches
Mail list logo