@UriEndpoint(scheme="spring-ldap", title="Spring LDAP", syntax="spring-ldap:templateName", producerOnly=true, label="spring,ldap") public class SpringLdapEndpoint extends DefaultEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
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 |
---|---|
Consumer |
createConsumer(Processor processor)
Consumer endpoints are not supported.
|
String |
createEndpointUri()
A factory method to lazily create the endpointUri if none is specified
|
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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public SpringLdapEndpoint(String templateName, org.springframework.ldap.core.LdapTemplate ldapTemplate)
templateName
- name of the LDAP templateldapTemplate
- LDAP template, see org.springframework.ldap.core.LdapTemplatepublic Producer createProducer() throws Exception
Exception
- can be thrownpublic Consumer createConsumer(Processor processor) throws Exception
processor
- the given processorException
- can be thrownpublic boolean isSingleton()
public void setScope(String scope)
public String createEndpointUri()
DefaultEndpoint
createEndpointUri
in class DefaultEndpoint
public void setOperation(String operation)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.