Interface GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointBuilder
- Enclosing interface:
GooglePubsubLiteEndpointBuilderFactory
public static interface GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Google PubSub Lite component.
-
Method Summary
Modifier and TypeMethodDescriptionAUTO = exchange gets ack'ed/nack'ed on completion.ackMode(org.apache.camel.component.google.pubsublite.GooglePubsubLiteConstants.AckMode ackMode) AUTO = exchange gets ack'ed/nack'ed on completion.advanced()concurrentConsumers(Integer concurrentConsumers) The number of parallel streams consuming from the subscription.concurrentConsumers(String concurrentConsumers) The number of parallel streams consuming from the subscription.Logger ID to use when a match to the parent route required.maxAckExtensionPeriod(int maxAckExtensionPeriod) Set the maximum period a message ack deadline will be extended.maxAckExtensionPeriod(String maxAckExtensionPeriod) Set the maximum period a message ack deadline will be extended.maxMessagesPerPoll(Integer maxMessagesPerPoll) The max number of messages to receive from the server in a single API call.maxMessagesPerPoll(String maxMessagesPerPoll) The max number of messages to receive from the server in a single API call.serviceAccountKey(String serviceAccountKey) The Service account key that can be used as credentials for the PubSub publisher/subscriber.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
loggerId
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder loggerId(String loggerId) Logger ID to use when a match to the parent route required. The option is a:java.lang.Stringtype. Group: common- Parameters:
loggerId- the value to set- Returns:
- the dsl builder
-
ackMode
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder ackMode(org.apache.camel.component.google.pubsublite.GooglePubsubLiteConstants.AckMode ackMode) AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly. The option is a:org.apache.camel.component.google.pubsublite.GooglePubsubLiteConstants.AckModetype. Default: AUTO Group: consumer- Parameters:
ackMode- the value to set- Returns:
- the dsl builder
-
ackMode
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder ackMode(String ackMode) AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly. The option will be converted to aorg.apache.camel.component.google.pubsublite.GooglePubsubLiteConstants.AckModetype. Default: AUTO Group: consumer- Parameters:
ackMode- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder concurrentConsumers(Integer concurrentConsumers) The number of parallel streams consuming from the subscription. The option is a:java.lang.Integertype. Default: 1 Group: consumer- Parameters:
concurrentConsumers- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers) The number of parallel streams consuming from the subscription. The option will be converted to ajava.lang.Integertype. Default: 1 Group: consumer- Parameters:
concurrentConsumers- the value to set- Returns:
- the dsl builder
-
maxAckExtensionPeriod
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder maxAckExtensionPeriod(int maxAckExtensionPeriod) Set the maximum period a message ack deadline will be extended. Value in seconds. The option is a:inttype. Default: 3600 Group: consumer- Parameters:
maxAckExtensionPeriod- the value to set- Returns:
- the dsl builder
-
maxAckExtensionPeriod
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder maxAckExtensionPeriod(String maxAckExtensionPeriod) Set the maximum period a message ack deadline will be extended. Value in seconds. The option will be converted to ainttype. Default: 3600 Group: consumer- Parameters:
maxAckExtensionPeriod- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder maxMessagesPerPoll(Integer maxMessagesPerPoll) The max number of messages to receive from the server in a single API call. The option is a:java.lang.Integertype. Default: 1 Group: consumer- Parameters:
maxMessagesPerPoll- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll) The max number of messages to receive from the server in a single API call. The option will be converted to ajava.lang.Integertype. Default: 1 Group: consumer- Parameters:
maxMessagesPerPoll- the value to set- Returns:
- the dsl builder
-
serviceAccountKey
default GooglePubsubLiteEndpointBuilderFactory.GooglePubsubLiteEndpointConsumerBuilder serviceAccountKey(String serviceAccountKey) The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a:java.lang.Stringtype. Group: security- Parameters:
serviceAccountKey- the value to set- Returns:
- the dsl builder
-