org.apache.camel.component.ldap
Class LdapEndpoint<E extends Exchange>

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.component.ldap.LdapEndpoint<E>
All Implemented Interfaces:
CamelContextAware, Endpoint<E>

public class LdapEndpoint<E extends Exchange>
extends DefaultEndpoint<E>

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

Version:

Field Summary
static String OBJECT_SCOPE
           
static String ONELEVEL_SCOPE
           
static String SUBTREE_SCOPE
           
static String SYSTEM_DN
           
 
Constructor Summary
  LdapEndpoint(String endpointUri, String remaining)
           
protected LdapEndpoint(String endpointUri, String remaining, LdapComponent component)
           
 
Method Summary
 Consumer<E> createConsumer(Processor processor)
           
 Producer<E> createProducer()
           
 String getBase()
           
 String getScope()
           
 boolean isSingleton()
           
 void setBase(String base)
           
 void setScope(String scope)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SYSTEM_DN

public static final String SYSTEM_DN
See Also:
Constant Field Values

OBJECT_SCOPE

public static final String OBJECT_SCOPE
See Also:
Constant Field Values

ONELEVEL_SCOPE

public static final String ONELEVEL_SCOPE
See Also:
Constant Field Values

SUBTREE_SCOPE

public static final String SUBTREE_SCOPE
See Also:
Constant Field Values
Constructor Detail

LdapEndpoint

protected LdapEndpoint(String endpointUri,
                       String remaining,
                       LdapComponent component)
                throws URISyntaxException
Throws:
URISyntaxException

LdapEndpoint

public LdapEndpoint(String endpointUri,
                    String remaining)
             throws URISyntaxException
Throws:
URISyntaxException
Method Detail

createConsumer

public Consumer<E> createConsumer(Processor processor)
                                            throws Exception
Throws:
Exception

createProducer

public Producer<E> createProducer()
                                            throws Exception
Throws:
Exception

isSingleton

public boolean isSingleton()

getBase

public String getBase()

setBase

public void setBase(String base)

getScope

public String getScope()

setScope

public void setScope(String scope)


Apache CAMEL