Re: CronSchedulePolicy with cxf endpoint

2013-04-09 Thread Christian Müller
Can you provide a simple unit test? Or can you enable TRACE/DEBUG logging for org.apache.camel and share the log? Best, Christian On Thu, Apr 4, 2013 at 6:50 AM, Richa wrote: > We are stopping the route dynamically using a shutdown processor based on > some business conditions. > Basically, sh

Re: CronSchedulePolicy with cxf endpoint

2013-04-03 Thread Richa
We are stopping the route dynamically using a shutdown processor based on some business conditions. Basically, shutdown processor has the below code: exchange.getContext().stopRoute(RouteID,6,TimeUnit.MILLISECONDS); This results in the following log statement on the console: "Graceful shutdo

Re: CronSchedulePolicy with cxf endpoint

2013-04-03 Thread Christian Müller
I miss the "routeStopTime" configuration [1]. Otherwise the route is still running. Do I miss something? [1] http://camel.apache.org/cronscheduledroutepolicy.html Best, Christian On Wed, Apr 3, 2013 at 8:51 AM, Richa wrote: > My route looks like this: > > CronScheduledRoutePolicy cronSchedule

Re: CronSchedulePolicy with cxf endpoint

2013-04-02 Thread Richa
My route looks like this: CronScheduledRoutePolicy cronScheduledRoutePolicy=new CronScheduledRoutePolicy(); cronScheduledRoutePolicy.setRouteStartTime("0 0/3 * * * ?"); from("some sftp location") .noAutoStartup() .routePolicy(cronScheduledRoutePolicy) .to("cxf location") -- View this message i

Re: CronSchedulePolicy with cxf endpoint

2013-04-02 Thread Christian Müller
Can you share your route/configuration with us? Sent from a mobile device Am 02.04.2013 11:46 schrieb "Richa" : > Hi, > I have a cron expression which triggers the route at a particular time > everyday. This works fine with all the endpoints like ftp,sftp, etc. But > when I use a cxf endpoint, th