public class ThrottlingEndpoint
extends org.apache.camel.impl.DefaultEndpoint
throttling
component.Constructor and Description |
---|
ThrottlingEndpoint(String endpointUri,
org.apache.camel.Component component)
Creates new endpoint.
|
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getOperationName() |
RequestTypeEnum |
getRequestType() |
boolean |
isSingleton() |
void |
setOperationName(String operationName) |
void |
setRequestType(RequestTypeEnum requestType) |
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 ThrottlingEndpoint(String endpointUri, org.apache.camel.Component component)
endpointUri
- the URIcomponent
- the "throttling" componentpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public RequestTypeEnum getRequestType()
public void setRequestType(RequestTypeEnum requestType)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.