Hello guys, I would like to kindly ask you if anyone knows how to solve this issue:
I have a web app which is synchronized with ldap and is checking ldap every minute if there are new groups. If so, then the app will take the groups from ldap and inserts them into its internal database. Then I have karaf(2.3.1)+camel(2.11) with route which is creating a project in my app and group in ldap. After this operation I am also adding some user rights to the newly created internal group Problem is that there is the one minute synchronization interval between my app and ldap. My route is quick and creates the poject and ldap group within seconds and when I want to add user rights to group from internal database it does not exist yet, because it is not yet synchronized. *I need to do something like this* create project -> create ldap group -> check if group is already synchronised and exists in internal database of my app -> if not then wait one minute -> then check again -> if group exists in internal database(if not then wait another minute and even if it is not present after 2 minutes then throw exception) -> add user rights -> route end I was trying to use SimpleScheduledPolicy http://camel.apache.org/simplescheduledroutepolicy.html but I wasn't able to use it as I need. Thanks for help Roman -- View this message in context: http://camel.465427.n5.nabble.com/Camel-repeat-route-tp5762348.html Sent from the Camel - Users mailing list archive at Nabble.com.