camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: An LDAP Consumer would be the LDAP server itself!
Date Wed, 31 Oct 2012 16:44:30 GMT
Hi

Ah good you got it working.

Yeah using  timer to trigger X to happen is a common practice.
There is also the quartz component if you want CRON like expressions
to configure when to trigger.

And welcome to the Camel community.



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

Mime
View raw message