Re: Problem in converting Cron expression into proper date format.

2013-09-18 Thread loganathan
Can you help me to covert cronexpression into proper date format?our need is whatever cron expression we passes will have to get proper date format whether its a past time cronexpression or future time cronexpression. for example assume we have cron expression like 0 0 12 1/1 * ? * due to some rea

Re: Problem in converting Cron expression into proper date format.

2013-09-16 Thread loganathan
Thanks for your response.while i am using the below code(with spring) the problem i am getting is suppose if today is tuesday but its showing date format for next included time as "Wed Sep 18 10:55:00 IST 2013" But our requirement is not showing next included time our need is to show exact date for

Re: Problem in converting Cron expression into proper date format.

2013-09-16 Thread loganathan
Thanks for quick response Claus.we are using two jars quartz-1.8.6.jar and camel-quartz-2.9.2.jar.I don't see any method as next expected fire time inside both org.quartz.CronExpression and org.quartz.CronTrigger API. Any help on this? -- View this message in context: http://camel.465427.n5.n

Problem in converting Cron expression into proper date format.

2013-09-16 Thread loganathan
I have cron expression like 0 05 14 * * ? to start the route.But what my requirement is i have to convert the same cron expression into proper date format.The following is the code used for converting cron expression into date format. CronExpression cronExpression = new CronExpression("0 05 14 *

Need Help to configure scalability(vertical,horizontal) and network connectors in camel

2013-07-04 Thread loganathan
I need to implement scaling(Horizontal ,vertical) and broker to broker communication network connectors in camel .Actually we are using vm broker url in the xml file. After I gone through camel documents I came to know peer protocol functionality is similar to vm protocol for establishing networ

Problem in getting failure end point details in camel

2013-06-24 Thread loganathan
I have route like this onException(Exception.class).process(new MyProcessor()); if (true) { from("route") .routeId("key") .transacted() .to(route1); } from("ro

Re: How to get failed recipient list name in camel

2013-06-20 Thread loganathan
Thanks for your quick response Claus Ibsen-2.i am using the same way whatever you suggested to me like exchange.getProperty(exchange.FAILURE_ENDPOINT, String.class) for checking this i am manually throwing exception at the time preparing recipient list its showing failed recipient as last name i

How to get failed recipient list name in camel

2013-06-19 Thread loganathan
I have route like this It will create dynamic(Multiple) recipientList at the time of route startup. from("route") .routeId("name") .transacted() .to("route2"); from("route2") .t