public class KafkaComponent
extends org.apache.camel.impl.UriEndpointComponent
| Constructor and Description |
|---|
KafkaComponent() |
KafkaComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected KafkaEndpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> params) |
ExecutorService |
getWorkerPool() |
void |
setWorkerPool(ExecutorService workerPool)
To use a shared custom worker pool for continue routing
Exchange after kafka server has acknowledge
the message that was sent to it from KafkaProducer using asynchronous non-blocking processing. |
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClassafterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIpublic KafkaComponent()
public KafkaComponent(org.apache.camel.CamelContext context)
protected KafkaEndpoint createEndpoint(String uri, String remaining, Map<String,Object> params) throws Exception
createEndpoint in class org.apache.camel.impl.DefaultComponentExceptionpublic ExecutorService getWorkerPool()
public void setWorkerPool(ExecutorService workerPool)
Exchange after kafka server has acknowledge
the message that was sent to it from KafkaProducer using asynchronous non-blocking processing.
If using this option then you must handle the lifecycle of the thread pool to shut the pool down when no longer needed.Apache Camel