camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rburdet <>
Subject Spring ldap configuration problem
Date Mon, 04 Apr 2016 20:05:04 GMT
Hi. Im having a problem with my spring-ldap configuration. And i havent found
many examples about, so im a bit blind.

A java.lang.NullPointerException is raised when this endpoint is reached: 
    <to uri="spring-ldap:ldapTemplate?operation=search"/>

I have this beans 
    <bean id="ldapTemplate"
        <constructor-arg ref="ldapContextSource" />
    <bean id="ldapContextSource"
		<property name="url" value="ldap://" />
		<property name="base" value="dc=example,dc=com" />

And this route:

  <camelContext xmlns="">
    <route id="timerToLog">
    <from uri="timer:timerName?period=100000"/>
    <to uri="spring-ldap:ldapTemplate?operation=search"/>
    <log message="==========${body}"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message