javascript - Cron job using apache camel (plus ldap server) -


i have created 1 cron job from("quartz://myscheduler?cron=20+++++?").bean(ldapbean.class, "start"); (interval time=20s)

now "start" method want make call ldap server fetch data of specific user. from("direct:start").to("ldap:ldapserver?base=ou=group,dc=dc1,dc=dc2").to("bean:ldapbean");

this previous call without cron job.

how can without creating multiple routes. (route created each time method calls). getting testdao null in method

public void process(exchange exchange) {}

why cant do

from quartz   ldap   bean 

Comments