Hi As I have been trying to tell you, you cannot start a route from the ldap component. eg <from uri="ldap..."> is not possible.
You can use a timer component to trigger a route to trigger X interval, and then invoke the ldap endpoint etc. And you may get a bit help by looking at some of the unit tests of the component itself such as https://svn.apache.org/repos/asf/camel/trunk/components/camel-ldap/src/test/java/org/apache/camel/component/ldap/LdapRouteTest.java On Wed, Oct 31, 2012 at 11:56 AM, martin11 <mato.kraj...@gmail.com> wrote: > I removed bean *ldapserver* and I don`t have any other bean with this name. > But I still use this bean in route: > <camelContext xmlns="http://camel.apache.org/schema/spring"> <route > id="ldap-route"> <from > uri="ldap:*ldapserver*?base=ou=subject,ou=test,o=point&amp;scope=onelevel&amp;returnedAttributes=name"/> > <process ref="ldapProcessor"/> </route> </camelContext> > How is possible that I got the same error? > org.apache.camel.RuntimeCamelException:* An LDAP Consumer would be the LDAP > server itself! No such support here* at > org.apache.camel.component.ldap.LdapEndpoint.createConsumer(LdapEndpoint.java:55) > at > org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65) > at > org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80) > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/An-LDAP-Consumer-would-be-the-LDAP-server-itself-tp5721864p5721869.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: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen