@Component(value="reactive-streams")
public class ReactiveStreamsComponent
extends org.apache.camel.support.DefaultComponent
| Constructor and Description |
|---|
ReactiveStreamsComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
doStart() |
protected void |
doStop() |
ReactiveStreamsBackpressureStrategy |
getBackpressureStrategy() |
ReactiveStreamsEngineConfiguration |
getReactiveStreamsEngineConfiguration() |
CamelReactiveStreamsService |
getReactiveStreamsService()
Lazy creation of the CamelReactiveStreamsService
|
String |
getServiceType() |
int |
getThreadPoolMaxSize() |
int |
getThreadPoolMinSize() |
String |
getThreadPoolName() |
void |
setBackpressureStrategy(ReactiveStreamsBackpressureStrategy backpressureStrategy)
The backpressure strategy to use when pushing events to a slow subscriber.
|
void |
setReactiveStreamsEngineConfiguration(ReactiveStreamsEngineConfiguration reactiveStreamsEngineConfiguration)
To use an existing reactive stream engine configuration.
|
void |
setServiceType(String serviceType)
Set the type of the underlying reactive streams implementation to use.
|
void |
setThreadPoolMaxSize(int threadPoolMaxSize)
The maximum number of threads used by the reactive streams internal engine.
|
void |
setThreadPoolMinSize(int threadPoolMinSize)
The minimum number of threads used by the reactive streams internal engine.
|
void |
setThreadPoolName(String threadPoolName)
The name of the thread pool used by the reactive streams internal engine.
|
static ReactiveStreamsComponent |
withServiceType(String serviceType) |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.DefaultComponentExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.DefaultComponentExceptionprotected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionpublic ReactiveStreamsEngineConfiguration getReactiveStreamsEngineConfiguration()
public void setReactiveStreamsEngineConfiguration(ReactiveStreamsEngineConfiguration reactiveStreamsEngineConfiguration)
public ReactiveStreamsBackpressureStrategy getBackpressureStrategy()
public void setBackpressureStrategy(ReactiveStreamsBackpressureStrategy backpressureStrategy)
public String getServiceType()
public void setServiceType(String serviceType)
serviceType - the reactive service implementation name typepublic String getThreadPoolName()
public void setThreadPoolName(String threadPoolName)
public int getThreadPoolMinSize()
public void setThreadPoolMinSize(int threadPoolMinSize)
public int getThreadPoolMaxSize()
public void setThreadPoolMaxSize(int threadPoolMaxSize)
public CamelReactiveStreamsService getReactiveStreamsService()
public static final ReactiveStreamsComponent withServiceType(String serviceType)
Apache Camel