|
||||||||||
| 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.list.ListEndpoint
public class ListEndpoint
An endpoint which maintains a List of Exchange instances
which can be useful for tooling, debugging and visualising routes.
| Constructor Summary | |
|---|---|
ListEndpoint(String endpointUri)
|
|
ListEndpoint(String uri,
CamelContext camelContext)
|
|
ListEndpoint(String uri,
Component component)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
Consumer<Exchange> |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
protected List<Exchange> |
createExchangeList()
|
Producer<Exchange> |
createProducer()
Creates a new producer which is used send messages into the endpoint |
List<Exchange> |
getExchanges()
Return the exchanges available on this endpoint |
TopicLoadBalancer |
getLoadBalancer()
|
boolean |
isSingleton()
Returns if the endpoint should be a CamelContext singleton. |
protected void |
onExchange(Exchange exchange)
Invoked on a message exchange being sent by a producer |
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
reset()
|
| 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 ListEndpoint(String uri,
CamelContext camelContext)
public ListEndpoint(String uri,
Component component)
public ListEndpoint(String endpointUri)
| Method Detail |
|---|
public boolean isSingleton()
Endpoint
isSingleton in interface Endpoint<Exchange>public List<Exchange> getExchanges()
BrowsableEndpoint
getExchanges in interface BrowsableEndpoint<Exchange>public TopicLoadBalancer getLoadBalancer()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Producer<Exchange> createProducer()
throws Exception
Endpoint
createProducer in interface Endpoint<Exchange>Exception
public Consumer<Exchange> createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface Endpoint<Exchange>Exceptionpublic void reset()
protected List<Exchange> createExchangeList()
protected void onExchange(Exchange exchange)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||