|
||||||||||
| 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.processor.ProcessorEndpoint
public class ProcessorEndpoint
A base class for creating Endpoint implementations from a Processor
| Constructor Summary | |
|---|---|
protected |
ProcessorEndpoint(String endpointUri,
Component component,
Processor processor,
LoadBalancer loadBalancer)
|
| Method Summary | |
|---|---|
Consumer<Exchange> |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
Exchange |
createExchange()
Create a new exchange for communicating with this endpoint |
Producer<Exchange> |
createProducer()
Creates a new producer which is used send messages into the endpoint |
LoadBalancer |
getLoadBalancer()
|
Processor |
getProcessor()
|
boolean |
isSingleton()
Returns if the endpoint should be a CamelContext singleton. |
protected void |
onExchange(Exchange exchange)
|
| 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 |
|---|
protected ProcessorEndpoint(String endpointUri,
Component component,
Processor processor,
LoadBalancer loadBalancer)
| Method Detail |
|---|
public Exchange createExchange()
Endpoint
public Producer<Exchange> createProducer()
throws Exception
Endpoint
Exception
public Consumer<Exchange> createConsumer(Processor processor)
throws Exception
Endpoint
Exceptionpublic Processor getProcessor()
public LoadBalancer getLoadBalancer()
protected void onExchange(Exchange exchange)
throws Exception
Exceptionpublic boolean isSingleton()
Endpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||