You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Alarm <st...@yahoo.com> on 2015/01/23 08:48:21 UTC
Inconsistency on LDAP Component and Documentation
Hello,
i am trying to work with the LDAP component. Unfortunately there are not
many valuable resources or documentation on this topic. Even the
documentation tha exists under http://camel.apache.org/ldap.html seems to be
outdated.
Under Sampels section there is the following code line:
Collection<?> results = (Collection<?>) (template.sendBody(
"ldap:ldapserver?base=ou=mygroup,ou=groups,ou=system",
"(member=uid=huntc,ou=users,ou=system)"));
Reading the Java doc for sendBody, it looks that the functions with two
arguments are void, so it would be impossible to return a collection as
shown above.
Could you please provide a valuable example with will use the following
function described in the Java API ?
sendBody(Endpoint endpoint, ExchangePattern pattern, Object body).
Furthermore, how would the direct:start on the LDAP component translate in
the "from" endpoint ?
Thank you.
--
View this message in context: http://camel.465427.n5.nabble.com/Inconsistency-on-LDAP-Component-and-Documentation-tp5762043.html
Sent from the Camel - Users mailing list archive at Nabble.com.