public static interface PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
ackGroupTimeMillis(long ackGroupTimeMillis)
Group the consumer acknowledgments for the specified time in
milliseconds - defaults to 100.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
ackGroupTimeMillis(String ackGroupTimeMillis)
Group the consumer acknowledgments for the specified time in
milliseconds - defaults to 100.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
ackTimeoutMillis(long ackTimeoutMillis)
Timeout for unacknowledged messages in milliseconds - defaults to
10000.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
ackTimeoutMillis(String ackTimeoutMillis)
Timeout for unacknowledged messages in milliseconds - defaults to
10000.
|
default PulsarEndpointBuilderFactory.AdvancedPulsarEndpointConsumerBuilder |
advanced() |
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
allowManualAcknowledgement(boolean allowManualAcknowledgement)
Whether to allow manual message acknowledgements.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
allowManualAcknowledgement(String allowManualAcknowledgement)
Whether to allow manual message acknowledgements.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
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 PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
bridgeErrorHandler(String 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 PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
consumerName(String consumerName)
Name of the consumer when subscription is EXCLUSIVE.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
consumerNamePrefix(String consumerNamePrefix)
Prefix to add to consumer names when a SHARED or FAILOVER
subscription is used.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
consumerQueueSize(int consumerQueueSize)
Size of the consumer queue - defaults to 10.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
consumerQueueSize(String consumerQueueSize)
Size of the consumer queue - defaults to 10.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
numberOfConsumers(int numberOfConsumers)
Number of consumers - defaults to 1.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
numberOfConsumers(String numberOfConsumers)
Number of consumers - defaults to 1.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
subscriptionInitialPosition(PulsarEndpointBuilderFactory.SubscriptionInitialPosition subscriptionInitialPosition)
Control the initial position in the topic of a newly created
subscription.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
subscriptionInitialPosition(String subscriptionInitialPosition)
Control the initial position in the topic of a newly created
subscription.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
subscriptionName(String subscriptionName)
Name of the subscription to use.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
subscriptionType(PulsarEndpointBuilderFactory.SubscriptionType subscriptionType)
Type of the subscription EXCLUSIVESHAREDFAILOVER, defaults to
EXCLUSIVE.
|
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder |
subscriptionType(String subscriptionType)
Type of the subscription EXCLUSIVESHAREDFAILOVER, defaults to
EXCLUSIVE.
|
default PulsarEndpointBuilderFactory.AdvancedPulsarEndpointConsumerBuilder advanced()
default PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder ackGroupTimeMillis(long ackGroupTimeMillis)
long type.
Default: 100
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder ackGroupTimeMillis(String ackGroupTimeMillis)
long type.
Default: 100
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder ackTimeoutMillis(long ackTimeoutMillis)
long type.
Default: 10000
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder ackTimeoutMillis(String ackTimeoutMillis)
long type.
Default: 10000
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder allowManualAcknowledgement(boolean allowManualAcknowledgement)
boolean type.
Default: false
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder allowManualAcknowledgement(String allowManualAcknowledgement)
boolean type.
Default: false
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder consumerName(String consumerName)
java.lang.String type.
Default: sole-consumer
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder consumerNamePrefix(String consumerNamePrefix)
java.lang.String type.
Default: cons
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder consumerQueueSize(int consumerQueueSize)
int type.
Default: 10
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder consumerQueueSize(String consumerQueueSize)
int type.
Default: 10
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder numberOfConsumers(int numberOfConsumers)
int type.
Default: 1
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder numberOfConsumers(String numberOfConsumers)
int type.
Default: 1
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder subscriptionInitialPosition(PulsarEndpointBuilderFactory.SubscriptionInitialPosition subscriptionInitialPosition)
org.apache.camel.component.pulsar.utils.consumers.SubscriptionInitialPosition type.
Default: LATEST
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder subscriptionInitialPosition(String subscriptionInitialPosition)
org.apache.camel.component.pulsar.utils.consumers.SubscriptionInitialPosition type.
Default: LATEST
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder subscriptionName(String subscriptionName)
java.lang.String type.
Default: subs
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder subscriptionType(PulsarEndpointBuilderFactory.SubscriptionType subscriptionType)
org.apache.camel.component.pulsar.utils.consumers.SubscriptionType type.
Default: EXCLUSIVE
Group: consumerdefault PulsarEndpointBuilderFactory.PulsarEndpointConsumerBuilder subscriptionType(String subscriptionType)
org.apache.camel.component.pulsar.utils.consumers.SubscriptionType type.
Default: EXCLUSIVE
Group: consumerApache Camel