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
I think I'm struggling a bit with where to put the filter expression. Say I
have a route like this:
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";>
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
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
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
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-