public static interface PulsarComponentBuilderFactory.PulsarComponentBuilder extends ComponentBuilder<org.apache.camel.component.pulsar.PulsarComponent>
| Modifier and Type | Method and Description |
|---|---|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
ackGroupTimeMillis(long ackGroupTimeMillis)
Group the consumer acknowledgments for the specified time in
milliseconds - defaults to 100.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
ackTimeoutMillis(long ackTimeoutMillis)
Timeout for unacknowledged messages in milliseconds - defaults to
10000.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
allowManualAcknowledgement(boolean allowManualAcknowledgement)
Whether to allow manual message acknowledgements.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
autoConfiguration(org.apache.camel.component.pulsar.utils.AutoConfiguration autoConfiguration)
The pulsar auto configuration.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
batcherBuilder(org.apache.pulsar.client.api.BatcherBuilder batcherBuilder)
Control batching method used by the producer.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
batchingEnabled(boolean batchingEnabled)
Control whether automatic batching of messages is enabled for the
producer.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
batchingMaxMessages(int batchingMaxMessages)
The maximum size to batch messages.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
batchingMaxPublishDelayMicros(long batchingMaxPublishDelayMicros)
The maximum time period within which the messages sent will be
batched if batchingEnabled is true.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
blockIfQueueFull(boolean blockIfQueueFull)
Whether to block the producing thread if pending messages queue is
full or to throw a ProducerQueueIsFullError.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
compressionType(org.apache.pulsar.client.api.CompressionType compressionType)
Compression type to use.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
configuration(org.apache.camel.component.pulsar.PulsarConfiguration configuration)
Allows to pre-configure the Pulsar component with common options that
the endpoints will reuse.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
consumerName(String consumerName)
Name of the consumer when subscription is EXCLUSIVE.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
consumerNamePrefix(String consumerNamePrefix)
Prefix to add to consumer names when a SHARED or FAILOVER
subscription is used.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
consumerQueueSize(int consumerQueueSize)
Size of the consumer queue - defaults to 10.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
deadLetterTopic(String deadLetterTopic)
Name of the topic where the messages which fail maxRedeliverCount
times will be sent.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
initialSequenceId(long initialSequenceId)
The first message published will have a sequence Id of
initialSequenceId 1.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
maxPendingMessages(int maxPendingMessages)
Size of the pending massages queue.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
maxPendingMessagesAcrossPartitions(int maxPendingMessagesAcrossPartitions)
The maximum number of pending messages for partitioned topics.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
maxRedeliverCount(Integer maxRedeliverCount)
Maximum number of times that a message will be redelivered before
being sent to the dead letter queue.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
messageRouter(org.apache.pulsar.client.api.MessageRouter messageRouter)
Custom Message Router to use.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
messageRoutingMode(org.apache.pulsar.client.api.MessageRoutingMode messageRoutingMode)
Message Routing Mode to use.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
negativeAckRedeliveryDelayMicros(long negativeAckRedeliveryDelayMicros)
Set the negative acknowledgement delay.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
numberOfConsumers(int numberOfConsumers)
Number of consumers - defaults to 1.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
producerName(String producerName)
Name of the producer.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
pulsarClient(org.apache.pulsar.client.api.PulsarClient pulsarClient)
The pulsar client.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
pulsarMessageReceiptFactory(org.apache.camel.component.pulsar.PulsarMessageReceiptFactory pulsarMessageReceiptFactory)
Provide a factory to create an alternate implementation of
PulsarMessageReceipt.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
sendTimeoutMs(int sendTimeoutMs)
Send timeout in milliseconds.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
subscriptionInitialPosition(org.apache.camel.component.pulsar.utils.consumers.SubscriptionInitialPosition subscriptionInitialPosition)
Control the initial position in the topic of a newly created
subscription.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
subscriptionName(String subscriptionName)
Name of the subscription to use.
|
default PulsarComponentBuilderFactory.PulsarComponentBuilder |
subscriptionType(org.apache.camel.component.pulsar.utils.consumers.SubscriptionType subscriptionType)
Type of the subscription EXCLUSIVESHAREDFAILOVERKEY_SHARED, defaults
to EXCLUSIVE.
|
build, build, doSetProperty, registerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder configuration(org.apache.camel.component.pulsar.PulsarConfiguration configuration)
org.apache.camel.component.pulsar.PulsarConfiguration
type.
Group: commondefault PulsarComponentBuilderFactory.PulsarComponentBuilder ackGroupTimeMillis(long ackGroupTimeMillis)
long type.
Default: 100
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder ackTimeoutMillis(long ackTimeoutMillis)
long type.
Default: 10000
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder allowManualAcknowledgement(boolean allowManualAcknowledgement)
boolean type.
Default: false
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder consumerName(String consumerName)
java.lang.String type.
Default: sole-consumer
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder consumerNamePrefix(String consumerNamePrefix)
java.lang.String type.
Default: cons
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder consumerQueueSize(int consumerQueueSize)
int type.
Default: 10
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder deadLetterTopic(String deadLetterTopic)
java.lang.String type.
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder maxRedeliverCount(Integer maxRedeliverCount)
java.lang.Integer type.
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder negativeAckRedeliveryDelayMicros(long negativeAckRedeliveryDelayMicros)
long type.
Default: 60000000
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder numberOfConsumers(int numberOfConsumers)
int type.
Default: 1
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder subscriptionInitialPosition(org.apache.camel.component.pulsar.utils.consumers.SubscriptionInitialPosition subscriptionInitialPosition)
org.apache.camel.component.pulsar.utils.consumers.SubscriptionInitialPosition type.
Default: LATEST
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder subscriptionName(String subscriptionName)
java.lang.String type.
Default: subs
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder subscriptionType(org.apache.camel.component.pulsar.utils.consumers.SubscriptionType subscriptionType)
org.apache.camel.component.pulsar.utils.consumers.SubscriptionType type.
Default: EXCLUSIVE
Group: consumerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder pulsarMessageReceiptFactory(org.apache.camel.component.pulsar.PulsarMessageReceiptFactory pulsarMessageReceiptFactory)
org.apache.camel.component.pulsar.PulsarMessageReceiptFactory type.
Group: consumer (advanced)default PulsarComponentBuilderFactory.PulsarComponentBuilder batcherBuilder(org.apache.pulsar.client.api.BatcherBuilder batcherBuilder)
org.apache.pulsar.client.api.BatcherBuilder type.
Default: DEFAULT
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder batchingEnabled(boolean batchingEnabled)
boolean type.
Default: true
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder batchingMaxMessages(int batchingMaxMessages)
int type.
Default: 1000
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder batchingMaxPublishDelayMicros(long batchingMaxPublishDelayMicros)
long type.
Default: 1000
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder blockIfQueueFull(boolean blockIfQueueFull)
boolean type.
Default: false
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder compressionType(org.apache.pulsar.client.api.CompressionType compressionType)
org.apache.pulsar.client.api.CompressionType type.
Default: NONE
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder initialSequenceId(long initialSequenceId)
long type.
Default: -1
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder maxPendingMessages(int maxPendingMessages)
int type.
Default: 1000
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder maxPendingMessagesAcrossPartitions(int maxPendingMessagesAcrossPartitions)
int type.
Default: 50000
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder messageRouter(org.apache.pulsar.client.api.MessageRouter messageRouter)
org.apache.pulsar.client.api.MessageRouter type.
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder messageRoutingMode(org.apache.pulsar.client.api.MessageRoutingMode messageRoutingMode)
org.apache.pulsar.client.api.MessageRoutingMode type.
Default: RoundRobinPartition
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder producerName(String producerName)
java.lang.String type.
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder sendTimeoutMs(int sendTimeoutMs)
int type.
Default: 30000
Group: producerdefault PulsarComponentBuilderFactory.PulsarComponentBuilder autoConfiguration(org.apache.camel.component.pulsar.utils.AutoConfiguration autoConfiguration)
org.apache.camel.component.pulsar.utils.AutoConfiguration type.
Group: advanceddefault PulsarComponentBuilderFactory.PulsarComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault PulsarComponentBuilderFactory.PulsarComponentBuilder pulsarClient(org.apache.pulsar.client.api.PulsarClient pulsarClient)
org.apache.pulsar.client.api.PulsarClient type.
Group: advancedApache Camel