Interface MinioComponentBuilderFactory.MinioComponentBuilder

    • Method Detail

      • autoCreateBucket

        default MinioComponentBuilderFactory.MinioComponentBuilder autoCreateBucket​(boolean autoCreateBucket)
        Setting the autocreation of the bucket if bucket name not exist. The option is a: boolean type. Default: true Group: common
      • configuration

        default MinioComponentBuilderFactory.MinioComponentBuilder configuration​(org.apache.camel.component.minio.MinioConfiguration configuration)
        The component configuration. The option is a: org.apache.camel.component.minio.MinioConfiguration type. Group: common
      • region

        default MinioComponentBuilderFactory.MinioComponentBuilder region​(String region)
        The region in which Minio client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). You'll need to use the name Region.EU_WEST_1.id(). The option is a: java.lang.String type. Group: common
      • serverSideEncryption

        default MinioComponentBuilderFactory.MinioComponentBuilder serverSideEncryption​(io.minio.ServerSideEncryption serverSideEncryption)
        Server-side encryption. The option is a: io.minio.ServerSideEncryption type. Group: common
      • serverSideEncryptionCustomerKey

        default MinioComponentBuilderFactory.MinioComponentBuilder serverSideEncryptionCustomerKey​(io.minio.ServerSideEncryptionCustomerKey serverSideEncryptionCustomerKey)
        Server-side encryption for source object while copy/move objects. The option is a: io.minio.ServerSideEncryptionCustomerKey type. Group: common
      • autoCloseBody

        default MinioComponentBuilderFactory.MinioComponentBuilder autoCloseBody​(boolean autoCloseBody)
        If this option is true and includeBody is true, then the MinioObject.close() method will be called on exchange completion. This option is strongly related to includeBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the MinioObject stream. Setting autocloseBody to true, will close the MinioObject stream automatically. The option is a: boolean type. Default: true Group: consumer
      • bridgeErrorHandler

        default MinioComponentBuilderFactory.MinioComponentBuilder 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: boolean type. Default: false Group: consumer
      • bypassGovernanceMode

        default MinioComponentBuilderFactory.MinioComponentBuilder bypassGovernanceMode​(boolean bypassGovernanceMode)
        Set this flag if you want to bypassGovernanceMode when deleting a particular object. The option is a: boolean type. Default: false Group: consumer
      • deleteAfterRead

        default MinioComponentBuilderFactory.MinioComponentBuilder deleteAfterRead​(boolean deleteAfterRead)
        Delete objects from Minio after they have been retrieved. The delete is only performed if the Exchange is committed. If a rollback occurs, the object is not deleted. If this option is false, then the same objects will be retrieve over and over again on the polls. Therefore you need to use the Idempotent Consumer EIP in the route to filter out duplicates. You can filter using the MinioConstants#BUCKET_NAME and MinioConstants#OBJECT_NAME headers, or only the MinioConstants#OBJECT_NAME header. The option is a: boolean type. Default: true Group: consumer
      • includeBody

        default MinioComponentBuilderFactory.MinioComponentBuilder includeBody​(boolean includeBody)
        If it is true, the exchange body will be set to a stream to the contents of the file. If false, the headers will be set with the Minio object metadata, but the body will be null. This option is strongly related to autocloseBody option. In case of setting includeBody to true and autocloseBody to false, it will be up to the caller to close the MinioObject stream. Setting autocloseBody to true, will close the MinioObject stream automatically. The option is a: boolean type. Default: true Group: consumer
      • includeFolders

        default MinioComponentBuilderFactory.MinioComponentBuilder includeFolders​(boolean includeFolders)
        The flag which is used in the ListObjectsRequest to set include folders. The option is a: boolean type. Default: false Group: consumer
      • includeUserMetadata

        default MinioComponentBuilderFactory.MinioComponentBuilder includeUserMetadata​(boolean includeUserMetadata)
        The flag which is used in the ListObjectsRequest to get objects with user meta data. The option is a: boolean type. Default: false Group: consumer
      • includeVersions

        default MinioComponentBuilderFactory.MinioComponentBuilder includeVersions​(boolean includeVersions)
        The flag which is used in the ListObjectsRequest to get objects with versioning. The option is a: boolean type. Default: false Group: consumer
      • maxMessagesPerPoll

        default MinioComponentBuilderFactory.MinioComponentBuilder maxMessagesPerPoll​(int maxMessagesPerPoll)
        Gets the maximum number of messages as a limit to poll at each polling. Gets the maximum number of messages as a limit to poll at each polling. The default value is 10. Use 0 or a negative number to set it as unlimited. The option is a: int type. Default: 10 Group: consumer
      • moveAfterRead

        default MinioComponentBuilderFactory.MinioComponentBuilder moveAfterRead​(boolean moveAfterRead)
        Move objects from bucket to a different bucket after they have been retrieved. To accomplish the operation the destinationBucket option must be set. The copy bucket operation is only performed if the Exchange is committed. If a rollback occurs, the object is not moved. The option is a: boolean type. Default: false Group: consumer
      • lazyStartProducer

        default MinioComponentBuilderFactory.MinioComponentBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: boolean type. Default: false Group: producer
      • operation

        default MinioComponentBuilderFactory.MinioComponentBuilder operation​(org.apache.camel.component.minio.MinioOperations operation)
        The operation to do in case the user don't want to do only an upload. The option is a: org.apache.camel.component.minio.MinioOperations type. Group: producer
      • autowiredEnabled

        default MinioComponentBuilderFactory.MinioComponentBuilder 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: boolean type. Default: true Group: advanced