LDAP

LDAP

Description: Represents the component that manages LdapEndpoint(s).
Scheme: ldap
Syntax: ldap:dirContextName
Maven: org.apache.camel/camel-ldap/2.16.1

Represents an endpoint that synchronously invokes an LDAP server when a producer sends a message to it.

Name Kind Group Required Default Type Enum Description
dirContextName path producer true java.lang.String Name of {@link javax.naming.directory.DirContext} bean to lookup in the registry.
base parameter producer ou=system java.lang.String The base DN for searches.
pageSize parameter producer java.lang.Integer When specified the ldap module uses paging to retrieve all results (most LDAP Servers throw an exception when trying to retrieve more than 1000 entries in one query). To be able to use this a LdapContext (subclass of DirContext) has to be passed in as ldapServerBean (otherwise an exception is thrown)
returnedAttributes parameter producer java.lang.String Comma-separated list of attributes that should be set in each entry of the result
scope parameter producer subtree java.lang.String object
onelevel
subtree
Specifies how deeply to search the tree of entries, starting at the base DN.
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).