@UriEndpoint(firstVersion="1.3.0",
scheme="browse",
title="Browse",
syntax="browse:name",
label="core,monitoring")
public class BrowseEndpoint
extends org.apache.camel.support.DefaultEndpoint
implements org.apache.camel.spi.BrowsableEndpoint
BrowsableEndpoint.
This can be useful for testing, visualisation tools or debugging. The exchanges sent to the endpoint are all available to be browsed.| Constructor and Description |
|---|
BrowseEndpoint() |
BrowseEndpoint(String uri,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
protected List<org.apache.camel.Exchange> |
createExchangeList() |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
protected void |
doStop() |
List<org.apache.camel.Exchange> |
getExchanges() |
String |
getName() |
protected void |
onExchange(org.apache.camel.Exchange exchange)
Invoked on a message exchange being sent by a producer
|
void |
setName(String name) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic BrowseEndpoint()
public BrowseEndpoint(String uri, org.apache.camel.Component component)
public List<org.apache.camel.Exchange> getExchanges()
getExchanges in interface org.apache.camel.spi.BrowsableEndpointpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic String getName()
public void setName(String name)
protected List<org.apache.camel.Exchange> createExchangeList()
protected void onExchange(org.apache.camel.Exchange exchange)
throws Exception
exchange - the exchangeException - is thrown if failed to process the exchangeprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultEndpointExceptionApache Camel