camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Ramkumar.I...@cognizant.com>
Subject RE: An LDAP Consumer would be the LDAP server itself!
Date Thu, 01 Nov 2012 16:18:29 GMT
In fact was thinking about same thing. This will be very important. If LDAP hierarchy changes,
then trigger an event to send email like applications in HR. I remember configuring and using
secure ldap on linux which is like an object model. Looks like LDAP triggers exist (http://directory.apache.org/apacheds/1.5/82-ldap-triggers.html)
and (http://stackoverflow.com/questions/10254297/opendj-intercepting-ldap-events); so it would
be easy to add to camel. Proprietary Ldap also has such solutions.

-----Original Message-----
From: Claus Ibsen [mailto:claus.ibsen@gmail.com]
Sent: Wednesday, October 31, 2012 10:16 PM
To: users@camel.apache.org
Subject: Re: An LDAP Consumer would be the LDAP server itself!

Hi

Oh I forgot. At Apache we love contributions
http://camel.apache.org/contributing.html

I think we have a JIRA ticket about improving camel-ldap to support
"event based triggering".
I can't recall the LDAP functionality. But some LDAP servers allows to
emit an event if X changes etc.

But currently the camel-ldap is limited to the producer side only, as
you got working now.

Anyway if you find something missing / bug / etc. then just shot an
email to this mailing list.


On Wed, Oct 31, 2012 at 5:13 PM, martin11 <mato.krajcir@gmail.com> wrote:
> Hi Claus,
> Thanks again for your help! I resolved my problems by following
> configuration:
> <camelContext xmlns="http://camel.apache.org/schema/spring">     <route
> id="timer-to-console">         <from
> uri="timer://foo?fixedRate=true&amp;amp;period=10s"/>         <!-- set
> filter into Exchange In Body-->         <process ref="ldapProcessor"/>
> <to
> uri="ldap:ldapserver?base=ou=subject,ou=test,o=point&amp;amp;scope=onelevel&amp;amp;returnedAttributes=name"/>
> <marshal><xstream/></marshal>         <to uri="stream:out"/>
    </route>
> </camelContext>
> BTW: I have ordered your book Camel In Action. Looks like very helpful for
> Camel newbie. Thanks for that!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/An-LDAP-Consumer-would-be-the-LDAP-server-itself-tp5721864p5721891.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s)
and may contain confidential and privileged information. If you are not the intended recipient(s),
please reply to the sender and destroy all copies of the original message. Any unauthorized
review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or
any action taken in reliance on the contents of this e-mail is strictly prohibited and may
be unlawful.

Mime
View raw message