@UriEndpoint(firstVersion="2.11.0",
scheme="spring-ldap",
title="Spring LDAP",
syntax="spring-ldap:templateName",
producerOnly=true,
label="spring,ldap")
public class SpringLdapEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Constructor and Description |
|---|
SpringLdapEndpoint(String templateName,
org.springframework.ldap.core.LdapTemplate ldapTemplate)
Initializes the SpringLdapEndpoint using the provided template
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
String |
createEndpointUri() |
org.apache.camel.Producer |
createProducer() |
org.springframework.ldap.core.LdapTemplate |
getLdapTemplate() |
LdapOperation |
getOperation() |
String |
getScope() |
String |
getTemplateName() |
boolean |
isSingleton() |
int |
scopeValue() |
void |
setOperation(LdapOperation operation)
The LDAP operation to be performed.
|
void |
setScope(String scope)
The scope of the search operation.
|
void |
setTemplateName(String templateName)
Name of the Spring LDAP Template bean
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic SpringLdapEndpoint(String templateName, org.springframework.ldap.core.LdapTemplate ldapTemplate)
templateName - name of the LDAP templateldapTemplate - LDAP template, see org.springframework.ldap.core.LdapTemplatepublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
public String createEndpointUri()
createEndpointUri in class org.apache.camel.impl.DefaultEndpointpublic org.springframework.ldap.core.LdapTemplate getLdapTemplate()
public String getTemplateName()
public void setTemplateName(String templateName)
public LdapOperation getOperation()
public void setOperation(LdapOperation operation)
public String getScope()
public void setScope(String scope)
public int scopeValue()
Apache Camel