Interface GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder

    • Method Detail

      • 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
      • 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​(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
      • bridgeErrorHandler

        default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - the value to set
        Returns:
        the dsl builder
      • bridgeErrorHandler

        default GooglePubsubEndpointBuilderFactory.GooglePubsubEndpointConsumerBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        bridgeErrorHandler - 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
      • 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