@UriEndpoint(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)
Consumer endpoints are not supported.
|
String |
createEndpointUri() |
org.apache.camel.Producer |
createProducer()
Creates a Producer using this SpringLdapEndpoint
|
boolean |
isSingleton()
returns false (constant)
|
void |
setOperation(String operation)
Sets the LDAP operation to be performed.
|
void |
setScope(String scope)
sets the scope of the LDAP operation.
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, 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.Producer createProducer()
throws Exception
Exceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
public void setScope(String scope)
public String createEndpointUri()
createEndpointUri in class org.apache.camel.impl.DefaultEndpointpublic void setOperation(String operation)
Apache Camel