Re: how to do a registry of type: javax.sql.DataSource

2013-03-23 Thread takidean
Hi Mr claus is still get this message im so pressed i have to do it for my project of end of year public static void main(String[] args) throws Exception { // TODO Auto-generated method stub //DataSource dd; DriverManagerDataSource ds = new DriverManagerDa

Re: how to do a registry of type: javax.sql.DataSource

2013-03-23 Thread takidean
Hi Mr claus is still get this message im so pressed i have to do it for my project of end of year /**main**/ public static void main(String[] args) throws Exception { // TODO Auto-generated method stub //DataSource dd; Dri

Re: Starting route defined in XML query

2013-03-23 Thread Claus Ibsen
There is a Main class that can do that in camel-core and camel-spring. See more here http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html On Fri, Mar 22, 2013 at 11:01 PM, gilboy wrote: > Hi > > I read somewhere in the past of a utility class provided by camel which you

Re: How can I perform immediate shutdown of a context and all it's routes and services, etc.?

2013-03-23 Thread Claus Ibsen
Hi Just set the shutdown timeout to 1 milli second (or 1 sec) etc. And just call stop on CamelContext. And if you extend the CamelTestSupport classes for your unit tests. There may be a method you can override and return 1 to indiciate 1 sec timeout. On Fri, Mar 22, 2013 at 5:23 PM, Chris Wolf

Re: How to schedule FTP with quartz?

2013-03-23 Thread Pontus Ullgren
This is probably because your route is autoStart=false. So you the first time you need to start it. In my example you see I set both the start and resume schedule to the same cron expression. So the policy will trigger both a start and a resume action. And you will get a WARN log since the first t