This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new ad2355d Ran full build
ad2355d is described below
commit ad2355d2322d6bb6246f332eb39e0d47317a83e9
Author: nayananga <[email protected]>
AuthorDate: Fri Aug 21 22:59:32 2020 +0530
Ran full build
---
.../camel/springboot/catalog/components.properties | 1 +
.../camel/springboot/catalog/components/minio.json | 140 +++++
components-starter/README.adoc | 5 +-
components-starter/camel-minio-starter/pom.xml | 53 ++
.../src/main/docs/minio-starter.adoc | 78 +++
.../MinioComponentAutoConfiguration.java | 108 ++++
.../springboot/MinioComponentConfiguration.java | 659 +++++++++++++++++++++
.../src/main/resources/META-INF/LICENSE.txt | 203 +++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 +
.../src/main/resources/META-INF/spring.factories | 19 +
.../src/main/resources/META-INF/spring.provides | 17 +
components-starter/pom.xml | 1 +
docs/modules/ROOT/pages/list.adoc | 5 +-
docs/modules/ROOT/pages/minio-starter.adoc | 78 +++
tooling/camel-spring-boot-dependencies/pom.xml | 5 +
15 files changed, 1381 insertions(+), 2 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
index 0fc0bb0..4c73ed6 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties
@@ -227,6 +227,7 @@ micrometer
milo-client
milo-server
mina
+minio
mllp
mock
mongodb
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
new file mode 100644
index 0000000..d0c67f6
--- /dev/null
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/minio.json
@@ -0,0 +1,140 @@
+{
+ "component": {
+ "kind": "component",
+ "name": "minio",
+ "title": "Minio",
+ "description": "Store and retrieve objects from Minio Storage Service
using Minio SDK.",
+ "deprecated": false,
+ "firstVersion": "3.5.0",
+ "label": "cloud,file",
+ "javaType": "org.apache.camel.component.minio.MinioComponent",
+ "supportLevel": "Preview",
+ "groupId": "org.apache.camel.springboot",
+ "artifactId": "camel-minio-starter",
+ "version": "3.5.0-SNAPSHOT",
+ "scheme": "minio",
+ "extendsScheme": "",
+ "syntax": "minio:bucketName",
+ "async": false,
+ "consumerOnly": false,
+ "producerOnly": false,
+ "lenientProperties": false
+ },
+ "componentProperties": {
+ "autoCreateBucket": { "kind": "property", "displayName": "Auto Create
Bucket", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Setting the autocreation of the bucket if
bucket name not exist." },
+ "configuration": { "kind": "property", "displayName": "Configuration",
"group": "common", "label": "", "required": false, "type": "object",
"javaType": "org.apache.camel.component.minio.MinioConfiguration",
"deprecated": false, "secret": false, "description": "The component
configuration" },
+ "customHttpClient": { "kind": "property", "displayName": "Custom Http
Client", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "okhttp3.OkHttpClient", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set custom HTTP client for authenticated
access." },
+ "endpoint": { "kind": "property", "displayName": "Endpoint", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Endpoint can be an URL, domain name, IPv4
address or IPv6 address." },
+ "minioClient": { "kind": "property", "displayName": "Minio Client",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "io.minio.MinioClient", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Reference to a Minio
Client object in the registry." },
+ "objectLock": { "kind": "property", "displayName": "Object Lock", "group":
"common", "label": "common", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "secret": false, "defaultValue": "false",
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set when creating new
bucket." },
+ "policy": { "kind": "property", "displayName": "Policy", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The policy for this queue to set in the
method." },
+ "proxyPort": { "kind": "property", "displayName": "Proxy Port", "group":
"common", "label": "common", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "TCP\/IP port number. 80
and 443 are used as defaults for HTTP and HTTPS." },
+ "region": { "kind": "property", "displayName": "Region", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "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- [...]
+ "secure": { "kind": "property", "displayName": "Secure", "group":
"common", "label": "common", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Flag to indicate to use
secure connection to minio service or not." },
+ "serverSideEncryption": { "kind": "property", "displayName": "Server Side
Encryption", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "io.minio.ServerSideEncryption", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Server-side encryption." },
+ "serverSideEncryptionCustomerKey": { "kind": "property", "displayName":
"Server Side Encryption Customer Key", "group": "common", "label": "common",
"required": false, "type": "object", "javaType":
"io.minio.ServerSideEncryptionCustomerKey", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Server-side encryption for source object while
copy\/move objects." },
+ "autoCloseBody": { "kind": "property", "displayName": "Auto Close Body",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "If this option is true and includeBody is
true, then the MinioObject.close() method will be called on exchange complet
[...]
+ "bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "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 [...]
+ "bypassGovernanceMode": { "kind": "property", "displayName": "Bypass
Governance Mode", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set this flag if you want to
bypassGovernanceMode when deleting a particular object." },
+ "deleteAfterRead": { "kind": "property", "displayName": "Delete After
Read", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Delete objects from Minio after they have been
retrieved. The delete is only performed if the Exchange is committe [...]
+ "delimiter": { "kind": "property", "displayName": "Delimiter", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "The delimiter which is
used in the ListObjectsRequest to only consume objects we are interested in." },
+ "destinationBucketName": { "kind": "property", "displayName": "Destination
Bucket Name", "group": "consumer", "label": "consumer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Source bucket name." },
+ "destinationObjectName": { "kind": "property", "displayName": "Destination
Object Name", "group": "consumer", "label": "consumer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Source object name." },
+ "includeBody": { "kind": "property", "displayName": "Include Body",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "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 wit
[...]
+ "includeFolders": { "kind": "property", "displayName": "Include Folders",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The flag which is used in the
ListObjectsRequest to set include folders." },
+ "includeUserMetadata": { "kind": "property", "displayName": "Include User
Metadata", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The flag which is used in the
ListObjectsRequest to get objects with user meta data." },
+ "includeVersions": { "kind": "property", "displayName": "Include
Versions", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The flag which is used in the
ListObjectsRequest to get objects with versioning." },
+ "length": { "kind": "property", "displayName": "Length", "group":
"consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Number of bytes of object data from offset." },
+ "matchETag": { "kind": "property", "displayName": "Match ETag", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set match ETag parameter
for get object(s)." },
+ "maxConnections": { "kind": "property", "displayName": "Max Connections",
"group": "consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "secret": false, "defaultValue": "60",
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set the maxConnections
parameter in the minio client configuration" },
+ "maxMessagesPerPoll": { "kind": "property", "displayName": "Max Messages
Per Poll", "group": "consumer", "label": "consumer", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "secret": false,
"defaultValue": "10", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Gets the maximum number of messages as a limit
to poll at each polling. Gets the maximum number of messages as a [...]
+ "modifiedSince": { "kind": "property", "displayName": "Modified Since",
"group": "consumer", "label": "consumer", "required": false, "type": "object",
"javaType": "java.time.ZonedDateTime", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set modified since
parameter for get object(s)." },
+ "moveAfterRead": { "kind": "property", "displayName": "Move After Read",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Move objects from bucket to a different bucket
after they have been retrieved. To accomplish the operation the destin [...]
+ "notMatchETag": { "kind": "property", "displayName": "Not Match ETag",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set not match ETag
parameter for get object(s)." },
+ "objectName": { "kind": "property", "displayName": "Object Name", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "To get the object from
the bucket with the given object name." },
+ "offset": { "kind": "property", "displayName": "Offset", "group":
"consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Start byte position of object data." },
+ "prefix": { "kind": "property", "displayName": "Prefix", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Object name starts with
prefix." },
+ "recursive": { "kind": "property", "displayName": "Recursive", "group":
"consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "List recursively than directory structure
emulation." },
+ "startAfter": { "kind": "property", "displayName": "Start After", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "list objects in bucket
after this object name." },
+ "unModifiedSince": { "kind": "property", "displayName": "Un Modified
Since", "group": "consumer", "label": "consumer", "required": false, "type":
"object", "javaType": "java.time.ZonedDateTime", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set un modified since parameter for get
object(s)." },
+ "useVersion1": { "kind": "property", "displayName": "Use Version1",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "when true, version 1 of REST API is used." },
+ "versionId": { "kind": "property", "displayName": "Version Id", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set specific version_ID
of a object when deleting the object." },
+ "deleteAfterWrite": { "kind": "property", "displayName": "Delete After
Write", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Delete file object after the Minio file has
been uploaded." },
+ "keyName": { "kind": "property", "displayName": "Key Name", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Setting the key name for
an element in the bucket through endpoint parameter." },
+ "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "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 r [...]
+ "operation": { "kind": "property", "displayName": "Operation", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.minio.MinioOperations", "enum": [
"copyObject", "listObjects", "deleteObject", "deleteObjects", "deleteBucket",
"listBuckets", "getObject", "getObjectRange" ], "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configur [...]
+ "pojoRequest": { "kind": "property", "displayName": "Pojo Request",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not." },
+ "storageClass": { "kind": "property", "displayName": "Storage Class",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "The storage class to set
in the request." },
+ "basicPropertyBinding": { "kind": "property", "displayName": "Basic
Property Binding", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "Whether the component should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities" },
+ "accessKey": { "kind": "property", "displayName": "Access Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": true,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Access
Key or Minio Access Key. If not set camel will connect to service for anonymous
access." },
+ "secretKey": { "kind": "property", "displayName": "Secret Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": true,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Access Key Id
or Minio Secret Key. If not set camel will connect to service for anonymous
access." }
+ },
+ "properties": {
+ "bucketName": { "kind": "path", "displayName": "Bucket Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Bucket name" },
+ "autoCreateBucket": { "kind": "parameter", "displayName": "Auto Create
Bucket", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Setting the autocreation of the bucket if
bucket name not exist." },
+ "customHttpClient": { "kind": "parameter", "displayName": "Custom Http
Client", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "okhttp3.OkHttpClient", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set custom HTTP client for authenticated
access." },
+ "endpoint": { "kind": "parameter", "displayName": "Endpoint", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Endpoint can be an URL, domain name, IPv4
address or IPv6 address." },
+ "minioClient": { "kind": "parameter", "displayName": "Minio Client",
"group": "common", "label": "common", "required": false, "type": "object",
"javaType": "io.minio.MinioClient", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Reference to a Minio
Client object in the registry." },
+ "objectLock": { "kind": "parameter", "displayName": "Object Lock",
"group": "common", "label": "common", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set when creating new bucket." },
+ "policy": { "kind": "parameter", "displayName": "Policy", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The policy for this queue to set in the
method." },
+ "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group":
"common", "label": "common", "required": false, "type": "integer", "javaType":
"java.lang.Integer", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "TCP\/IP port number. 80
and 443 are used as defaults for HTTP and HTTPS." },
+ "region": { "kind": "parameter", "displayName": "Region", "group":
"common", "label": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "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 [...]
+ "secure": { "kind": "parameter", "displayName": "Secure", "group":
"common", "label": "common", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Flag to indicate to use
secure connection to minio service or not." },
+ "serverSideEncryption": { "kind": "parameter", "displayName": "Server Side
Encryption", "group": "common", "label": "common", "required": false, "type":
"object", "javaType": "io.minio.ServerSideEncryption", "deprecated": false,
"secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Server-side encryption." },
+ "serverSideEncryptionCustomerKey": { "kind": "parameter", "displayName":
"Server Side Encryption Customer Key", "group": "common", "label": "common",
"required": false, "type": "object", "javaType":
"io.minio.ServerSideEncryptionCustomerKey", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Server-side encryption for source object while
copy\/move objects." },
+ "autoCloseBody": { "kind": "parameter", "displayName": "Auto Close Body",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "If this option is true and includeBody is
true, then the MinioObject.close() method will be called on exchange comple
[...]
+ "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error
Handler", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "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 b [...]
+ "bypassGovernanceMode": { "kind": "parameter", "displayName": "Bypass
Governance Mode", "group": "consumer", "label": "consumer", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set this flag if you want to
bypassGovernanceMode when deleting a particular object." },
+ "deleteAfterRead": { "kind": "parameter", "displayName": "Delete After
Read", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Delete objects from Minio after they have been
retrieved. The delete is only performed if the Exchange is committ [...]
+ "delimiter": { "kind": "parameter", "displayName": "Delimiter", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "The delimiter which is
used in the ListObjectsRequest to only consume objects we are interested in." },
+ "destinationBucketName": { "kind": "parameter", "displayName":
"Destination Bucket Name", "group": "consumer", "label": "consumer",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Source bucket name." },
+ "destinationObjectName": { "kind": "parameter", "displayName":
"Destination Object Name", "group": "consumer", "label": "consumer",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Source object name." },
+ "includeBody": { "kind": "parameter", "displayName": "Include Body",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"true", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "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 wi
[...]
+ "includeFolders": { "kind": "parameter", "displayName": "Include Folders",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The flag which is used in the
ListObjectsRequest to set include folders." },
+ "includeUserMetadata": { "kind": "parameter", "displayName": "Include User
Metadata", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The flag which is used in the
ListObjectsRequest to get objects with user meta data." },
+ "includeVersions": { "kind": "parameter", "displayName": "Include
Versions", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "The flag which is used in the
ListObjectsRequest to get objects with versioning." },
+ "length": { "kind": "parameter", "displayName": "Length", "group":
"consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Number of bytes of object data from offset." },
+ "matchETag": { "kind": "parameter", "displayName": "Match ETag", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set match ETag parameter
for get object(s)." },
+ "maxConnections": { "kind": "parameter", "displayName": "Max Connections",
"group": "consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "secret": false, "defaultValue": "60",
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set the maxConnections
parameter in the minio client configuration" },
+ "maxMessagesPerPoll": { "kind": "parameter", "displayName": "Max Messages
Per Poll", "group": "consumer", "label": "consumer", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "secret": false,
"defaultValue": "10", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Gets the maximum number of messages as a limit
to poll at each polling. Gets the maximum number of messages as a [...]
+ "modifiedSince": { "kind": "parameter", "displayName": "Modified Since",
"group": "consumer", "label": "consumer", "required": false, "type": "object",
"javaType": "java.time.ZonedDateTime", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set modified since
parameter for get object(s)." },
+ "moveAfterRead": { "kind": "parameter", "displayName": "Move After Read",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Move objects from bucket to a different bucket
after they have been retrieved. To accomplish the operation the desti [...]
+ "notMatchETag": { "kind": "parameter", "displayName": "Not Match ETag",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set not match ETag
parameter for get object(s)." },
+ "objectName": { "kind": "parameter", "displayName": "Object Name",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "To get the object from
the bucket with the given object name." },
+ "offset": { "kind": "parameter", "displayName": "Offset", "group":
"consumer", "label": "consumer", "required": false, "type": "integer",
"javaType": "long", "deprecated": false, "secret": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Start byte position of object data." },
+ "prefix": { "kind": "parameter", "displayName": "Prefix", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Object name starts with
prefix." },
+ "recursive": { "kind": "parameter", "displayName": "Recursive", "group":
"consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "List recursively than directory structure
emulation." },
+ "sendEmptyMessageWhenIdle": { "kind": "parameter", "displayName": "Send
Empty Message When Idle", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret":
false, "defaultValue": false, "description": "If the polling consumer did not
poll any files, you can enable this option to send an empty message (no body)
instead." },
+ "startAfter": { "kind": "parameter", "displayName": "Start After",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "list objects in bucket
after this object name." },
+ "unModifiedSince": { "kind": "parameter", "displayName": "Un Modified
Since", "group": "consumer", "label": "consumer", "required": false, "type":
"object", "javaType": "java.time.ZonedDateTime", "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Set un modified since parameter for get
object(s)." },
+ "useVersion1": { "kind": "parameter", "displayName": "Use Version1",
"group": "consumer", "label": "consumer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "when true, version 1 of REST API is used." },
+ "versionId": { "kind": "parameter", "displayName": "Version Id", "group":
"consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Set specific version_ID
of a object when deleting the object." },
+ "exceptionHandler": { "kind": "parameter", "displayName": "Exception
Handler", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "secret": false, "description": "To let the consumer use a
custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled
then this option is not in use. By default the consumer will deal with [...]
+ "exchangePattern": { "kind": "parameter", "displayName": "Exchange
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut",
"InOptionalOut" ], "deprecated": false, "secret": false, "description": "Sets
the exchange pattern when the consumer creates an exchange." },
+ "pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation before an Exchange h [...]
+ "deleteAfterWrite": { "kind": "parameter", "displayName": "Delete After
Write", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "Delete file object after the Minio file has
been uploaded." },
+ "keyName": { "kind": "parameter", "displayName": "Key Name", "group":
"producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Setting the key name for
an element in the bucket through endpoint parameter." },
+ "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start
Producer", "group": "producer", "label": "producer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "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 [...]
+ "operation": { "kind": "parameter", "displayName": "Operation", "group":
"producer", "label": "producer", "required": false, "type": "object",
"javaType": "org.apache.camel.component.minio.MinioOperations", "enum": [
"copyObject", "listObjects", "deleteObject", "deleteObjects", "deleteBucket",
"listBuckets", "getObject", "getObjectRange" ], "deprecated": false, "secret":
false, "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configu [...]
+ "pojoRequest": { "kind": "parameter", "displayName": "Pojo Request",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "configurationClass":
"org.apache.camel.component.minio.MinioConfiguration", "configurationField":
"configuration", "description": "If we want to use a POJO request as body or
not." },
+ "storageClass": { "kind": "parameter", "displayName": "Storage Class",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": false,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "The storage class to set
in the request." },
+ "basicPropertyBinding": { "kind": "parameter", "displayName": "Basic
Property Binding", "group": "advanced", "label": "advanced", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "Whether the endpoint should use basic
property binding (Camel 2.x) or the newer property binding with additional
capabilities" },
+ "synchronous": { "kind": "parameter", "displayName": "Synchronous",
"group": "advanced", "label": "advanced", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue":
"false", "description": "Sets whether synchronous processing should be strictly
used, or Camel is allowed to use asynchronous processing (if supported)." },
+ "backoffErrorThreshold": { "kind": "parameter", "displayName": "Backoff
Error Threshold", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"secret": false, "description": "The number of subsequent error polls (failed
due some error) that should happen before the backoffMultipler should kick-in."
},
+ "backoffIdleThreshold": { "kind": "parameter", "displayName": "Backoff
Idle Threshold", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"secret": false, "description": "The number of subsequent idle polls that
should happen before the backoffMultipler should kick-in." },
+ "backoffMultiplier": { "kind": "parameter", "displayName": "Backoff
Multiplier", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "secret":
false, "description": "To let the scheduled polling consumer backoff if there
has been a number of subsequent idles\/errors in a row. The multiplier is then
the number of polls that will be skipped before the next actual attempt is
happening again. When this option [...]
+ "delay": { "kind": "parameter", "displayName": "Delay", "group":
"scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "secret": false,
"defaultValue": "500", "description": "Milliseconds before the next poll." },
+ "greedy": { "kind": "parameter", "displayName": "Greedy", "group":
"scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": false, "description": "If greedy is enabled, then the
ScheduledPollConsumer will run immediately again, if the previous run polled 1
or more messages." },
+ "initialDelay": { "kind": "parameter", "displayName": "Initial Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "secret": false,
"defaultValue": "1000", "description": "Milliseconds before the first poll
starts." },
+ "repeatCount": { "kind": "parameter", "displayName": "Repeat Count",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "secret": false,
"defaultValue": "0", "description": "Specifies a maximum limit of number of
fires. So if you set it to 1, the scheduler will only fire once. If you set it
to 5, it will only fire five times. A value of zero or negative means fire
forever." },
+ "runLoggingLevel": { "kind": "parameter", "displayName": "Run Logging
Level", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "object", "javaType": "org.apache.camel.LoggingLevel", "enum": [
"TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated": false,
"secret": false, "defaultValue": "TRACE", "description": "The consumer logs a
start\/complete log line when it polls. This option allows you to configure the
logging level for that." },
+ "scheduledExecutorService": { "kind": "parameter", "displayName":
"Scheduled Executor Service", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "object", "javaType":
"java.util.concurrent.ScheduledExecutorService", "deprecated": false, "secret":
false, "description": "Allows for configuring a custom\/shared thread pool to
use for the consumer. By default each consumer has its own single threaded
thread pool." },
+ "scheduler": { "kind": "parameter", "displayName": "Scheduler", "group":
"scheduler", "label": "consumer,scheduler", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "none", "spring", "quartz"
], "deprecated": false, "secret": false, "defaultValue": "none", "description":
"To use a cron scheduler from either camel-spring or camel-quartz component" },
+ "schedulerProperties": { "kind": "parameter", "displayName": "Scheduler
Properties", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "object", "javaType": "java.util.Map<java.lang.String,
java.lang.Object>", "prefix": "scheduler.", "multiValue": true, "deprecated":
false, "secret": false, "description": "To configure additional properties when
using a custom scheduler or any of the Quartz, Spring based scheduler." },
+ "startScheduler": { "kind": "parameter", "displayName": "Start Scheduler",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "description": "Whether the scheduler should be auto
started." },
+ "timeUnit": { "kind": "parameter", "displayName": "Time Unit", "group":
"scheduler", "label": "consumer,scheduler", "required": false, "type":
"object", "javaType": "java.util.concurrent.TimeUnit", "enum": [ "NANOSECONDS",
"MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS", "DAYS" ],
"deprecated": false, "secret": false, "defaultValue": "MILLISECONDS",
"description": "Time unit for initialDelay and delay options." },
+ "useFixedDelay": { "kind": "parameter", "displayName": "Use Fixed Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "description": "Controls if fixed delay or fixed rate
is used. See ScheduledExecutorService in JDK for details." },
+ "accessKey": { "kind": "parameter", "displayName": "Access Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": true,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Secret Access
Key or Minio Access Key. If not set camel will connect to service for anonymous
access." },
+ "secretKey": { "kind": "parameter", "displayName": "Secret Key", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "secret": true,
"configurationClass": "org.apache.camel.component.minio.MinioConfiguration",
"configurationField": "configuration", "description": "Amazon AWS Access Key Id
or Minio Secret Key. If not set camel will connect to service for anonymous
access." }
+ }
+}
diff --git a/components-starter/README.adoc b/components-starter/README.adoc
index 0ef7c32..e73cabc 100644
--- a/components-starter/README.adoc
+++ b/components-starter/README.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts
as Spring Boot S
== Camel Components
// components: START
-Number of Camel components: 338 in 271 JAR artifacts (3 deprecated)
+Number of Camel components: 339 in 272 JAR artifacts (3 deprecated)
[width="100%",cols="4,1,5",options="header"]
|===
@@ -671,6 +671,9 @@ Number of Camel components: 338 in 271 JAR artifacts (3
deprecated)
| link:https://camel.apache.org/components/latest/mina-component.html[Mina]
(camel-mina-starter) +
`mina:protocol:host:port` | 2.10 | Socket level networking using TCP or UDP
with Apache Mina 2.x.
+| link:https://camel.apache.org/components/latest/minio-component.html[Minio]
(camel-minio-starter) +
+`minio:bucketName` | 3.5 | Store and retrieve objects from Minio Storage
Service using Minio SDK.
+
| link:https://camel.apache.org/components/latest/mllp-component.html[MLLP]
(camel-mllp-starter) +
`mllp:hostname:port` | 2.17 | Communicate with external systems using the MLLP
protocol.
diff --git a/components-starter/camel-minio-starter/pom.xml
b/components-starter/camel-minio-starter/pom.xml
new file mode 100644
index 0000000..37611ce
--- /dev/null
+++ b/components-starter/camel-minio-starter/pom.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>components-starter</artifactId>
+ <version>3.5.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-minio-starter</artifactId>
+ <packaging>jar</packaging>
+ <!-- <name>Camel Spring Boot :: Starters :: Dozer</name>-->
+ <!-- <description>Spring-Boot Starter for Camel Support for the Dozer
type conversion framework</description>-->
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter</artifactId>
+ <version>${spring-boot-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-minio</artifactId>
+ <version>${camel-version}</version>
+ </dependency>
+ <!--START OF GENERATED CODE-->
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-core-starter</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spring-boot-starter</artifactId>
+ </dependency>
+ <!--END OF GENERATED CODE-->
+ </dependencies>
+</project>
diff --git
a/components-starter/camel-minio-starter/src/main/docs/minio-starter.adoc
b/components-starter/camel-minio-starter/src/main/docs/minio-starter.adoc
new file mode 100644
index 0000000..da684d1
--- /dev/null
+++ b/components-starter/camel-minio-starter/src/main/docs/minio-starter.adoc
@@ -0,0 +1,78 @@
+// spring-boot-auto-configure options: START
+:page-partial:
+:doctitle: Camel Spring Boot Starter for minio
+
+== Spring Boot Auto-Configuration
+
+When using minio with Spring Boot make sure to use the following Maven
dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-minio-starter</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 48 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.minio.access-key* | Amazon AWS Secret Access Key or Minio
Access Key. If not set camel will connect to service for anonymous access. | |
String
+| *camel.component.minio.auto-close-body* | 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. | true | Boolean
+| *camel.component.minio.auto-create-bucket* | Setting the autocreation of the
bucket if bucket name not exist. | true | Boolean
+| *camel.component.minio.basic-property-binding* | Whether the component
should use basic property binding (Camel 2.x) or the newer property binding
with additional capabilities | false | Boolean
+| *camel.component.minio.bridge-error-handler* | 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. |
false | Boolean
+| *camel.component.minio.bypass-governance-mode* | Set this flag if you want
to bypassGovernanceMode when deleting a particular object. | false | Boolean
+| *camel.component.minio.configuration* | The component configuration. The
option is a org.apache.camel.component.minio.MinioConfiguration type. | |
String
+| *camel.component.minio.custom-http-client* | Set custom HTTP client for
authenticated access. The option is a okhttp3.OkHttpClient type. | | String
+| *camel.component.minio.delete-after-read* | 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 header [...]
+| *camel.component.minio.delete-after-write* | Delete file object after the
Minio file has been uploaded. | false | Boolean
+| *camel.component.minio.delimiter* | The delimiter which is used in the
ListObjectsRequest to only consume objects we are interested in. | | String
+| *camel.component.minio.destination-bucket-name* | Source bucket name. | |
String
+| *camel.component.minio.destination-object-name* | Source object name. | |
String
+| *camel.component.minio.enabled* | Whether to enable auto configuration of
the minio component. This is enabled by default. | | Boolean
+| *camel.component.minio.endpoint* | Endpoint can be an URL, domain name, IPv4
address or IPv6 address. | | String
+| *camel.component.minio.include-body* | 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. | true [...]
+| *camel.component.minio.include-folders* | The flag which is used in the
ListObjectsRequest to set include folders. | false | Boolean
+| *camel.component.minio.include-user-metadata* | The flag which is used in
the ListObjectsRequest to get objects with user meta data. | false | Boolean
+| *camel.component.minio.include-versions* | The flag which is used in the
ListObjectsRequest to get objects with versioning. | false | Boolean
+| *camel.component.minio.key-name* | Setting the key name for an element in
the bucket through endpoint parameter. | | String
+| *camel.component.minio.lazy-start-producer* | 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 [...]
+| *camel.component.minio.length* | Number of bytes of object data from offset.
| | Long
+| *camel.component.minio.match-e-tag* | Set match ETag parameter for get
object(s). | | String
+| *camel.component.minio.max-connections* | Set the maxConnections parameter
in the minio client configuration | 60 | Integer
+| *camel.component.minio.max-messages-per-poll* | 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. | 10 | Integer
+| *camel.component.minio.minio-client* | Reference to a Minio Client object in
the registry. The option is a io.minio.MinioClient type. | | String
+| *camel.component.minio.modified-since* | Set modified since parameter for
get object(s). The option is a java.time.ZonedDateTime type. | | String
+| *camel.component.minio.move-after-read* | 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. | false | Boolean
+| *camel.component.minio.not-match-e-tag* | Set not match ETag parameter for
get object(s). | | String
+| *camel.component.minio.object-lock* | Set when creating new bucket. | false
| Boolean
+| *camel.component.minio.object-name* | To get the object from the bucket with
the given object name. | | String
+| *camel.component.minio.offset* | Start byte position of object data. | |
Long
+| *camel.component.minio.operation* | The operation to do in case the user
don't want to do only an upload. | | MinioOperations
+| *camel.component.minio.pojo-request* | If we want to use a POJO request as
body or not. | false | Boolean
+| *camel.component.minio.policy* | The policy for this queue to set in the
method. | | String
+| *camel.component.minio.prefix* | Object name starts with prefix. | | String
+| *camel.component.minio.proxy-port* | TCP/IP port number. 80 and 443 are used
as defaults for HTTP and HTTPS. | | Integer
+| *camel.component.minio.recursive* | List recursively than directory
structure emulation. | false | Boolean
+| *camel.component.minio.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() | | String
+| *camel.component.minio.secret-key* | Amazon AWS Access Key Id or Minio
Secret Key. If not set camel will connect to service for anonymous access. | |
String
+| *camel.component.minio.secure* | Flag to indicate to use secure connection
to minio service or not. | false | Boolean
+| *camel.component.minio.server-side-encryption* | Server-side encryption. The
option is a io.minio.ServerSideEncryption type. | | String
+| *camel.component.minio.server-side-encryption-customer-key* | Server-side
encryption for source object while copy/move objects. The option is a
io.minio.ServerSideEncryptionCustomerKey type. | | String
+| *camel.component.minio.start-after* | list objects in bucket after this
object name. | | String
+| *camel.component.minio.storage-class* | The storage class to set in the
request. | | String
+| *camel.component.minio.un-modified-since* | Set un modified since parameter
for get object(s). The option is a java.time.ZonedDateTime type. | | String
+| *camel.component.minio.use-version1* | when true, version 1 of REST API is
used. | false | Boolean
+| *camel.component.minio.version-id* | Set specific version_ID of a object
when deleting the object. | | String
+|===
+
+
+// spring-boot-auto-configure options: END
diff --git
a/components-starter/camel-minio-starter/src/main/java/org/apache/camel/component/minio/springboot/MinioComponentAutoConfiguration.java
b/components-starter/camel-minio-starter/src/main/java/org/apache/camel/component/minio/springboot/MinioComponentAutoConfiguration.java
new file mode 100644
index 0000000..ed817ff
--- /dev/null
+++
b/components-starter/camel-minio-starter/src/main/java/org/apache/camel/component/minio/springboot/MinioComponentAutoConfiguration.java
@@ -0,0 +1,108 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.minio.springboot;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.CamelContext;
+import org.apache.camel.component.minio.MinioComponent;
+import org.apache.camel.spi.ComponentCustomizer;
+import org.apache.camel.spi.HasId;
+import org.apache.camel.spring.boot.CamelAutoConfiguration;
+import org.apache.camel.spring.boot.ComponentConfigurationProperties;
+import org.apache.camel.spring.boot.util.CamelPropertiesHelper;
+import
org.apache.camel.spring.boot.util.ConditionalOnCamelContextAndAutoConfigurationBeans;
+import org.apache.camel.spring.boot.util.GroupCondition;
+import org.apache.camel.spring.boot.util.HierarchicalPropertiesEvaluator;
+import org.apache.camel.support.IntrospectionSupport;
+import org.apache.camel.util.ObjectHelper;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.AutoConfigureAfter;
+import
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
+import
org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Conditional;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Lazy;
+
+/**
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.springboot.maven.SpringBootAutoConfigurationMojo")
+@Configuration(proxyBeanMethods = false)
+@Conditional({ConditionalOnCamelContextAndAutoConfigurationBeans.class,
+ MinioComponentAutoConfiguration.GroupConditions.class})
+@AutoConfigureAfter(CamelAutoConfiguration.class)
+@EnableConfigurationProperties({ComponentConfigurationProperties.class,
+ MinioComponentConfiguration.class})
+public class MinioComponentAutoConfiguration {
+
+ private static final Logger LOGGER = LoggerFactory
+ .getLogger(MinioComponentAutoConfiguration.class);
+ @Autowired
+ private ApplicationContext applicationContext;
+ @Autowired
+ private CamelContext camelContext;
+ @Autowired
+ private MinioComponentConfiguration configuration;
+ @Autowired(required = false)
+ private List<ComponentCustomizer<MinioComponent>> customizers;
+
+ static class GroupConditions extends GroupCondition {
+ public GroupConditions() {
+ super("camel.component", "camel.component.minio");
+ }
+ }
+
+ @Lazy
+ @Bean(name = "minio-component")
+ @ConditionalOnMissingBean(MinioComponent.class)
+ public MinioComponent configureMinioComponent() throws Exception {
+ MinioComponent component = new MinioComponent();
+ component.setCamelContext(camelContext);
+ Map<String, Object> parameters = new HashMap<>();
+ IntrospectionSupport.getProperties(configuration, parameters, null,
+ false);
+ CamelPropertiesHelper.setCamelProperties(camelContext, component,
+ parameters, false);
+ if (ObjectHelper.isNotEmpty(customizers)) {
+ for (ComponentCustomizer<MinioComponent> customizer : customizers)
{
+ boolean useCustomizer = (customizer instanceof HasId)
+ ? HierarchicalPropertiesEvaluator.evaluate(
+ applicationContext.getEnvironment(),
+ "camel.component.customizer",
+ "camel.component.minio.customizer",
+ ((HasId) customizer).getId())
+ : HierarchicalPropertiesEvaluator.evaluate(
+ applicationContext.getEnvironment(),
+ "camel.component.customizer",
+ "camel.component.minio.customizer");
+ if (useCustomizer) {
+ LOGGER.debug("Configure component {}, with customizer {}",
+ component, customizer);
+ customizer.customize(component);
+ }
+ }
+ }
+ return component;
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-minio-starter/src/main/java/org/apache/camel/component/minio/springboot/MinioComponentConfiguration.java
b/components-starter/camel-minio-starter/src/main/java/org/apache/camel/component/minio/springboot/MinioComponentConfiguration.java
new file mode 100644
index 0000000..bccd23c
--- /dev/null
+++
b/components-starter/camel-minio-starter/src/main/java/org/apache/camel/component/minio/springboot/MinioComponentConfiguration.java
@@ -0,0 +1,659 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.component.minio.springboot;
+
+import javax.annotation.Generated;
+import org.apache.camel.component.minio.MinioOperations;
+import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * Store and retrieve objects from Minio Storage Service using Minio SDK.
+ *
+ * Generated by camel-package-maven-plugin - do not edit this file!
+ */
+@Generated("org.apache.camel.springboot.maven.SpringBootAutoConfigurationMojo")
+@ConfigurationProperties(prefix = "camel.component.minio")
+public class MinioComponentConfiguration
+ extends
+ ComponentConfigurationPropertiesCommon {
+
+ /**
+ * Whether to enable auto configuration of the minio component. This is
+ * enabled by default.
+ */
+ private Boolean enabled;
+ /**
+ * Setting the autocreation of the bucket if bucket name not exist.
+ */
+ private Boolean autoCreateBucket = true;
+ /**
+ * The component configuration. The option is a
+ * org.apache.camel.component.minio.MinioConfiguration type.
+ */
+ private String configuration;
+ /**
+ * Set custom HTTP client for authenticated access. The option is a
+ * okhttp3.OkHttpClient type.
+ */
+ private String customHttpClient;
+ /**
+ * Endpoint can be an URL, domain name, IPv4 address or IPv6 address.
+ */
+ private String endpoint;
+ /**
+ * Reference to a Minio Client object in the registry. The option is a
+ * io.minio.MinioClient type.
+ */
+ private String minioClient;
+ /**
+ * Set when creating new bucket.
+ */
+ private Boolean objectLock = false;
+ /**
+ * The policy for this queue to set in the method.
+ */
+ private String policy;
+ /**
+ * TCP/IP port number. 80 and 443 are used as defaults for HTTP and HTTPS.
+ */
+ private Integer proxyPort;
+ /**
+ * 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()
+ */
+ private String region;
+ /**
+ * Flag to indicate to use secure connection to minio service or not.
+ */
+ private Boolean secure = false;
+ /**
+ * Server-side encryption. The option is a io.minio.ServerSideEncryption
+ * type.
+ */
+ private String serverSideEncryption;
+ /**
+ * Server-side encryption for source object while copy/move objects. The
+ * option is a io.minio.ServerSideEncryptionCustomerKey type.
+ */
+ private String serverSideEncryptionCustomerKey;
+ /**
+ * 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.
+ */
+ private Boolean autoCloseBody = true;
+ /**
+ * 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.
+ */
+ private Boolean bridgeErrorHandler = false;
+ /**
+ * Set this flag if you want to bypassGovernanceMode when deleting a
+ * particular object.
+ */
+ private Boolean bypassGovernanceMode = false;
+ /**
+ * 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.
+ */
+ private Boolean deleteAfterRead = true;
+ /**
+ * The delimiter which is used in the ListObjectsRequest to only consume
+ * objects we are interested in.
+ */
+ private String delimiter;
+ /**
+ * Source bucket name.
+ */
+ private String destinationBucketName;
+ /**
+ * Source object name.
+ */
+ private String destinationObjectName;
+ /**
+ * 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.
+ */
+ private Boolean includeBody = true;
+ /**
+ * The flag which is used in the ListObjectsRequest to set include folders.
+ */
+ private Boolean includeFolders = false;
+ /**
+ * The flag which is used in the ListObjectsRequest to get objects with
user
+ * meta data.
+ */
+ private Boolean includeUserMetadata = false;
+ /**
+ * The flag which is used in the ListObjectsRequest to get objects with
+ * versioning.
+ */
+ private Boolean includeVersions = false;
+ /**
+ * Number of bytes of object data from offset.
+ */
+ private Long length;
+ /**
+ * Set match ETag parameter for get object(s).
+ */
+ private String matchETag;
+ /**
+ * Set the maxConnections parameter in the minio client configuration
+ */
+ private Integer maxConnections = 60;
+ /**
+ * 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.
+ */
+ private Integer maxMessagesPerPoll = 10;
+ /**
+ * Set modified since parameter for get object(s). The option is a
+ * java.time.ZonedDateTime type.
+ */
+ private String modifiedSince;
+ /**
+ * 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.
+ */
+ private Boolean moveAfterRead = false;
+ /**
+ * Set not match ETag parameter for get object(s).
+ */
+ private String notMatchETag;
+ /**
+ * To get the object from the bucket with the given object name.
+ */
+ private String objectName;
+ /**
+ * Start byte position of object data.
+ */
+ private Long offset;
+ /**
+ * Object name starts with prefix.
+ */
+ private String prefix;
+ /**
+ * List recursively than directory structure emulation.
+ */
+ private Boolean recursive = false;
+ /**
+ * list objects in bucket after this object name.
+ */
+ private String startAfter;
+ /**
+ * Set un modified since parameter for get object(s). The option is a
+ * java.time.ZonedDateTime type.
+ */
+ private String unModifiedSince;
+ /**
+ * when true, version 1 of REST API is used.
+ */
+ private Boolean useVersion1 = false;
+ /**
+ * Set specific version_ID of a object when deleting the object.
+ */
+ private String versionId;
+ /**
+ * Delete file object after the Minio file has been uploaded.
+ */
+ private Boolean deleteAfterWrite = false;
+ /**
+ * Setting the key name for an element in the bucket through endpoint
+ * parameter.
+ */
+ private String keyName;
+ /**
+ * 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.
+ */
+ private Boolean lazyStartProducer = false;
+ /**
+ * The operation to do in case the user don't want to do only an upload.
+ */
+ private MinioOperations operation;
+ /**
+ * If we want to use a POJO request as body or not.
+ */
+ private Boolean pojoRequest = false;
+ /**
+ * The storage class to set in the request.
+ */
+ private String storageClass;
+ /**
+ * Whether the component should use basic property binding (Camel 2.x) or
+ * the newer property binding with additional capabilities
+ */
+ private Boolean basicPropertyBinding = false;
+ /**
+ * Amazon AWS Secret Access Key or Minio Access Key. If not set camel will
+ * connect to service for anonymous access.
+ */
+ private String accessKey;
+ /**
+ * Amazon AWS Access Key Id or Minio Secret Key. If not set camel will
+ * connect to service for anonymous access.
+ */
+ private String secretKey;
+
+ public Boolean getAutoCreateBucket() {
+ return autoCreateBucket;
+ }
+
+ public void setAutoCreateBucket(Boolean autoCreateBucket) {
+ this.autoCreateBucket = autoCreateBucket;
+ }
+
+ public String getConfiguration() {
+ return configuration;
+ }
+
+ public void setConfiguration(String configuration) {
+ this.configuration = configuration;
+ }
+
+ public String getCustomHttpClient() {
+ return customHttpClient;
+ }
+
+ public void setCustomHttpClient(String customHttpClient) {
+ this.customHttpClient = customHttpClient;
+ }
+
+ public String getEndpoint() {
+ return endpoint;
+ }
+
+ public void setEndpoint(String endpoint) {
+ this.endpoint = endpoint;
+ }
+
+ public String getMinioClient() {
+ return minioClient;
+ }
+
+ public void setMinioClient(String minioClient) {
+ this.minioClient = minioClient;
+ }
+
+ public Boolean getObjectLock() {
+ return objectLock;
+ }
+
+ public void setObjectLock(Boolean objectLock) {
+ this.objectLock = objectLock;
+ }
+
+ public String getPolicy() {
+ return policy;
+ }
+
+ public void setPolicy(String policy) {
+ this.policy = policy;
+ }
+
+ public Integer getProxyPort() {
+ return proxyPort;
+ }
+
+ public void setProxyPort(Integer proxyPort) {
+ this.proxyPort = proxyPort;
+ }
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public Boolean getSecure() {
+ return secure;
+ }
+
+ public void setSecure(Boolean secure) {
+ this.secure = secure;
+ }
+
+ public String getServerSideEncryption() {
+ return serverSideEncryption;
+ }
+
+ public void setServerSideEncryption(String serverSideEncryption) {
+ this.serverSideEncryption = serverSideEncryption;
+ }
+
+ public String getServerSideEncryptionCustomerKey() {
+ return serverSideEncryptionCustomerKey;
+ }
+
+ public void setServerSideEncryptionCustomerKey(
+ String serverSideEncryptionCustomerKey) {
+ this.serverSideEncryptionCustomerKey = serverSideEncryptionCustomerKey;
+ }
+
+ public Boolean getAutoCloseBody() {
+ return autoCloseBody;
+ }
+
+ public void setAutoCloseBody(Boolean autoCloseBody) {
+ this.autoCloseBody = autoCloseBody;
+ }
+
+ public Boolean getBridgeErrorHandler() {
+ return bridgeErrorHandler;
+ }
+
+ public void setBridgeErrorHandler(Boolean bridgeErrorHandler) {
+ this.bridgeErrorHandler = bridgeErrorHandler;
+ }
+
+ public Boolean getBypassGovernanceMode() {
+ return bypassGovernanceMode;
+ }
+
+ public void setBypassGovernanceMode(Boolean bypassGovernanceMode) {
+ this.bypassGovernanceMode = bypassGovernanceMode;
+ }
+
+ public Boolean getDeleteAfterRead() {
+ return deleteAfterRead;
+ }
+
+ public void setDeleteAfterRead(Boolean deleteAfterRead) {
+ this.deleteAfterRead = deleteAfterRead;
+ }
+
+ public String getDelimiter() {
+ return delimiter;
+ }
+
+ public void setDelimiter(String delimiter) {
+ this.delimiter = delimiter;
+ }
+
+ public String getDestinationBucketName() {
+ return destinationBucketName;
+ }
+
+ public void setDestinationBucketName(String destinationBucketName) {
+ this.destinationBucketName = destinationBucketName;
+ }
+
+ public String getDestinationObjectName() {
+ return destinationObjectName;
+ }
+
+ public void setDestinationObjectName(String destinationObjectName) {
+ this.destinationObjectName = destinationObjectName;
+ }
+
+ public Boolean getIncludeBody() {
+ return includeBody;
+ }
+
+ public void setIncludeBody(Boolean includeBody) {
+ this.includeBody = includeBody;
+ }
+
+ public Boolean getIncludeFolders() {
+ return includeFolders;
+ }
+
+ public void setIncludeFolders(Boolean includeFolders) {
+ this.includeFolders = includeFolders;
+ }
+
+ public Boolean getIncludeUserMetadata() {
+ return includeUserMetadata;
+ }
+
+ public void setIncludeUserMetadata(Boolean includeUserMetadata) {
+ this.includeUserMetadata = includeUserMetadata;
+ }
+
+ public Boolean getIncludeVersions() {
+ return includeVersions;
+ }
+
+ public void setIncludeVersions(Boolean includeVersions) {
+ this.includeVersions = includeVersions;
+ }
+
+ public Long getLength() {
+ return length;
+ }
+
+ public void setLength(Long length) {
+ this.length = length;
+ }
+
+ public String getMatchETag() {
+ return matchETag;
+ }
+
+ public void setMatchETag(String matchETag) {
+ this.matchETag = matchETag;
+ }
+
+ public Integer getMaxConnections() {
+ return maxConnections;
+ }
+
+ public void setMaxConnections(Integer maxConnections) {
+ this.maxConnections = maxConnections;
+ }
+
+ public Integer getMaxMessagesPerPoll() {
+ return maxMessagesPerPoll;
+ }
+
+ public void setMaxMessagesPerPoll(Integer maxMessagesPerPoll) {
+ this.maxMessagesPerPoll = maxMessagesPerPoll;
+ }
+
+ public String getModifiedSince() {
+ return modifiedSince;
+ }
+
+ public void setModifiedSince(String modifiedSince) {
+ this.modifiedSince = modifiedSince;
+ }
+
+ public Boolean getMoveAfterRead() {
+ return moveAfterRead;
+ }
+
+ public void setMoveAfterRead(Boolean moveAfterRead) {
+ this.moveAfterRead = moveAfterRead;
+ }
+
+ public String getNotMatchETag() {
+ return notMatchETag;
+ }
+
+ public void setNotMatchETag(String notMatchETag) {
+ this.notMatchETag = notMatchETag;
+ }
+
+ public String getObjectName() {
+ return objectName;
+ }
+
+ public void setObjectName(String objectName) {
+ this.objectName = objectName;
+ }
+
+ public Long getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Long offset) {
+ this.offset = offset;
+ }
+
+ public String getPrefix() {
+ return prefix;
+ }
+
+ public void setPrefix(String prefix) {
+ this.prefix = prefix;
+ }
+
+ public Boolean getRecursive() {
+ return recursive;
+ }
+
+ public void setRecursive(Boolean recursive) {
+ this.recursive = recursive;
+ }
+
+ public String getStartAfter() {
+ return startAfter;
+ }
+
+ public void setStartAfter(String startAfter) {
+ this.startAfter = startAfter;
+ }
+
+ public String getUnModifiedSince() {
+ return unModifiedSince;
+ }
+
+ public void setUnModifiedSince(String unModifiedSince) {
+ this.unModifiedSince = unModifiedSince;
+ }
+
+ public Boolean getUseVersion1() {
+ return useVersion1;
+ }
+
+ public void setUseVersion1(Boolean useVersion1) {
+ this.useVersion1 = useVersion1;
+ }
+
+ public String getVersionId() {
+ return versionId;
+ }
+
+ public void setVersionId(String versionId) {
+ this.versionId = versionId;
+ }
+
+ public Boolean getDeleteAfterWrite() {
+ return deleteAfterWrite;
+ }
+
+ public void setDeleteAfterWrite(Boolean deleteAfterWrite) {
+ this.deleteAfterWrite = deleteAfterWrite;
+ }
+
+ public String getKeyName() {
+ return keyName;
+ }
+
+ public void setKeyName(String keyName) {
+ this.keyName = keyName;
+ }
+
+ public Boolean getLazyStartProducer() {
+ return lazyStartProducer;
+ }
+
+ public void setLazyStartProducer(Boolean lazyStartProducer) {
+ this.lazyStartProducer = lazyStartProducer;
+ }
+
+ public MinioOperations getOperation() {
+ return operation;
+ }
+
+ public void setOperation(MinioOperations operation) {
+ this.operation = operation;
+ }
+
+ public Boolean getPojoRequest() {
+ return pojoRequest;
+ }
+
+ public void setPojoRequest(Boolean pojoRequest) {
+ this.pojoRequest = pojoRequest;
+ }
+
+ public String getStorageClass() {
+ return storageClass;
+ }
+
+ public void setStorageClass(String storageClass) {
+ this.storageClass = storageClass;
+ }
+
+ public Boolean getBasicPropertyBinding() {
+ return basicPropertyBinding;
+ }
+
+ public void setBasicPropertyBinding(Boolean basicPropertyBinding) {
+ this.basicPropertyBinding = basicPropertyBinding;
+ }
+
+ public String getAccessKey() {
+ return accessKey;
+ }
+
+ public void setAccessKey(String accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ public String getSecretKey() {
+ return secretKey;
+ }
+
+ public void setSecretKey(String secretKey) {
+ this.secretKey = secretKey;
+ }
+}
\ No newline at end of file
diff --git
a/components-starter/camel-minio-starter/src/main/resources/META-INF/LICENSE.txt
b/components-starter/camel-minio-starter/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++
b/components-starter/camel-minio-starter/src/main/resources/META-INF/LICENSE.txt
@@ -0,0 +1,203 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
diff --git
a/components-starter/camel-minio-starter/src/main/resources/META-INF/NOTICE.txt
b/components-starter/camel-minio-starter/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000..2e215bf
--- /dev/null
+++
b/components-starter/camel-minio-starter/src/main/resources/META-INF/NOTICE.txt
@@ -0,0 +1,11 @@
+ =========================================================================
+ == NOTICE file corresponding to the section 4 d of ==
+ == the Apache License, Version 2.0, ==
+ == in this case for the Apache Camel distribution. ==
+ =========================================================================
+
+ This product includes software developed by
+ The Apache Software Foundation (http://www.apache.org/).
+
+ Please read the different LICENSE files present in the licenses directory of
+ this distribution.
diff --git
a/components-starter/camel-minio-starter/src/main/resources/META-INF/spring.factories
b/components-starter/camel-minio-starter/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..5859129
--- /dev/null
+++
b/components-starter/camel-minio-starter/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.minio.springboot.MinioComponentAutoConfiguration
diff --git
a/components-starter/camel-minio-starter/src/main/resources/META-INF/spring.provides
b/components-starter/camel-minio-starter/src/main/resources/META-INF/spring.provides
new file mode 100644
index 0000000..61615db
--- /dev/null
+++
b/components-starter/camel-minio-starter/src/main/resources/META-INF/spring.provides
@@ -0,0 +1,17 @@
+## ---------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ---------------------------------------------------------------------------
+provides: camel-minio
diff --git a/components-starter/pom.xml b/components-starter/pom.xml
index 4eaa0740..519c063 100644
--- a/components-starter/pom.xml
+++ b/components-starter/pom.xml
@@ -311,6 +311,7 @@
<module>camel-micrometer-starter</module>
<module>camel-milo-starter</module>
<module>camel-mina-starter</module>
+ <module>camel-minio-starter</module>
<module>camel-mllp-starter</module>
<module>camel-mock-starter</module>
<module>camel-mongodb-gridfs-starter</module>
diff --git a/docs/modules/ROOT/pages/list.adoc
b/docs/modules/ROOT/pages/list.adoc
index 0ef7c32..e73cabc 100644
--- a/docs/modules/ROOT/pages/list.adoc
+++ b/docs/modules/ROOT/pages/list.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts
as Spring Boot S
== Camel Components
// components: START
-Number of Camel components: 338 in 271 JAR artifacts (3 deprecated)
+Number of Camel components: 339 in 272 JAR artifacts (3 deprecated)
[width="100%",cols="4,1,5",options="header"]
|===
@@ -671,6 +671,9 @@ Number of Camel components: 338 in 271 JAR artifacts (3
deprecated)
| link:https://camel.apache.org/components/latest/mina-component.html[Mina]
(camel-mina-starter) +
`mina:protocol:host:port` | 2.10 | Socket level networking using TCP or UDP
with Apache Mina 2.x.
+| link:https://camel.apache.org/components/latest/minio-component.html[Minio]
(camel-minio-starter) +
+`minio:bucketName` | 3.5 | Store and retrieve objects from Minio Storage
Service using Minio SDK.
+
| link:https://camel.apache.org/components/latest/mllp-component.html[MLLP]
(camel-mllp-starter) +
`mllp:hostname:port` | 2.17 | Communicate with external systems using the MLLP
protocol.
diff --git a/docs/modules/ROOT/pages/minio-starter.adoc
b/docs/modules/ROOT/pages/minio-starter.adoc
new file mode 100644
index 0000000..da684d1
--- /dev/null
+++ b/docs/modules/ROOT/pages/minio-starter.adoc
@@ -0,0 +1,78 @@
+// spring-boot-auto-configure options: START
+:page-partial:
+:doctitle: Camel Spring Boot Starter for minio
+
+== Spring Boot Auto-Configuration
+
+When using minio with Spring Boot make sure to use the following Maven
dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-minio-starter</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 48 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.minio.access-key* | Amazon AWS Secret Access Key or Minio
Access Key. If not set camel will connect to service for anonymous access. | |
String
+| *camel.component.minio.auto-close-body* | 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. | true | Boolean
+| *camel.component.minio.auto-create-bucket* | Setting the autocreation of the
bucket if bucket name not exist. | true | Boolean
+| *camel.component.minio.basic-property-binding* | Whether the component
should use basic property binding (Camel 2.x) or the newer property binding
with additional capabilities | false | Boolean
+| *camel.component.minio.bridge-error-handler* | 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. |
false | Boolean
+| *camel.component.minio.bypass-governance-mode* | Set this flag if you want
to bypassGovernanceMode when deleting a particular object. | false | Boolean
+| *camel.component.minio.configuration* | The component configuration. The
option is a org.apache.camel.component.minio.MinioConfiguration type. | |
String
+| *camel.component.minio.custom-http-client* | Set custom HTTP client for
authenticated access. The option is a okhttp3.OkHttpClient type. | | String
+| *camel.component.minio.delete-after-read* | 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 header [...]
+| *camel.component.minio.delete-after-write* | Delete file object after the
Minio file has been uploaded. | false | Boolean
+| *camel.component.minio.delimiter* | The delimiter which is used in the
ListObjectsRequest to only consume objects we are interested in. | | String
+| *camel.component.minio.destination-bucket-name* | Source bucket name. | |
String
+| *camel.component.minio.destination-object-name* | Source object name. | |
String
+| *camel.component.minio.enabled* | Whether to enable auto configuration of
the minio component. This is enabled by default. | | Boolean
+| *camel.component.minio.endpoint* | Endpoint can be an URL, domain name, IPv4
address or IPv6 address. | | String
+| *camel.component.minio.include-body* | 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. | true [...]
+| *camel.component.minio.include-folders* | The flag which is used in the
ListObjectsRequest to set include folders. | false | Boolean
+| *camel.component.minio.include-user-metadata* | The flag which is used in
the ListObjectsRequest to get objects with user meta data. | false | Boolean
+| *camel.component.minio.include-versions* | The flag which is used in the
ListObjectsRequest to get objects with versioning. | false | Boolean
+| *camel.component.minio.key-name* | Setting the key name for an element in
the bucket through endpoint parameter. | | String
+| *camel.component.minio.lazy-start-producer* | 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 [...]
+| *camel.component.minio.length* | Number of bytes of object data from offset.
| | Long
+| *camel.component.minio.match-e-tag* | Set match ETag parameter for get
object(s). | | String
+| *camel.component.minio.max-connections* | Set the maxConnections parameter
in the minio client configuration | 60 | Integer
+| *camel.component.minio.max-messages-per-poll* | 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. | 10 | Integer
+| *camel.component.minio.minio-client* | Reference to a Minio Client object in
the registry. The option is a io.minio.MinioClient type. | | String
+| *camel.component.minio.modified-since* | Set modified since parameter for
get object(s). The option is a java.time.ZonedDateTime type. | | String
+| *camel.component.minio.move-after-read* | 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. | false | Boolean
+| *camel.component.minio.not-match-e-tag* | Set not match ETag parameter for
get object(s). | | String
+| *camel.component.minio.object-lock* | Set when creating new bucket. | false
| Boolean
+| *camel.component.minio.object-name* | To get the object from the bucket with
the given object name. | | String
+| *camel.component.minio.offset* | Start byte position of object data. | |
Long
+| *camel.component.minio.operation* | The operation to do in case the user
don't want to do only an upload. | | MinioOperations
+| *camel.component.minio.pojo-request* | If we want to use a POJO request as
body or not. | false | Boolean
+| *camel.component.minio.policy* | The policy for this queue to set in the
method. | | String
+| *camel.component.minio.prefix* | Object name starts with prefix. | | String
+| *camel.component.minio.proxy-port* | TCP/IP port number. 80 and 443 are used
as defaults for HTTP and HTTPS. | | Integer
+| *camel.component.minio.recursive* | List recursively than directory
structure emulation. | false | Boolean
+| *camel.component.minio.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() | | String
+| *camel.component.minio.secret-key* | Amazon AWS Access Key Id or Minio
Secret Key. If not set camel will connect to service for anonymous access. | |
String
+| *camel.component.minio.secure* | Flag to indicate to use secure connection
to minio service or not. | false | Boolean
+| *camel.component.minio.server-side-encryption* | Server-side encryption. The
option is a io.minio.ServerSideEncryption type. | | String
+| *camel.component.minio.server-side-encryption-customer-key* | Server-side
encryption for source object while copy/move objects. The option is a
io.minio.ServerSideEncryptionCustomerKey type. | | String
+| *camel.component.minio.start-after* | list objects in bucket after this
object name. | | String
+| *camel.component.minio.storage-class* | The storage class to set in the
request. | | String
+| *camel.component.minio.un-modified-since* | Set un modified since parameter
for get object(s). The option is a java.time.ZonedDateTime type. | | String
+| *camel.component.minio.use-version1* | when true, version 1 of REST API is
used. | false | Boolean
+| *camel.component.minio.version-id* | Set specific version_ID of a object
when deleting the object. | | String
+|===
+
+
+// spring-boot-auto-configure options: END
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index bd25c9a..42271e6 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -1248,6 +1248,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-minio-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-mllp-starter</artifactId>
<version>${project.version}</version>
</dependency>