File Exists

2014-01-29 Thread JKemp
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 File component, but I haven't found anything that looks pro

Re: File Exists

2014-01-30 Thread JKemp
I think I'm struggling a bit with where to put the filter expression. Say I have a route like this:

Re: File Exists

2014-01-31 Thread JKemp
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";>

RE: File Exists

2014-02-06 Thread JKemp
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

RE: File Exists

2014-02-13 Thread JKemp
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

Issues with resolving a JDBC component

2011-12-26 Thread JKemp
Hey guys, I'm having issues putting a JDBC component into my route. I keep seeing this error when trying to create my route: "InvocationTargetException: org.apache.camel.FailedToCreateRouteException: Failed to create route route1 at: >>> To[jdbc:dataSource] <<< in route: Route[[From[timer://JDBC

Re: Issues with resolving a JDBC component

2011-12-26 Thread JKemp
Oh, awesome. That got it working. I must have misread the JDBC component documentation and I added the spring-jdbc dependency instead of the camel-jdbc dependency. Thanks so much for the quick response! -- View this message in context: http://camel.465427.n5.nabble.com/Issues-with-resolving-a-