You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/02/24 15:42:28 UTC
[camel] branch master updated (d235457 -> 3b25cdc)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.
from d235457 CAMEL-16246: Remove Camel-Azure legacy component (#5118)
new fafce2d CAMEL-16246 - Remove deprecated Camel-Azure component
new c6af942 CAMEL-16246 - Remove deprecated Camel-Azure component
new 3b25cdc CAMEL-16246 - Remove deprecated Camel-Azure component
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../component/ComponentsBuilderFactory.java | 39 +
.../src/generated/resources/metadata.json | 68 +
.../builder/endpoint/EndpointBuilderFactory.java | 2 -
.../camel/builder/endpoint/EndpointBuilders.java | 2 -
.../builder/endpoint/StaticEndpointBuilders.java | 90 --
.../dsl/BlobServiceEndpointBuilderFactory.java | 1538 --------------------
.../dsl/QueueServiceEndpointBuilderFactory.java | 838 -----------
7 files changed, 107 insertions(+), 2470 deletions(-)
delete mode 100644 core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java
delete mode 100644 core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueServiceEndpointBuilderFactory.java
[camel] 03/03: CAMEL-16246 - Remove deprecated Camel-Azure component
Posted by ac...@apache.org.
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.git
commit 3b25cdcb9129ec0d7076e12cfdb23eee9fe315bd
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 24 16:38:19 2021 +0100
CAMEL-16246 - Remove deprecated Camel-Azure component
---
.../component/ComponentsBuilderFactory.java | 39 +++++++++++++
.../src/generated/resources/metadata.json | 68 ++++++++++++++++++++++
.../builder/endpoint/EndpointBuilderFactory.java | 2 -
.../camel/builder/endpoint/EndpointBuilders.java | 2 -
.../builder/endpoint/StaticEndpointBuilders.java | 2 +-
5 files changed, 108 insertions(+), 5 deletions(-)
diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index 3ecc172..c4d4274 100644
--- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -2142,6 +2142,19 @@ public interface ComponentsBuilderFactory {
return org.apache.camel.builder.component.dsl.IgniteSetComponentBuilderFactory.igniteSet();
}
/**
+ * IMAP (camel-mail)
+ * Send and receive emails using imap, pop3 and smtp protocols.
+ *
+ * Category: mail
+ * Since: 1.0
+ * Maven coordinates: org.apache.camel:camel-mail
+ *
+ * @return the dsl builder
+ */
+ static org.apache.camel.builder.component.dsl.ImapComponentBuilderFactory.ImapComponentBuilder imap() {
+ return org.apache.camel.builder.component.dsl.ImapComponentBuilderFactory.imap();
+ }
+ /**
* IMAPS (Secure) (camel-mail)
* Send and receive emails using imap, pop3 and smtp protocols.
*
@@ -2678,6 +2691,19 @@ public interface ComponentsBuilderFactory {
return org.apache.camel.builder.component.dsl.KubernetesReplicationControllersComponentBuilderFactory.kubernetesReplicationControllers();
}
/**
+ * Kubernetes Resources Quota (camel-kubernetes)
+ * Perform operations on Kubernetes Resources Quotas.
+ *
+ * Category: container,cloud,paas
+ * Since: 2.17
+ * Maven coordinates: org.apache.camel:camel-kubernetes
+ *
+ * @return the dsl builder
+ */
+ static org.apache.camel.builder.component.dsl.KubernetesResourcesQuotaComponentBuilderFactory.KubernetesResourcesQuotaComponentBuilder kubernetesResourcesQuota() {
+ return org.apache.camel.builder.component.dsl.KubernetesResourcesQuotaComponentBuilderFactory.kubernetesResourcesQuota();
+ }
+ /**
* Kubernetes Secrets (camel-kubernetes)
* Perform operations on Kubernetes Secrets.
*
@@ -4312,6 +4338,19 @@ public interface ComponentsBuilderFactory {
return org.apache.camel.builder.component.dsl.VertxComponentBuilderFactory.vertx();
}
/**
+ * Vert.x HTTP Client (camel-vertx-http)
+ * Send requests to external HTTP servers using Vert.x
+ *
+ * Category: http
+ * Since: 3.5
+ * Maven coordinates: org.apache.camel:camel-vertx-http
+ *
+ * @return the dsl builder
+ */
+ static org.apache.camel.builder.component.dsl.VertxHttpComponentBuilderFactory.VertxHttpComponentBuilder vertxHttp() {
+ return org.apache.camel.builder.component.dsl.VertxHttpComponentBuilderFactory.vertxHttp();
+ }
+ /**
* Vert.x Kafka (camel-vertx-kafka)
* Sent and receive messages to/from an Apache Kafka broker using vert.x
* Kafka client
diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json
index 73ea1f9..875fc84 100644
--- a/core/camel-componentdsl/src/generated/resources/metadata.json
+++ b/core/camel-componentdsl/src/generated/resources/metadata.json
@@ -3505,6 +3505,30 @@
"producerOnly": true,
"lenientProperties": false
},
+ "ImapComponentBuilderFactory": {
+ "kind": "component",
+ "name": "imap",
+ "title": "IMAP",
+ "description": "Send and receive emails using imap, pop3 and smtp protocols.",
+ "deprecated": false,
+ "firstVersion": "1.0.0",
+ "label": "mail",
+ "javaType": "org.apache.camel.component.mail.MailComponent",
+ "supportLevel": "Stable",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-mail",
+ "version": "3.9.0-SNAPSHOT",
+ "scheme": "imap",
+ "extendsScheme": "",
+ "alternativeSchemes": "imap,imaps,pop3,pop3s,smtp,smtps",
+ "syntax": "imap:host:port",
+ "alternativeSyntax": "imap:username:password@host:port",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": false,
+ "lenientProperties": false
+ },
"ImapsComponentBuilderFactory": {
"kind": "component",
"name": "imaps",
@@ -4391,6 +4415,28 @@
"producerOnly": false,
"lenientProperties": false
},
+ "KubernetesResourcesQuotaComponentBuilderFactory": {
+ "kind": "component",
+ "name": "kubernetes-resources-quota",
+ "title": "Kubernetes Resources Quota",
+ "description": "Perform operations on Kubernetes Resources Quotas.",
+ "deprecated": false,
+ "firstVersion": "2.17.0",
+ "label": "container,cloud,paas",
+ "javaType": "org.apache.camel.component.kubernetes.resources_quota.KubernetesResourcesQuotaComponent",
+ "supportLevel": "Stable",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-kubernetes",
+ "version": "3.9.0-SNAPSHOT",
+ "scheme": "kubernetes-resources-quota",
+ "extendsScheme": "",
+ "syntax": "kubernetes-resources-quota:masterUrl",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": false
+ },
"KubernetesSecretsComponentBuilderFactory": {
"kind": "component",
"name": "kubernetes-secrets",
@@ -7121,6 +7167,28 @@
"producerOnly": false,
"lenientProperties": false
},
+ "VertxHttpComponentBuilderFactory": {
+ "kind": "component",
+ "name": "vertx-http",
+ "title": "Vert.x HTTP Client",
+ "description": "Send requests to external HTTP servers using Vert.x",
+ "deprecated": false,
+ "firstVersion": "3.5.0",
+ "label": "http",
+ "javaType": "org.apache.camel.component.vertx.http.VertxHttpComponent",
+ "supportLevel": "Stable",
+ "groupId": "org.apache.camel",
+ "artifactId": "camel-vertx-http",
+ "version": "3.9.0-SNAPSHOT",
+ "scheme": "vertx-http",
+ "extendsScheme": "",
+ "syntax": "vertx-http:httpUri",
+ "async": false,
+ "api": false,
+ "consumerOnly": false,
+ "producerOnly": true,
+ "lenientProperties": true
+ },
"VertxKafkaComponentBuilderFactory": {
"kind": "component",
"name": "vertx-kafka",
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index 1945904..0dc0c1a 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -53,7 +53,6 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.BeanValidatorEndpointBuilderFactory.BeanValidatorBuilders,
org.apache.camel.builder.endpoint.dsl.BeanstalkEndpointBuilderFactory.BeanstalkBuilders,
org.apache.camel.builder.endpoint.dsl.BlobEndpointBuilderFactory.BlobBuilders,
- org.apache.camel.builder.endpoint.dsl.BlobServiceEndpointBuilderFactory.BlobServiceBuilders,
org.apache.camel.builder.endpoint.dsl.BonitaEndpointBuilderFactory.BonitaBuilders,
org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.BoxBuilders,
org.apache.camel.builder.endpoint.dsl.BraintreeEndpointBuilderFactory.BraintreeBuilders,
@@ -269,7 +268,6 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.PulsarEndpointBuilderFactory.PulsarBuilders,
org.apache.camel.builder.endpoint.dsl.QuartzEndpointBuilderFactory.QuartzBuilders,
org.apache.camel.builder.endpoint.dsl.QueueEndpointBuilderFactory.QueueBuilders,
- org.apache.camel.builder.endpoint.dsl.QueueServiceEndpointBuilderFactory.QueueServiceBuilders,
org.apache.camel.builder.endpoint.dsl.QuickfixjEndpointBuilderFactory.QuickfixjBuilders,
org.apache.camel.builder.endpoint.dsl.RabbitMQEndpointBuilderFactory.RabbitMQBuilders,
org.apache.camel.builder.endpoint.dsl.ReactiveStreamsEndpointBuilderFactory.ReactiveStreamsBuilders,
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index d4047af..a6450c8 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -50,7 +50,6 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.BeanValidatorEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.BeanstalkEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.BlobEndpointBuilderFactory,
- org.apache.camel.builder.endpoint.dsl.BlobServiceEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.BonitaEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.BraintreeEndpointBuilderFactory,
@@ -266,7 +265,6 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.PulsarEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.QuartzEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.QueueEndpointBuilderFactory,
- org.apache.camel.builder.endpoint.dsl.QueueServiceEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.QuickfixjEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.RabbitMQEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.ReactiveStreamsEndpointBuilderFactory,
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 0a140bc..d79b783 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -16397,4 +16397,4 @@ public class StaticEndpointBuilders {
return org.apache.camel.builder.endpoint.dsl.ZooKeeperMasterEndpointBuilderFactory.endpointBuilder(componentName, path);
}
}
-//CHECKSTYLE:ON
+//CHECKSTYLE:ON
\ No newline at end of file
[camel] 01/03: CAMEL-16246 - Remove deprecated Camel-Azure component
Posted by ac...@apache.org.
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.git
commit fafce2dd8e7969adb3a998ff4b1d8a22272897b0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 24 16:32:45 2021 +0100
CAMEL-16246 - Remove deprecated Camel-Azure component
---
.../builder/endpoint/StaticEndpointBuilders.java | 47 +-
.../dsl/BlobServiceEndpointBuilderFactory.java | 1538 --------------------
2 files changed, 1 insertion(+), 1584 deletions(-)
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 3053475..d78a17a 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -1924,51 +1924,6 @@ public class StaticEndpointBuilders {
return org.apache.camel.builder.endpoint.dsl.SWFEndpointBuilderFactory.endpointBuilder(componentName, path);
}
/**
- * Azure Storage Blob Service (Deprecated) (camel-azure)
- * Store and retrieve blobs from Azure Storage Blob Service.
- *
- * Category: cloud,file
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-blob:containerOrBlobUri</code>
- *
- * Path parameter: containerOrBlobUri (required)
- * Container or Blob compact Uri
- *
- * @param path containerOrBlobUri
- * @return the dsl builder
- */
- @Deprecated
- public static org.apache.camel.builder.endpoint.dsl.BlobServiceEndpointBuilderFactory.BlobServiceEndpointBuilder azureBlob(
- String path) {
- return org.apache.camel.builder.endpoint.dsl.BlobServiceEndpointBuilderFactory.endpointBuilder("azure-blob", path);
- }
- /**
- * Azure Storage Blob Service (Deprecated) (camel-azure)
- * Store and retrieve blobs from Azure Storage Blob Service.
- *
- * Category: cloud,file
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-blob:containerOrBlobUri</code>
- *
- * Path parameter: containerOrBlobUri (required)
- * Container or Blob compact Uri
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path containerOrBlobUri
- * @return the dsl builder
- */
- @Deprecated
- public static org.apache.camel.builder.endpoint.dsl.BlobServiceEndpointBuilderFactory.BlobServiceEndpointBuilder azureBlob(
- String componentName,
- String path) {
- return org.apache.camel.builder.endpoint.dsl.BlobServiceEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- /**
* Azure Event Hubs (camel-azure-eventhubs)
* The azure-eventhubs component that integrates Azure Event Hubs using AMQP
* protocol. Azure EventHubs is a highly scalable publish-subscribe service
@@ -16487,4 +16442,4 @@ public class StaticEndpointBuilders {
return org.apache.camel.builder.endpoint.dsl.ZooKeeperMasterEndpointBuilderFactory.endpointBuilder(componentName, path);
}
}
-//CHECKSTYLE:ON
\ No newline at end of file
+//CHECKSTYLE:ON
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java
deleted file mode 100644
index 3358645..0000000
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/BlobServiceEndpointBuilderFactory.java
+++ /dev/null
@@ -1,1538 +0,0 @@
-/*
- * 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.builder.endpoint.dsl;
-
-import java.util.Map;
-import javax.annotation.Generated;
-import org.apache.camel.ExchangePattern;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-import org.apache.camel.spi.ExceptionHandler;
-
-/**
- * Store and retrieve blobs from Azure Storage Blob Service.
- *
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface BlobServiceEndpointBuilderFactory {
-
-
- /**
- * Builder for endpoint consumers for the Azure Storage Blob Service
- * (Deprecated) component.
- */
- public interface BlobServiceEndpointConsumerBuilder
- extends
- EndpointConsumerBuilder {
- default AdvancedBlobServiceEndpointConsumerBuilder advanced() {
- return (AdvancedBlobServiceEndpointConsumerBuilder) this;
- }
- /**
- * The blob service client.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.blob.CloudBlob</code>
- * type.
- *
- * Group: common
- *
- * @param azureBlobClient the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder azureBlobClient(
- Object azureBlobClient) {
- doSetProperty("azureBlobClient", azureBlobClient);
- return this;
- }
- /**
- * The blob service client.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.blob.CloudBlob</code>
- * type.
- *
- * Group: common
- *
- * @param azureBlobClient the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder azureBlobClient(
- String azureBlobClient) {
- doSetProperty("azureBlobClient", azureBlobClient);
- return this;
- }
- /**
- * Set the blob offset for the upload or download operations, default is
- * 0.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Default: 0
- * Group: common
- *
- * @param blobOffset the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder blobOffset(Long blobOffset) {
- doSetProperty("blobOffset", blobOffset);
- return this;
- }
- /**
- * Set the blob offset for the upload or download operations, default is
- * 0.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Default: 0
- * Group: common
- *
- * @param blobOffset the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder blobOffset(String blobOffset) {
- doSetProperty("blobOffset", blobOffset);
- return this;
- }
- /**
- * Set a blob type, 'blockblob' is default.
- *
- * The option is a:
- * <code>org.apache.camel.component.azure.blob.BlobType</code> type.
- *
- * Default: blockblob
- * Group: common
- *
- * @param blobType the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder blobType(BlobType blobType) {
- doSetProperty("blobType", blobType);
- return this;
- }
- /**
- * Set a blob type, 'blockblob' is default.
- *
- * The option will be converted to a
- * <code>org.apache.camel.component.azure.blob.BlobType</code> type.
- *
- * Default: blockblob
- * Group: common
- *
- * @param blobType the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder blobType(String blobType) {
- doSetProperty("blobType", blobType);
- return this;
- }
- /**
- * Close the stream after read or keep it open, default is true.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param closeStreamAfterRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder closeStreamAfterRead(
- boolean closeStreamAfterRead) {
- doSetProperty("closeStreamAfterRead", closeStreamAfterRead);
- return this;
- }
- /**
- * Close the stream after read or keep it open, default is true.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param closeStreamAfterRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder closeStreamAfterRead(
- String closeStreamAfterRead) {
- doSetProperty("closeStreamAfterRead", closeStreamAfterRead);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder credentials(
- Object credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder credentials(
- String credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the data length for the download or page blob upload operations.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param dataLength the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder dataLength(Long dataLength) {
- doSetProperty("dataLength", dataLength);
- return this;
- }
- /**
- * Set the data length for the download or page blob upload operations.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param dataLength the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder dataLength(String dataLength) {
- doSetProperty("dataLength", dataLength);
- return this;
- }
- /**
- * Set the file directory where the downloaded blobs will be saved to.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fileDir the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder fileDir(String fileDir) {
- doSetProperty("fileDir", fileDir);
- return this;
- }
- /**
- * Storage resources can be public for reading their content, if this
- * property is enabled then the credentials do not have to be set.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: common
- *
- * @param publicForRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder publicForRead(
- boolean publicForRead) {
- doSetProperty("publicForRead", publicForRead);
- return this;
- }
- /**
- * Storage resources can be public for reading their content, if this
- * property is enabled then the credentials do not have to be set.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: common
- *
- * @param publicForRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder publicForRead(
- String publicForRead) {
- doSetProperty("publicForRead", publicForRead);
- return this;
- }
- /**
- * Set the minimum read size in bytes when reading the blob content.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: common
- *
- * @param streamReadSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder streamReadSize(
- int streamReadSize) {
- doSetProperty("streamReadSize", streamReadSize);
- return this;
- }
- /**
- * Set the minimum read size in bytes when reading the blob content.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: common
- *
- * @param streamReadSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder streamReadSize(
- String streamReadSize) {
- doSetProperty("streamReadSize", streamReadSize);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder validateClientURI(
- boolean validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder validateClientURI(
- String validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder bridgeErrorHandler(
- boolean bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder bridgeErrorHandler(
- String bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * Set the storage account key used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountKey the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder credentialsAccountKey(
- String credentialsAccountKey) {
- doSetProperty("credentialsAccountKey", credentialsAccountKey);
- return this;
- }
- /**
- * Set the storage account name used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountName the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointConsumerBuilder credentialsAccountName(
- String credentialsAccountName) {
- doSetProperty("credentialsAccountName", credentialsAccountName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint consumers for the Azure Storage Blob
- * Service (Deprecated) component.
- */
- public interface AdvancedBlobServiceEndpointConsumerBuilder
- extends
- EndpointConsumerBuilder {
- default BlobServiceEndpointConsumerBuilder basic() {
- return (BlobServiceEndpointConsumerBuilder) this;
- }
- /**
- * 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 exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option is a:
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedBlobServiceEndpointConsumerBuilder exceptionHandler(
- ExceptionHandler exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * 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 exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option will be converted to a
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedBlobServiceEndpointConsumerBuilder exceptionHandler(
- String exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option is a:
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedBlobServiceEndpointConsumerBuilder exchangePattern(
- ExchangePattern exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option will be converted to a
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedBlobServiceEndpointConsumerBuilder exchangePattern(
- String exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- }
-
- /**
- * Builder for endpoint producers for the Azure Storage Blob Service
- * (Deprecated) component.
- */
- public interface BlobServiceEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default AdvancedBlobServiceEndpointProducerBuilder advanced() {
- return (AdvancedBlobServiceEndpointProducerBuilder) this;
- }
- /**
- * The blob service client.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.blob.CloudBlob</code>
- * type.
- *
- * Group: common
- *
- * @param azureBlobClient the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder azureBlobClient(
- Object azureBlobClient) {
- doSetProperty("azureBlobClient", azureBlobClient);
- return this;
- }
- /**
- * The blob service client.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.blob.CloudBlob</code>
- * type.
- *
- * Group: common
- *
- * @param azureBlobClient the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder azureBlobClient(
- String azureBlobClient) {
- doSetProperty("azureBlobClient", azureBlobClient);
- return this;
- }
- /**
- * Set the blob offset for the upload or download operations, default is
- * 0.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Default: 0
- * Group: common
- *
- * @param blobOffset the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobOffset(Long blobOffset) {
- doSetProperty("blobOffset", blobOffset);
- return this;
- }
- /**
- * Set the blob offset for the upload or download operations, default is
- * 0.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Default: 0
- * Group: common
- *
- * @param blobOffset the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobOffset(String blobOffset) {
- doSetProperty("blobOffset", blobOffset);
- return this;
- }
- /**
- * Set a blob type, 'blockblob' is default.
- *
- * The option is a:
- * <code>org.apache.camel.component.azure.blob.BlobType</code> type.
- *
- * Default: blockblob
- * Group: common
- *
- * @param blobType the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobType(BlobType blobType) {
- doSetProperty("blobType", blobType);
- return this;
- }
- /**
- * Set a blob type, 'blockblob' is default.
- *
- * The option will be converted to a
- * <code>org.apache.camel.component.azure.blob.BlobType</code> type.
- *
- * Default: blockblob
- * Group: common
- *
- * @param blobType the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobType(String blobType) {
- doSetProperty("blobType", blobType);
- return this;
- }
- /**
- * Close the stream after read or keep it open, default is true.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param closeStreamAfterRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder closeStreamAfterRead(
- boolean closeStreamAfterRead) {
- doSetProperty("closeStreamAfterRead", closeStreamAfterRead);
- return this;
- }
- /**
- * Close the stream after read or keep it open, default is true.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param closeStreamAfterRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder closeStreamAfterRead(
- String closeStreamAfterRead) {
- doSetProperty("closeStreamAfterRead", closeStreamAfterRead);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder credentials(
- Object credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder credentials(
- String credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the data length for the download or page blob upload operations.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param dataLength the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder dataLength(Long dataLength) {
- doSetProperty("dataLength", dataLength);
- return this;
- }
- /**
- * Set the data length for the download or page blob upload operations.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param dataLength the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder dataLength(String dataLength) {
- doSetProperty("dataLength", dataLength);
- return this;
- }
- /**
- * Set the file directory where the downloaded blobs will be saved to.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fileDir the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder fileDir(String fileDir) {
- doSetProperty("fileDir", fileDir);
- return this;
- }
- /**
- * Storage resources can be public for reading their content, if this
- * property is enabled then the credentials do not have to be set.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: common
- *
- * @param publicForRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder publicForRead(
- boolean publicForRead) {
- doSetProperty("publicForRead", publicForRead);
- return this;
- }
- /**
- * Storage resources can be public for reading their content, if this
- * property is enabled then the credentials do not have to be set.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: common
- *
- * @param publicForRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder publicForRead(
- String publicForRead) {
- doSetProperty("publicForRead", publicForRead);
- return this;
- }
- /**
- * Set the minimum read size in bytes when reading the blob content.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: common
- *
- * @param streamReadSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder streamReadSize(
- int streamReadSize) {
- doSetProperty("streamReadSize", streamReadSize);
- return this;
- }
- /**
- * Set the minimum read size in bytes when reading the blob content.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: common
- *
- * @param streamReadSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder streamReadSize(
- String streamReadSize) {
- doSetProperty("streamReadSize", streamReadSize);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder validateClientURI(
- boolean validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder validateClientURI(
- String validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Set the blob meta-data.
- *
- * The option is a: <code>java.util.Map&lt;java.lang.String,
- * java.lang.String&gt;</code> type.
- *
- * Group: producer
- *
- * @param blobMetadata the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobMetadata(
- Map<String, String> blobMetadata) {
- doSetProperty("blobMetadata", blobMetadata);
- return this;
- }
- /**
- * Set the blob meta-data.
- *
- * The option will be converted to a
- * <code>java.util.Map&lt;java.lang.String,
- * java.lang.String&gt;</code> type.
- *
- * Group: producer
- *
- * @param blobMetadata the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobMetadata(
- String blobMetadata) {
- doSetProperty("blobMetadata", blobMetadata);
- return this;
- }
- /**
- * Set a prefix which can be used for listing the blobs.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer
- *
- * @param blobPrefix the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder blobPrefix(String blobPrefix) {
- doSetProperty("blobPrefix", blobPrefix);
- return this;
- }
- /**
- * Close the stream after write or keep it open, default is true.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: producer
- *
- * @param closeStreamAfterWrite the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder closeStreamAfterWrite(
- boolean closeStreamAfterWrite) {
- doSetProperty("closeStreamAfterWrite", closeStreamAfterWrite);
- return this;
- }
- /**
- * Close the stream after write or keep it open, default is true.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: producer
- *
- * @param closeStreamAfterWrite the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder closeStreamAfterWrite(
- String closeStreamAfterWrite) {
- doSetProperty("closeStreamAfterWrite", closeStreamAfterWrite);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder lazyStartProducer(
- boolean lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder lazyStartProducer(
- String lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Blob service operation hint to the producer.
- *
- * The option is a:
- * <code>org.apache.camel.component.azure.blob.BlobServiceOperations</code> type.
- *
- * Default: listBlobs
- * Group: producer
- *
- * @param operation the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder operation(
- BlobServiceOperations operation) {
- doSetProperty("operation", operation);
- return this;
- }
- /**
- * Blob service operation hint to the producer.
- *
- * The option will be converted to a
- * <code>org.apache.camel.component.azure.blob.BlobServiceOperations</code> type.
- *
- * Default: listBlobs
- * Group: producer
- *
- * @param operation the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder operation(String operation) {
- doSetProperty("operation", operation);
- return this;
- }
- /**
- * Set the size of the buffer for writing block and page blocks.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: producer
- *
- * @param streamWriteSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder streamWriteSize(
- int streamWriteSize) {
- doSetProperty("streamWriteSize", streamWriteSize);
- return this;
- }
- /**
- * Set the size of the buffer for writing block and page blocks.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: producer
- *
- * @param streamWriteSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder streamWriteSize(
- String streamWriteSize) {
- doSetProperty("streamWriteSize", streamWriteSize);
- return this;
- }
- /**
- * Specify if the flat or hierarchical blob listing should be used.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: producer
- *
- * @param useFlatListing the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder useFlatListing(
- boolean useFlatListing) {
- doSetProperty("useFlatListing", useFlatListing);
- return this;
- }
- /**
- * Specify if the flat or hierarchical blob listing should be used.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: producer
- *
- * @param useFlatListing the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder useFlatListing(
- String useFlatListing) {
- doSetProperty("useFlatListing", useFlatListing);
- return this;
- }
- /**
- * Set the storage account key used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountKey the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder credentialsAccountKey(
- String credentialsAccountKey) {
- doSetProperty("credentialsAccountKey", credentialsAccountKey);
- return this;
- }
- /**
- * Set the storage account name used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountName the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointProducerBuilder credentialsAccountName(
- String credentialsAccountName) {
- doSetProperty("credentialsAccountName", credentialsAccountName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint producers for the Azure Storage Blob
- * Service (Deprecated) component.
- */
- public interface AdvancedBlobServiceEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default BlobServiceEndpointProducerBuilder basic() {
- return (BlobServiceEndpointProducerBuilder) this;
- }
- }
-
- /**
- * Builder for endpoint for the Azure Storage Blob Service (Deprecated)
- * component.
- */
- public interface BlobServiceEndpointBuilder
- extends
- BlobServiceEndpointConsumerBuilder,
- BlobServiceEndpointProducerBuilder {
- default AdvancedBlobServiceEndpointBuilder advanced() {
- return (AdvancedBlobServiceEndpointBuilder) this;
- }
- /**
- * The blob service client.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.blob.CloudBlob</code>
- * type.
- *
- * Group: common
- *
- * @param azureBlobClient the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder azureBlobClient(
- Object azureBlobClient) {
- doSetProperty("azureBlobClient", azureBlobClient);
- return this;
- }
- /**
- * The blob service client.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.blob.CloudBlob</code>
- * type.
- *
- * Group: common
- *
- * @param azureBlobClient the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder azureBlobClient(
- String azureBlobClient) {
- doSetProperty("azureBlobClient", azureBlobClient);
- return this;
- }
- /**
- * Set the blob offset for the upload or download operations, default is
- * 0.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Default: 0
- * Group: common
- *
- * @param blobOffset the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder blobOffset(Long blobOffset) {
- doSetProperty("blobOffset", blobOffset);
- return this;
- }
- /**
- * Set the blob offset for the upload or download operations, default is
- * 0.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Default: 0
- * Group: common
- *
- * @param blobOffset the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder blobOffset(String blobOffset) {
- doSetProperty("blobOffset", blobOffset);
- return this;
- }
- /**
- * Set a blob type, 'blockblob' is default.
- *
- * The option is a:
- * <code>org.apache.camel.component.azure.blob.BlobType</code> type.
- *
- * Default: blockblob
- * Group: common
- *
- * @param blobType the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder blobType(BlobType blobType) {
- doSetProperty("blobType", blobType);
- return this;
- }
- /**
- * Set a blob type, 'blockblob' is default.
- *
- * The option will be converted to a
- * <code>org.apache.camel.component.azure.blob.BlobType</code> type.
- *
- * Default: blockblob
- * Group: common
- *
- * @param blobType the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder blobType(String blobType) {
- doSetProperty("blobType", blobType);
- return this;
- }
- /**
- * Close the stream after read or keep it open, default is true.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param closeStreamAfterRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder closeStreamAfterRead(
- boolean closeStreamAfterRead) {
- doSetProperty("closeStreamAfterRead", closeStreamAfterRead);
- return this;
- }
- /**
- * Close the stream after read or keep it open, default is true.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param closeStreamAfterRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder closeStreamAfterRead(
- String closeStreamAfterRead) {
- doSetProperty("closeStreamAfterRead", closeStreamAfterRead);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder credentials(Object credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder credentials(String credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the data length for the download or page blob upload operations.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param dataLength the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder dataLength(Long dataLength) {
- doSetProperty("dataLength", dataLength);
- return this;
- }
- /**
- * Set the data length for the download or page blob upload operations.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param dataLength the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder dataLength(String dataLength) {
- doSetProperty("dataLength", dataLength);
- return this;
- }
- /**
- * Set the file directory where the downloaded blobs will be saved to.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param fileDir the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder fileDir(String fileDir) {
- doSetProperty("fileDir", fileDir);
- return this;
- }
- /**
- * Storage resources can be public for reading their content, if this
- * property is enabled then the credentials do not have to be set.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: common
- *
- * @param publicForRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder publicForRead(boolean publicForRead) {
- doSetProperty("publicForRead", publicForRead);
- return this;
- }
- /**
- * Storage resources can be public for reading their content, if this
- * property is enabled then the credentials do not have to be set.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: common
- *
- * @param publicForRead the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder publicForRead(String publicForRead) {
- doSetProperty("publicForRead", publicForRead);
- return this;
- }
- /**
- * Set the minimum read size in bytes when reading the blob content.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: common
- *
- * @param streamReadSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder streamReadSize(int streamReadSize) {
- doSetProperty("streamReadSize", streamReadSize);
- return this;
- }
- /**
- * Set the minimum read size in bytes when reading the blob content.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: common
- *
- * @param streamReadSize the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder streamReadSize(String streamReadSize) {
- doSetProperty("streamReadSize", streamReadSize);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder validateClientURI(
- boolean validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder validateClientURI(
- String validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Set the storage account key used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountKey the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder credentialsAccountKey(
- String credentialsAccountKey) {
- doSetProperty("credentialsAccountKey", credentialsAccountKey);
- return this;
- }
- /**
- * Set the storage account name used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountName the value to set
- * @return the dsl builder
- */
- default BlobServiceEndpointBuilder credentialsAccountName(
- String credentialsAccountName) {
- doSetProperty("credentialsAccountName", credentialsAccountName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint for the Azure Storage Blob Service
- * (Deprecated) component.
- */
- public interface AdvancedBlobServiceEndpointBuilder
- extends
- AdvancedBlobServiceEndpointConsumerBuilder,
- AdvancedBlobServiceEndpointProducerBuilder {
- default BlobServiceEndpointBuilder basic() {
- return (BlobServiceEndpointBuilder) this;
- }
- }
-
- /**
- * Proxy enum for
- * <code>org.apache.camel.component.azure.blob.BlobType</code> enum.
- */
- enum BlobType {
- blockblob,
- appendblob,
- pageblob;
- }
-
- /**
- * Proxy enum for
- * <code>org.apache.camel.component.azure.blob.BlobServiceOperations</code>
- * enum.
- */
- enum BlobServiceOperations {
- getBlob,
- deleteBlob,
- listBlobs,
- updateBlockBlob,
- uploadBlobBlocks,
- commitBlobBlockList,
- getBlobBlockList,
- createAppendBlob,
- updateAppendBlob,
- createPageBlob,
- updatePageBlob,
- resizePageBlob,
- clearPageBlob,
- getPageBlobRanges;
- }
-
- public interface BlobServiceBuilders {
- /**
- * Azure Storage Blob Service (Deprecated) (camel-azure)
- * Store and retrieve blobs from Azure Storage Blob Service.
- *
- * Category: cloud,file
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-blob:containerOrBlobUri</code>
- *
- * Path parameter: containerOrBlobUri (required)
- * Container or Blob compact Uri
- *
- * @param path containerOrBlobUri
- * @return the dsl builder
- */
- @Deprecated
- default BlobServiceEndpointBuilder azureBlob(String path) {
- return BlobServiceEndpointBuilderFactory.endpointBuilder("azure-blob", path);
- }
- /**
- * Azure Storage Blob Service (Deprecated) (camel-azure)
- * Store and retrieve blobs from Azure Storage Blob Service.
- *
- * Category: cloud,file
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-blob:containerOrBlobUri</code>
- *
- * Path parameter: containerOrBlobUri (required)
- * Container or Blob compact Uri
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path containerOrBlobUri
- * @return the dsl builder
- */
- @Deprecated
- default BlobServiceEndpointBuilder azureBlob(
- String componentName,
- String path) {
- return BlobServiceEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- }
- @Deprecated
- static BlobServiceEndpointBuilder endpointBuilder(
- String componentName,
- String path) {
- class BlobServiceEndpointBuilderImpl extends AbstractEndpointBuilder implements BlobServiceEndpointBuilder, AdvancedBlobServiceEndpointBuilder {
- public BlobServiceEndpointBuilderImpl(String path) {
- super(componentName, path);
- }
- }
- return new BlobServiceEndpointBuilderImpl(path);
- }
-}
\ No newline at end of file
[camel] 02/03: CAMEL-16246 - Remove deprecated Camel-Azure component
Posted by ac...@apache.org.
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.git
commit c6af9428f51f83218c4932d698f1f4450701d651
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 24 16:33:33 2021 +0100
CAMEL-16246 - Remove deprecated Camel-Azure component
---
.../builder/endpoint/StaticEndpointBuilders.java | 45 --
.../dsl/QueueServiceEndpointBuilderFactory.java | 838 ---------------------
2 files changed, 883 deletions(-)
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index d78a17a..0a140bc 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -1979,51 +1979,6 @@ public class StaticEndpointBuilders {
return org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.endpointBuilder(componentName, path);
}
/**
- * Azure Storage Queue Service (Deprecated) (camel-azure)
- * Store and retrieve messages from Azure Storage Queue Service.
- *
- * Category: cloud,messaging
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-queue:containerAndQueueUri</code>
- *
- * Path parameter: containerAndQueueUri (required)
- * Container Queue compact Uri
- *
- * @param path containerAndQueueUri
- * @return the dsl builder
- */
- @Deprecated
- public static org.apache.camel.builder.endpoint.dsl.QueueServiceEndpointBuilderFactory.QueueServiceEndpointBuilder azureQueue(
- String path) {
- return org.apache.camel.builder.endpoint.dsl.QueueServiceEndpointBuilderFactory.endpointBuilder("azure-queue", path);
- }
- /**
- * Azure Storage Queue Service (Deprecated) (camel-azure)
- * Store and retrieve messages from Azure Storage Queue Service.
- *
- * Category: cloud,messaging
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-queue:containerAndQueueUri</code>
- *
- * Path parameter: containerAndQueueUri (required)
- * Container Queue compact Uri
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path containerAndQueueUri
- * @return the dsl builder
- */
- @Deprecated
- public static org.apache.camel.builder.endpoint.dsl.QueueServiceEndpointBuilderFactory.QueueServiceEndpointBuilder azureQueue(
- String componentName,
- String path) {
- return org.apache.camel.builder.endpoint.dsl.QueueServiceEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- /**
* Azure Storage Blob Service (camel-azure-storage-blob)
* Store and retrieve blobs from Azure Storage Blob Service using SDK v12.
*
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueServiceEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueServiceEndpointBuilderFactory.java
deleted file mode 100644
index 98e4c42..0000000
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/QueueServiceEndpointBuilderFactory.java
+++ /dev/null
@@ -1,838 +0,0 @@
-/*
- * 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.builder.endpoint.dsl;
-
-import javax.annotation.Generated;
-import org.apache.camel.ExchangePattern;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-import org.apache.camel.spi.ExceptionHandler;
-
-/**
- * Store and retrieve messages from Azure Storage Queue Service.
- *
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface QueueServiceEndpointBuilderFactory {
-
-
- /**
- * Builder for endpoint consumers for the Azure Storage Queue Service
- * (Deprecated) component.
- */
- public interface QueueServiceEndpointConsumerBuilder
- extends
- EndpointConsumerBuilder {
- default AdvancedQueueServiceEndpointConsumerBuilder advanced() {
- return (AdvancedQueueServiceEndpointConsumerBuilder) this;
- }
- /**
- * The queue service client.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.queue.CloudQueue</code>
- * type.
- *
- * Group: common
- *
- * @param azureQueueClient the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder azureQueueClient(
- Object azureQueueClient) {
- doSetProperty("azureQueueClient", azureQueueClient);
- return this;
- }
- /**
- * The queue service client.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.queue.CloudQueue</code>
- * type.
- *
- * Group: common
- *
- * @param azureQueueClient the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder azureQueueClient(
- String azureQueueClient) {
- doSetProperty("azureQueueClient", azureQueueClient);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder credentials(
- Object credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder credentials(
- String credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder validateClientURI(
- boolean validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder validateClientURI(
- String validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder bridgeErrorHandler(
- boolean bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder bridgeErrorHandler(
- String bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * Set the storage account key used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountKey the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder credentialsAccountKey(
- String credentialsAccountKey) {
- doSetProperty("credentialsAccountKey", credentialsAccountKey);
- return this;
- }
- /**
- * Set the storage account name used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountName the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointConsumerBuilder credentialsAccountName(
- String credentialsAccountName) {
- doSetProperty("credentialsAccountName", credentialsAccountName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint consumers for the Azure Storage Queue
- * Service (Deprecated) component.
- */
- public interface AdvancedQueueServiceEndpointConsumerBuilder
- extends
- EndpointConsumerBuilder {
- default QueueServiceEndpointConsumerBuilder basic() {
- return (QueueServiceEndpointConsumerBuilder) this;
- }
- /**
- * 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 exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option is a:
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedQueueServiceEndpointConsumerBuilder exceptionHandler(
- ExceptionHandler exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * 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 exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option will be converted to a
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedQueueServiceEndpointConsumerBuilder exceptionHandler(
- String exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option is a:
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedQueueServiceEndpointConsumerBuilder exchangePattern(
- ExchangePattern exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option will be converted to a
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedQueueServiceEndpointConsumerBuilder exchangePattern(
- String exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- }
-
- /**
- * Builder for endpoint producers for the Azure Storage Queue Service
- * (Deprecated) component.
- */
- public interface QueueServiceEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default AdvancedQueueServiceEndpointProducerBuilder advanced() {
- return (AdvancedQueueServiceEndpointProducerBuilder) this;
- }
- /**
- * The queue service client.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.queue.CloudQueue</code>
- * type.
- *
- * Group: common
- *
- * @param azureQueueClient the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder azureQueueClient(
- Object azureQueueClient) {
- doSetProperty("azureQueueClient", azureQueueClient);
- return this;
- }
- /**
- * The queue service client.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.queue.CloudQueue</code>
- * type.
- *
- * Group: common
- *
- * @param azureQueueClient the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder azureQueueClient(
- String azureQueueClient) {
- doSetProperty("azureQueueClient", azureQueueClient);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder credentials(
- Object credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder credentials(
- String credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder validateClientURI(
- boolean validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder validateClientURI(
- String validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder lazyStartProducer(
- boolean lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing time
- * of the processing.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder lazyStartProducer(
- String lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Message Time To Live in seconds.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: producer
- *
- * @param messageTimeToLive the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder messageTimeToLive(
- int messageTimeToLive) {
- doSetProperty("messageTimeToLive", messageTimeToLive);
- return this;
- }
- /**
- * Message Time To Live in seconds.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: producer
- *
- * @param messageTimeToLive the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder messageTimeToLive(
- String messageTimeToLive) {
- doSetProperty("messageTimeToLive", messageTimeToLive);
- return this;
- }
- /**
- * Message Visibility Delay in seconds.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: producer
- *
- * @param messageVisibilityDelay the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder messageVisibilityDelay(
- int messageVisibilityDelay) {
- doSetProperty("messageVisibilityDelay", messageVisibilityDelay);
- return this;
- }
- /**
- * Message Visibility Delay in seconds.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: producer
- *
- * @param messageVisibilityDelay the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder messageVisibilityDelay(
- String messageVisibilityDelay) {
- doSetProperty("messageVisibilityDelay", messageVisibilityDelay);
- return this;
- }
- /**
- * Queue service operation hint to the producer.
- *
- * The option is a:
- * <code>org.apache.camel.component.azure.queue.QueueServiceOperations</code> type.
- *
- * Default: listQueues
- * Group: producer
- *
- * @param operation the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder operation(
- QueueServiceOperations operation) {
- doSetProperty("operation", operation);
- return this;
- }
- /**
- * Queue service operation hint to the producer.
- *
- * The option will be converted to a
- * <code>org.apache.camel.component.azure.queue.QueueServiceOperations</code> type.
- *
- * Default: listQueues
- * Group: producer
- *
- * @param operation the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder operation(String operation) {
- doSetProperty("operation", operation);
- return this;
- }
- /**
- * Set a prefix which can be used for listing the queues.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer
- *
- * @param queuePrefix the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder queuePrefix(
- String queuePrefix) {
- doSetProperty("queuePrefix", queuePrefix);
- return this;
- }
- /**
- * Set the storage account key used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountKey the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder credentialsAccountKey(
- String credentialsAccountKey) {
- doSetProperty("credentialsAccountKey", credentialsAccountKey);
- return this;
- }
- /**
- * Set the storage account name used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountName the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointProducerBuilder credentialsAccountName(
- String credentialsAccountName) {
- doSetProperty("credentialsAccountName", credentialsAccountName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint producers for the Azure Storage Queue
- * Service (Deprecated) component.
- */
- public interface AdvancedQueueServiceEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default QueueServiceEndpointProducerBuilder basic() {
- return (QueueServiceEndpointProducerBuilder) this;
- }
- }
-
- /**
- * Builder for endpoint for the Azure Storage Queue Service (Deprecated)
- * component.
- */
- public interface QueueServiceEndpointBuilder
- extends
- QueueServiceEndpointConsumerBuilder,
- QueueServiceEndpointProducerBuilder {
- default AdvancedQueueServiceEndpointBuilder advanced() {
- return (AdvancedQueueServiceEndpointBuilder) this;
- }
- /**
- * The queue service client.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.queue.CloudQueue</code>
- * type.
- *
- * Group: common
- *
- * @param azureQueueClient the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder azureQueueClient(
- Object azureQueueClient) {
- doSetProperty("azureQueueClient", azureQueueClient);
- return this;
- }
- /**
- * The queue service client.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.queue.CloudQueue</code>
- * type.
- *
- * Group: common
- *
- * @param azureQueueClient the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder azureQueueClient(
- String azureQueueClient) {
- doSetProperty("azureQueueClient", azureQueueClient);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option is a:
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder credentials(Object credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Set the storage credentials, required in most cases.
- *
- * The option will be converted to a
- * <code>com.microsoft.azure.storage.StorageCredentials</code> type.
- *
- * Group: common
- *
- * @param credentials the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder credentials(String credentials) {
- doSetProperty("credentials", credentials);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder validateClientURI(
- boolean validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Whether to validate the Azure client URI.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: common
- *
- * @param validateClientURI the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder validateClientURI(
- String validateClientURI) {
- doSetProperty("validateClientURI", validateClientURI);
- return this;
- }
- /**
- * Set the storage account key used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountKey the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder credentialsAccountKey(
- String credentialsAccountKey) {
- doSetProperty("credentialsAccountKey", credentialsAccountKey);
- return this;
- }
- /**
- * Set the storage account name used during authentication phase.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param credentialsAccountName the value to set
- * @return the dsl builder
- */
- default QueueServiceEndpointBuilder credentialsAccountName(
- String credentialsAccountName) {
- doSetProperty("credentialsAccountName", credentialsAccountName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint for the Azure Storage Queue Service
- * (Deprecated) component.
- */
- public interface AdvancedQueueServiceEndpointBuilder
- extends
- AdvancedQueueServiceEndpointConsumerBuilder,
- AdvancedQueueServiceEndpointProducerBuilder {
- default QueueServiceEndpointBuilder basic() {
- return (QueueServiceEndpointBuilder) this;
- }
- }
-
- /**
- * Proxy enum for
- * <code>org.apache.camel.component.azure.queue.QueueServiceOperations</code> enum.
- */
- enum QueueServiceOperations {
- listQueues,
- createQueue,
- deleteQueue,
- addMessage,
- retrieveMessage,
- peekMessage,
- updateMessage,
- deleteMessage;
- }
-
- public interface QueueServiceBuilders {
- /**
- * Azure Storage Queue Service (Deprecated) (camel-azure)
- * Store and retrieve messages from Azure Storage Queue Service.
- *
- * Category: cloud,messaging
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-queue:containerAndQueueUri</code>
- *
- * Path parameter: containerAndQueueUri (required)
- * Container Queue compact Uri
- *
- * @param path containerAndQueueUri
- * @return the dsl builder
- */
- @Deprecated
- default QueueServiceEndpointBuilder azureQueue(String path) {
- return QueueServiceEndpointBuilderFactory.endpointBuilder("azure-queue", path);
- }
- /**
- * Azure Storage Queue Service (Deprecated) (camel-azure)
- * Store and retrieve messages from Azure Storage Queue Service.
- *
- * Category: cloud,messaging
- * Since: 2.19
- * Maven coordinates: org.apache.camel:camel-azure
- *
- * Syntax: <code>azure-queue:containerAndQueueUri</code>
- *
- * Path parameter: containerAndQueueUri (required)
- * Container Queue compact Uri
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path containerAndQueueUri
- * @return the dsl builder
- */
- @Deprecated
- default QueueServiceEndpointBuilder azureQueue(
- String componentName,
- String path) {
- return QueueServiceEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- }
- @Deprecated
- static QueueServiceEndpointBuilder endpointBuilder(
- String componentName,
- String path) {
- class QueueServiceEndpointBuilderImpl extends AbstractEndpointBuilder implements QueueServiceEndpointBuilder, AdvancedQueueServiceEndpointBuilder {
- public QueueServiceEndpointBuilderImpl(String path) {
- super(componentName, path);
- }
- }
- return new QueueServiceEndpointBuilderImpl(path);
- }
-}
\ No newline at end of file