@Component(value="pulsar")
public class PulsarComponent
extends org.apache.camel.support.DefaultComponent
| Constructor and Description |
|---|
PulsarComponent() |
PulsarComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String path,
Map<String,Object> parameters) |
AutoConfiguration |
getAutoConfiguration() |
PulsarConfiguration |
getConfiguration() |
org.apache.pulsar.client.api.PulsarClient |
getPulsarClient() |
PulsarMessageReceiptFactory |
getPulsarMessageReceiptFactory() |
void |
setAutoConfiguration(AutoConfiguration autoConfiguration)
The pulsar auto configuration
|
void |
setConfiguration(PulsarConfiguration configuration)
Allows to pre-configure the Pulsar component with common options that the
endpoints will reuse.
|
void |
setPulsarClient(org.apache.pulsar.client.api.PulsarClient pulsarClient)
The pulsar client
|
void |
setPulsarMessageReceiptFactory(PulsarMessageReceiptFactory pulsarMessageReceiptFactory)
Provide a factory to create an alternate implementation of
PulsarMessageReceipt. |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, 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, waitpublic PulsarComponent()
public PulsarComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String path, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionpublic PulsarConfiguration getConfiguration()
public void setConfiguration(PulsarConfiguration configuration)
public AutoConfiguration getAutoConfiguration()
public void setAutoConfiguration(AutoConfiguration autoConfiguration)
public org.apache.pulsar.client.api.PulsarClient getPulsarClient()
public void setPulsarClient(org.apache.pulsar.client.api.PulsarClient pulsarClient)
public PulsarMessageReceiptFactory getPulsarMessageReceiptFactory()
public void setPulsarMessageReceiptFactory(PulsarMessageReceiptFactory pulsarMessageReceiptFactory)
PulsarMessageReceipt.Apache Camel