|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.browse.BrowseEndpoint
public class BrowseEndpoint
An endpoint which maintains a List of Exchange instances
which can be useful for tooling, debugging and visualising routes.
| Constructor Summary | |
|---|---|
BrowseEndpoint(String endpointUri)
|
|
BrowseEndpoint(String uri,
CamelContext camelContext)
|
|
BrowseEndpoint(String uri,
Component component)
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
Consumer |
createConsumer(Processor processor)
Creates a new Event Driven Consumer which consumes messages from the endpoint using the given processor |
protected List<Exchange> |
createExchangeList()
|
Producer |
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()
Wheter this class supports being singleton or not. |
protected void |
onExchange(Exchange exchange)
Invoked on a message exchange being sent by a producer |
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
start()
Starts the service |
void |
stop()
Stops the service |
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
configureProperties, convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, 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, getEndpointUri, isLenientProperties, setCamelContext |
| Constructor Detail |
|---|
public BrowseEndpoint(String uri,
CamelContext camelContext)
public BrowseEndpoint(String uri,
Component component)
public BrowseEndpoint(String endpointUri)
| Method Detail |
|---|
public boolean isSingleton()
IsSingleton
isSingleton in interface IsSingletonpublic List<Exchange> getExchanges()
BrowsableEndpoint
getExchanges in interface BrowsableEndpointpublic TopicLoadBalancer getLoadBalancer()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Producer createProducer()
throws Exception
Endpoint
createProducer in interface EndpointException - can be thrown
public Consumer createConsumer(Processor processor)
throws Exception
Endpoint
createConsumer in interface Endpointprocessor - the given processor
Exception - can be thrownprotected List<Exchange> createExchangeList()
protected void onExchange(Exchange exchange)
throws Exception
exchange - the exchange
Exception - is thrown if failed to process the exchange
public void start()
throws Exception
Service
start in interface ServiceException
public void stop()
throws Exception
Service
stop in interface ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||