@UriEndpoint(scheme="dummy",
syntax="dummy:drink",
title="Dummy",
label="bar",
producerOnly=true)
public class DummyEndpoint
extends org.apache.camel.support.DefaultEndpoint
| Constructor and Description |
|---|
DummyEndpoint(String endpointUri,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
int |
getAmount() |
Drinks |
getDrink() |
boolean |
isCelebrity() |
boolean |
isSingleton() |
void |
setAmount(int amount)
Number of drinks in the order
|
void |
setCelebrity(boolean celebrity)
Is this a famous person ordering
|
void |
setDrink(Drinks drink)
What drink to order
|
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic DummyEndpoint(String endpointUri, org.apache.camel.Component component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
isSingleton in interface org.apache.camel.IsSingletonisSingleton in class org.apache.camel.support.DefaultEndpointpublic Drinks getDrink()
public void setDrink(Drinks drink)
public int getAmount()
public void setAmount(int amount)
public boolean isCelebrity()
public void setCelebrity(boolean celebrity)
Apache Camel