Hello, I`m newbie in Camel and I`m trying to create an LDAP connection,

  <to
uri="ldap:ldapserver?base=EPName=${in.header.name},applicationName=apk"/> 

*Unfortunately* I got this exception that 


[05/17/17 12:59:13:350] DefaultErrorHandle E
[SAPCRequest                   ] [570763373-4:19:1:1:1]- Failed
delivery for (MessageId:
ID:promius111.tac.co.th-46302-1494570763373-4:19:1:1:1 on ExchangeId:
ID-promius111-tac-co-th-59072-1495000037808-0-1). Exhausted after delivery
attempt: 1 caught: javax.naming.NameNotFoundException: [LDAP: error code 32
- No Such Object]; remaining name
'EPName=${in.header.name},applicationName=apk'

javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such
Object]
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3161)
~[na:1.8.0_121]
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3082)
~[na:1.8.0_121]
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888)
~[na:1.8.0_121]
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846) 
~[na:1.8.0_121]
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769) ~[na:1.8.0_121]
        at
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392)
~[na:1.8.0_121]

I think it is due to  passing one param value as  ${in.header.name}. Can
anyone help me to solve this.

Thank in advance, 
Ajay



--
View this message in context: 
http://camel.465427.n5.nabble.com/LDAP-search-tp5799687.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to