|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<Exchange>
org.apache.camel.component.seda.SedaEndpoint
public class SedaEndpoint
An implementation of the Queue components for
asynchronous SEDA exchanges on a BlockingQueue within a CamelContext
| Constructor Summary | |
|---|---|
SedaEndpoint(String endpointUri,
BlockingQueue<Exchange> queue)
|
|
SedaEndpoint(String endpointUri,
BlockingQueue<Exchange> queue,
int concurrentConsumers)
|
|
SedaEndpoint(String endpointUri,
Component component,
BlockingQueue<Exchange> queue)
|
|
SedaEndpoint(String endpointUri,
Component component,
BlockingQueue<Exchange> queue,
int concurrentConsumers)
|
|
| Method Summary | |
|---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint |
int |
getConcurrentConsumers()
|
List<Exchange> |
getExchanges()
Return the exchanges available on this endpoint |
BlockingQueue<Exchange> |
getQueue()
|
boolean |
isSingleton()
Returns if the endpoint should be a CamelContext singleton. |
void |
setConcurrentConsumers(int concurrentConsumers)
|
| 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 |
| Methods inherited from interface org.apache.camel.Endpoint |
|---|
configureProperties, createExchange, createExchange, createExchange, createPollingConsumer, getCamelContext, getContext, getEndpointUri, isLenientProperties, setCamelContext, setContext |
| Constructor Detail |
|---|
public SedaEndpoint(String endpointUri,
Component component,
BlockingQueue<Exchange> queue)
public SedaEndpoint(String endpointUri,
Component component,
BlockingQueue<Exchange> queue,
int concurrentConsumers)
public SedaEndpoint(String endpointUri,
BlockingQueue<Exchange> queue)
public SedaEndpoint(String endpointUri,
BlockingQueue<Exchange> queue,
int concurrentConsumers)
| Method Detail |
|---|
public Producer createProducer()
throws Exception
Endpoint
createProducer in interface Endpoint<Exchange>Exception
public Consumer createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface Endpoint<Exchange>Exceptionpublic BlockingQueue<Exchange> getQueue()
public void setConcurrentConsumers(int concurrentConsumers)
public int getConcurrentConsumers()
public boolean isSingleton()
Endpoint
isSingleton in interface Endpoint<Exchange>public List<Exchange> getExchanges()
BrowsableEndpoint
getExchanges in interface BrowsableEndpoint<Exchange>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||