Hi Stefan, YOu have right, the poller get LDAP entries (taking a base search, a filter, etc), use a marshaler to generate a NormalizedMessage and send into the NMR. The sender can insert a NormalizedMessage into a LDAP directory (using a binddn).
The purpose of this kind of "lab" is to identify if (and how) it's possible to use directly a Camel component in SMX (as a JBI one) and use a JBI Components as Camel component. It will be great to identify a cross endpoint :) Greetings from south of France :) JB On Thursday 05 February 2009 - 12:19, Stefan Zoerner wrote: > 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 > -- Jean-Baptiste Onofré (Nanthrax) BuildProcess/AutoDeploy Project Leader http://buildprocess.sourceforge.net [email protected] PGP : 17D4F086
