writeToGoogleStorage
Processor that writes payloads to a Google Cloud Storage bucket.
The name of the object is set to the internal message ID by default. This behaviour can be overridden by using the standard fileName
exchange property.
See the JavaDoc on the RetrySettings from the Google API Extensions for Java project for a more in-depth explanation of the retry configuration properties.
Properties
Name | Summary |
---|---|
|
Adds a name to a list of exchange properties that are stored as metadata alongside the payload. |
|
The Google Cloud Storage bucket name under which the payload is stored. Required. |
|
A secret key that the server uses to look up the credentials needed to perform the Google authentication. Required. |
|
Whether to retain the payload after writing it to Google Storage, making it available for processing in downstream processors. Defaults to |
|
Default content MIME type (e.g., |
|
The timeout of the HTTP client socket connection. Optional. |
|
The socket timeout to wait for the first byte of response from the server. Optional. |
|
The total amount of time the channel can spend on a request (including retries) before failing the request. Required. |
|
The maximum number of retry attempts the channel can perform before failing the request. Required. |
|
The delay before performing the first retry after the original request has failed. Required. |
|
The multiplier to apply to the previous retry delay when calculating the next retry delay. |
|
The maximum time to wait between retries. Overrides the value calculated by applying the |
|
The initial time to allow before timing out a request. Required. |
|
The multiplier to apply to the previous timeout when calculating the timeout to apply to the next retry. |
|
The maximum timeout to apply to requests. Overrides the value calculated by applying the |
|
Optional, descriptive name for the processor. |
|
Required identifier of the processor, unique across all processors within the flow. Must be between 3 and 30 characters long; contain only lower and uppercase alphabetical characters (a-z and A-Z), numbers, dashes ("-"), and underscores ("_"); and start with an alphabetical character. In other words, it adheres to the regex pattern |
|
Optional set of custom properties in a simple jdk-format, that are added to the message exchange properties before processing the incoming payload. Any existing properties with the same name will be replaced by properties defined here. |
|
Whether the incoming payload is available for error processing on failure. Defaults to |
Sub-builders
Name | Summary |
---|---|
Strategy for describing the external system integration. Optional. |
|
Strategy for providing message processing hints to the server. The |
|
Strategy for configuring the processor’s circuit breaker. Optional. |
|
Strategy for describing how a processor’s message is logged on the server. |
|
Strategy for archiving payloads. |
|
Strategy that customizes the conversion of an incoming payload by a processor (e.g., string to object). Should be used when the processor’s default conversion logic cannot be used. |
Details
Authentication
The authenticationConfigKey
property supports secrets of type GoogleServiceAccountCredentials.
See the Secret Types documentation for formatting details.