org.apache.camel.component.kestrel
Class KestrelEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.kestrel.KestrelEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton, Service, HasId

public class KestrelEndpoint
extends DefaultEndpoint

Camel endpoint for communication with a kestrel based queue.


Constructor Summary
KestrelEndpoint(String endPointURI, KestrelComponent component, KestrelConfiguration configuration, String queue)
           
 
Method Summary
 Consumer createConsumer(Processor processor)
           
 Producer createProducer()
           
 KestrelConfiguration getConfiguration()
           
 String getQueue()
           
 boolean isLenientProperties()
           
 boolean isSingleton()
           
 void setConfiguration(KestrelConfiguration configuration)
           
 void setQueue(String queue)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isSynchronous, sanitizeUri, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KestrelEndpoint

public KestrelEndpoint(String endPointURI,
                       KestrelComponent component,
                       KestrelConfiguration configuration,
                       String queue)
Method Detail

getConfiguration

public KestrelConfiguration getConfiguration()

setConfiguration

public void setConfiguration(KestrelConfiguration configuration)

getQueue

public String getQueue()

setQueue

public void setQueue(String queue)

createProducer

public Producer createProducer()
                        throws Exception
Throws:
Exception

createConsumer

public Consumer createConsumer(Processor processor)
                        throws Exception
Throws:
Exception

isLenientProperties

public boolean isLenientProperties()
Specified by:
isLenientProperties in interface Endpoint
Overrides:
isLenientProperties in class DefaultEndpoint

isSingleton

public boolean isSingleton()


Apache CAMEL