org.apache.camel.component.jcr
Class JcrEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<DefaultExchange>
      extended by org.apache.camel.component.jcr.JcrEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint<DefaultExchange>

public class JcrEndpoint
extends DefaultEndpoint<DefaultExchange>

A JCR endpoint


Constructor Summary
protected JcrEndpoint(String endpointUri, JcrComponent component)
           
  JcrEndpoint(String endpointUri, String base, javax.jcr.Credentials credentials, javax.jcr.Repository repository)
           
 
Method Summary
 Consumer<DefaultExchange> createConsumer(Processor processor)
          Currently unsupported
 Producer<DefaultExchange> createProducer()
          Creates a new Producer
protected  String getBase()
          Get the base node when accessing the reposititory
protected  javax.jcr.Credentials getCredentials()
          Get the Credentials for establishing the JCR repository connection
protected  javax.jcr.Repository getRepository()
          Get the Repository
 boolean isSingleton()
          
 
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
 

Constructor Detail

JcrEndpoint

protected JcrEndpoint(String endpointUri,
                      JcrComponent component)

JcrEndpoint

public JcrEndpoint(String endpointUri,
                   String base,
                   javax.jcr.Credentials credentials,
                   javax.jcr.Repository repository)
Method Detail

createConsumer

public Consumer<DefaultExchange> createConsumer(Processor processor)
                                         throws Exception
Currently unsupported

Throws:
RuntimeCamelException
Exception

createProducer

public Producer<DefaultExchange> createProducer()
                                         throws Exception
Creates a new Producer

Throws:
Exception

isSingleton

public boolean isSingleton()


getRepository

protected javax.jcr.Repository getRepository()
Get the Repository

Returns:
the repository

getCredentials

protected javax.jcr.Credentials getCredentials()
Get the Credentials for establishing the JCR repository connection

Returns:
the credentials

getBase

protected String getBase()
Get the base node when accessing the reposititory

Returns:
the base node


Apache CAMEL