org.apacheextras.camel.component.exist
Class ExistEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
              extended by org.apache.camel.impl.DefaultPollingEndpoint
                  extended by org.apacheextras.camel.component.exist.ExistEndpoint
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

public class ExistEndpoint
extends org.apache.camel.impl.DefaultPollingEndpoint


Field Summary
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
ExistEndpoint(String uri, ExistComponent component, org.xmldb.api.base.Collection collection)
           
 
Method Summary
 org.apache.camel.Exchange createExchange(org.xmldb.api.base.Resource resource)
           
 org.apache.camel.PollingConsumer createPollingConsumer()
           
 ExistProducer createProducer()
           
 org.xmldb.api.base.ResourceIterator createResourceIterator()
           
 org.xmldb.api.base.Collection getCollection()
           
 String getXpath()
           
 boolean isSingleton()
           
 void setXpath(String xpath)
           
 
Methods inherited from class org.apache.camel.impl.DefaultPollingEndpoint
createConsumer
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

ExistEndpoint

public ExistEndpoint(String uri,
                     ExistComponent component,
                     org.xmldb.api.base.Collection collection)
Method Detail

isSingleton

public boolean isSingleton()

createProducer

public ExistProducer createProducer()
                             throws Exception
Throws:
Exception

createPollingConsumer

public org.apache.camel.PollingConsumer createPollingConsumer()
                                                       throws Exception
Specified by:
createPollingConsumer in interface org.apache.camel.Endpoint
Overrides:
createPollingConsumer in class org.apache.camel.impl.DefaultEndpoint
Throws:
Exception

getCollection

public org.xmldb.api.base.Collection getCollection()

createResourceIterator

public org.xmldb.api.base.ResourceIterator createResourceIterator()
                                                           throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

createExchange

public org.apache.camel.Exchange createExchange(org.xmldb.api.base.Resource resource)
                                         throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

getXpath

public String getXpath()

setXpath

public void setXpath(String xpath)


Apache CAMEL