@UriEndpoint(scheme="dummy",
syntax="dummy:drink",
title="Dummy",
label="bar",
producerOnly=true)
public class DummyEndpoint
extends org.apache.camel.impl.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, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public DummyEndpoint(String endpointUri, org.apache.camel.Component component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public 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