Interface GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointBuilder
- Enclosing interface:
- GooglePubsubEndpointBuilderFactory
public static interface GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilderBuilder for endpoint consumers for the Google Pubsub component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderackMode(String ackMode)AUTO = exchange gets ack'ed/nack'ed on completion.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderackMode(org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode ackMode)AUTO = exchange gets ack'ed/nack'ed on completion.default GooglePubsubEndpointBuilderFactory.AdvancedGooglePubsubEndpointConsumerBuilderadvanced()default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderauthenticate(boolean authenticate)Use Credentials when interacting with PubSub service (no authentication is required when using emulator).default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderauthenticate(String authenticate)Use Credentials when interacting with PubSub service (no authentication is required when using emulator).default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderconcurrentConsumers(Integer concurrentConsumers)The number of parallel streams consuming from the subscription.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderconcurrentConsumers(String concurrentConsumers)The number of parallel streams consuming from the subscription.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderloggerId(String loggerId)Logger ID to use when a match to the parent route required.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuildermaxAckExtensionPeriod(int maxAckExtensionPeriod)Set the maximum period a message ack deadline will be extended.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuildermaxAckExtensionPeriod(String maxAckExtensionPeriod)Set the maximum period a message ack deadline will be extended.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuildermaxMessagesPerPoll(Integer maxMessagesPerPoll)The max number of messages to receive from the server in a single API call.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuildermaxMessagesPerPoll(String maxMessagesPerPoll)The max number of messages to receive from the server in a single API call.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilderserviceAccountKey(String serviceAccountKey)The Service account key that can be used as credentials for the PubSub publisher/subscriber.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuildersynchronousPull(boolean synchronousPull)Synchronously pull batches of messages.default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuildersynchronousPull(String synchronousPull)Synchronously pull batches of messages.
-
-
-
Method Detail
-
advanced
default GooglePubsubEndpointBuilderFactory.AdvancedGooglePubsubEndpointConsumerBuilder advanced()
-
authenticate
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder authenticate(boolean authenticate)
Use Credentials when interacting with PubSub service (no authentication is required when using emulator). The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
authenticate- the value to set- Returns:
- the dsl builder
-
authenticate
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder authenticate(String authenticate)
Use Credentials when interacting with PubSub service (no authentication is required when using emulator). The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
authenticate- the value to set- Returns:
- the dsl builder
-
loggerId
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder loggerId(String loggerId)
Logger ID to use when a match to the parent route required. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
loggerId- the value to set- Returns:
- the dsl builder
-
serviceAccountKey
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder 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: <code>java.lang.String</code> type. Group: common- Parameters:
serviceAccountKey- the value to set- Returns:
- the dsl builder
-
ackMode
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder ackMode(org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode ackMode)
AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly. The option is a: <code>org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode</code> type. Default: AUTO Group: consumer- Parameters:
ackMode- the value to set- Returns:
- the dsl builder
-
ackMode
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder 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 a <code>org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode</code> type. Default: AUTO Group: consumer- Parameters:
ackMode- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder concurrentConsumers(Integer concurrentConsumers)
The number of parallel streams consuming from the subscription. The option is a: <code>java.lang.Integer</code> type. Default: 1 Group: consumer- Parameters:
concurrentConsumers- the value to set- Returns:
- the dsl builder
-
concurrentConsumers
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder concurrentConsumers(String concurrentConsumers)
The number of parallel streams consuming from the subscription. The option will be converted to a <code>java.lang.Integer</code> type. Default: 1 Group: consumer- Parameters:
concurrentConsumers- the value to set- Returns:
- the dsl builder
-
maxAckExtensionPeriod
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder maxAckExtensionPeriod(int maxAckExtensionPeriod)
Set the maximum period a message ack deadline will be extended. Value in seconds. The option is a: <code>int</code> type. Default: 3600 Group: consumer- Parameters:
maxAckExtensionPeriod- the value to set- Returns:
- the dsl builder
-
maxAckExtensionPeriod
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder maxAckExtensionPeriod(String maxAckExtensionPeriod)
Set the maximum period a message ack deadline will be extended. Value in seconds. The option will be converted to a <code>int</code> type. Default: 3600 Group: consumer- Parameters:
maxAckExtensionPeriod- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder maxMessagesPerPoll(Integer maxMessagesPerPoll)
The max number of messages to receive from the server in a single API call. The option is a: <code>java.lang.Integer</code> type. Default: 1 Group: consumer- Parameters:
maxMessagesPerPoll- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll)
The max number of messages to receive from the server in a single API call. The option will be converted to a <code>java.lang.Integer</code> type. Default: 1 Group: consumer- Parameters:
maxMessagesPerPoll- the value to set- Returns:
- the dsl builder
-
synchronousPull
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder synchronousPull(boolean synchronousPull)
Synchronously pull batches of messages. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
synchronousPull- the value to set- Returns:
- the dsl builder
-
synchronousPull
default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder synchronousPull(String synchronousPull)
Synchronously pull batches of messages. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
synchronousPull- the value to set- Returns:
- the dsl builder
-
-