Hi Jean-Baptiste and others,
I have recently tried out ServiceMix 3.3 and have thought about writing
a binding component for LDAP as well. Btw. I work in the Directory Team,
so it was a natural question for me how to interact with a directory
(besides authentication/authorization).
The idea of combining it with Camel is valid, although I would prefer a
JBI compliant component with as few dependencies as possible (a plain
servicemix-ldap BC). Just my opinion.
First step would perhaps be a BC which could perform search requests and
return the results as a message.
This is what
http://svn.nanthrax.net/servicemix-ldap/trunk/src/main/java/org/apache/servicemix/ldap/LdapPollerEndpoint.java
seems to do (I have not build and tried it out yet).
I have not fully understood how the component will detect NEW entries in
a search result, but this is probably due to my poor knowledge of what
the parent class PollingEndpoint offers (I am new to ServiceMix).
Perhaps we can discuss this point.
And there are a lot of other interesting options. For instance it would
be imaginable to use DSML as a supported message format (both requests
and responses), which would allow performing arbitrary LDAP request via
an endpoint (creating entries as well, for instance).
Perhaps as another endpoint type.
Greetings from Hamburg,
Stefan
---8<---
Stefan Zoerner ([email protected])
Committer :: PMC Member
Apache Directory Project
http://directory.apache.org