Interface GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder

    • Method Detail

      • bridgeErrorHandler

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder 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
      • configuration

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder configuration​(org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration configuration)
        To use the shared configuration. The option is a: <code>org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration</code> type. Group: consumer
        Parameters:
        configuration - the value to set
        Returns:
        the dsl builder
      • maxResults

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder maxResults​(int maxResults)
        Specify the maximum number of returned results. This will limit the number of rows in a returned value range data set or the number of returned value ranges in a batch request. The option is a: <code>int</code> type. Group: consumer
        Parameters:
        maxResults - the value to set
        Returns:
        the dsl builder
      • scopes

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder scopes​(List<String> scopes)
        Specifies the level of permissions you want a sheets application to have to a user account. See https://developers.google.com/identity/protocols/googlescopes for more info. The option is a: <code>java.util.List&lt;java.lang.String&gt;</code> type. Group: consumer
        Parameters:
        scopes - the value to set
        Returns:
        the dsl builder
      • splitResults

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder splitResults​(boolean splitResults)
        True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size. The option is a: <code>boolean</code> type. Default: false Group: consumer
        Parameters:
        splitResults - the value to set
        Returns:
        the dsl builder
      • autowiredEnabled

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        autowiredEnabled - the value to set
        Returns:
        the dsl builder
      • clientFactory

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder clientFactory​(org.apache.camel.component.google.sheets.GoogleSheetsClientFactory clientFactory)
        To use the GoogleSheetsClientFactory as factory for creating the client. Will by default use BatchGoogleSheetsClientFactory. The option is a: <code>org.apache.camel.component.google.sheets.GoogleSheetsClientFactory</code> type. Group: advanced
        Parameters:
        clientFactory - the value to set
        Returns:
        the dsl builder
      • refreshToken

        default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder refreshToken​(String refreshToken)
        OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived. The option is a: <code>java.lang.String</code> type. Group: security
        Parameters:
        refreshToken - the value to set
        Returns:
        the dsl builder