It looks like i found a solution without knowing if this is the best one:

I use the direct:start as endpoint. 

from("direct:start").to("ldap:ldapserver?base=dc=company,dc=com").process....

Then catch this endpoint and add my search criteria and send it to the ldap
endpoint:

Endpoint endpoint = context.getEndpoint("direct:start");
Exchange exchange = endpoint.createExchange();
exchange.getIn().setBody("uid=user1");

Finally catch the data through the exchange in the processs() function. 

Please do let me know if there is a better solution thank this.

Thank you.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-trigger-LDAP-Endpoint-tp5762103p5762104.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to