|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.component.seda.SedaEndpoint<E>
public class SedaEndpoint<E extends Exchange>
An implementation of the Queue components for
asynchronous SEDA exchanges on a BlockingQueue
within a CamelContext
Constructor Summary | |
---|---|
SedaEndpoint(String endpointUri,
Component component,
BlockingQueue<E> queue)
|
|
SedaEndpoint(String uri,
SedaComponent<E> component)
|
Method Summary | |
---|---|
Consumer<E> |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
E |
createExchange()
Create a new exchange for communicating with this endpoint |
Producer<E> |
createProducer()
Creates a new producer which is used send messages into the endpoint |
BlockingQueue<E> |
getQueue()
|
boolean |
isSingleton()
Returns if the endpoint should be a CamelContext singleton. |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SedaEndpoint(String endpointUri, Component component, BlockingQueue<E> queue)
public SedaEndpoint(String uri, SedaComponent<E> component)
Method Detail |
---|
public Producer<E> createProducer() throws Exception
Endpoint
Exception
public Consumer<E> createConsumer(Processor processor) throws Exception
Endpoint
Exception
public E createExchange()
Endpoint
public BlockingQueue<E> getQueue()
public boolean isSingleton()
Endpoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |