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.EndpointConsumerBuilder
Builder for endpoint consumers for the Google Pubsub component.
-
Method Summary
Modifier and TypeMethodDescriptionAUTO = exchange gets ack'ed/nack'ed on completion.ackMode(org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckMode ackMode) AUTO = exchange gets ack'ed/nack'ed on completion.advanced()authenticate(boolean authenticate) Use Credentials when interacting with PubSub service (no authentication is required when using emulator).authenticate(String authenticate) Use Credentials when interacting with PubSub service (no authentication is required when using emulator).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, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
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:org.apache.camel.component.google.pubsub.GooglePubsubConstants.AckModetype. 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 aorg.apache.camel.component.google.pubsub.GooglePubsubConstants.AckModetype. Default: AUTO Group: consumer- Parameters:
ackMode- the value to set- Returns:
- the dsl builder
-
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:booleantype. Default: true Group: security- 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 abooleantype. Default: true Group: security- Parameters:
authenticate- 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:java.lang.Stringtype. Group: security- Parameters:
serviceAccountKey- the value to set- Returns:
- the dsl builder
-