hi .actually i need to call java method on future specific time. and i am
using cron pattern for creating the time but i am not getting how to call
the my java method 

This is my simple code which invoke the method

        CamelContext context = new DefaultCamelContext();
                context.addRoutes(new RouteBuilder() {
                    public void configure() {
                        
from("quartz2://myGroup/myfirstrigger?cron=0/2+*+*+*+*+?").to(new
Schedule().show());
                        
                    }
                });
                context.start();
 
   the show() method available inside the schedule class so how to call. i
do not have any idea.










--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-call-java-method-using-quartz2-tp5742192.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to