[camel] 02/02: Regen website docs and catalog
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 7fd673032fd126453b4b0499570bd115a23bf2b9 Author: Andrea Cosentino AuthorDate: Thu Nov 26 08:46:04 2020 +0100 Regen website docs and catalog --- .../apache/camel/catalog/docs/twitter-directmessage-component.adoc | 7 +++ .../modules/ROOT/pages/twitter-directmessage-component.adoc| 7 +++ 2 files changed, 14 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/twitter-directmessage-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/twitter-directmessage-component.adoc index 832faaa..bb69f39 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/twitter-directmessage-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/twitter-directmessage-component.adoc @@ -14,6 +14,13 @@ include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/twitter-di The Twitter Direct Message Component consumes/produces a user's direct messages. +[NOTE] + +*Consumer interval of time* + +When using the Direct Message consumer, it will consider only the last 30 days direct messages + + == Component Options // component options: START diff --git a/docs/components/modules/ROOT/pages/twitter-directmessage-component.adoc b/docs/components/modules/ROOT/pages/twitter-directmessage-component.adoc index 5cf5bcc..6c81fbf 100644 --- a/docs/components/modules/ROOT/pages/twitter-directmessage-component.adoc +++ b/docs/components/modules/ROOT/pages/twitter-directmessage-component.adoc @@ -16,6 +16,13 @@ include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/twitter-di The Twitter Direct Message Component consumes/produces a user's direct messages. +[NOTE] + +*Consumer interval of time* + +When using the Direct Message consumer, it will consider only the last 30 days direct messages + + == Component Options // component options: START
[camel] 02/02: Regen website docs
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 4ea98aeb82c45b02eeb90455eff6bad28d75392a Author: Andrea Cosentino AuthorDate: Wed Aug 26 12:13:46 2020 +0200 Regen website docs --- docs/components/modules/dataformats/pages/zipfile-dataformat.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/components/modules/dataformats/pages/zipfile-dataformat.adoc b/docs/components/modules/dataformats/pages/zipfile-dataformat.adoc index a683a84..259b0aa 100644 --- a/docs/components/modules/dataformats/pages/zipfile-dataformat.adoc +++ b/docs/components/modules/dataformats/pages/zipfile-dataformat.adoc @@ -32,7 +32,6 @@ The Zip File dataformat supports 4 options, which are listed below. | contentTypeHeader | false | Boolean | Whether the data format should set the Content-Type header with the type from the data format if the data format is capable of doing so. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON etc. |=== // dataformat options: END -ND == Marshal
[camel] 02/02: Regen website docs
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 d6b6447a7104ed6aeadb77a48b71afd4baae0d32 Author: Andrea Cosentino AuthorDate: Wed Aug 5 11:50:48 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-iam-component.adoc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-iam-component.adoc b/docs/components/modules/ROOT/pages/aws2-iam-component.adoc index 5a6d9f8..6a969c1 100644 --- a/docs/components/modules/ROOT/pages/aws2-iam-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-iam-component.adoc @@ -167,7 +167,7 @@ Camel-AWS2 IAM component provides the following operation on the producer side: [source,java] from("direct:createUser") -.setHeader(IAMConstants.USERNAME, constant("camel")) +.setHeader(IAM2Constants.USERNAME, constant("camel")) .to("aws2-iam://test?iamClient=#amazonIAMClient=createUser") @@ -176,7 +176,7 @@ from("direct:createUser") [source,java] from("direct:deleteUser") -.setHeader(IAMConstants.USERNAME, constant("camel")) +.setHeader(IAM2Constants.USERNAME, constant("camel")) .to("aws2-iam://test?iamClient=#amazonIAMClient=deleteUser") @@ -193,7 +193,7 @@ from("direct:listUsers") [source,java] from("direct:deleteUser") -.setHeader(IAMConstants.GROUP_NAME, constant("camel")) +.setHeader(IAM2Constants.GROUP_NAME, constant("camel")) .to("aws2-iam://test?iamClient=#amazonIAMClient=createGroup") @@ -202,7 +202,7 @@ from("direct:deleteUser") [source,java] from("direct:deleteUser") -.setHeader(IAMConstants.GROUP_NAME, constant("camel")) +.setHeader(IAM2Constants.GROUP_NAME, constant("camel")) .to("aws2-iam://test?iamClient=#amazonIAMClient=deleteGroup")
[camel] 02/02: Regen website docs
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 ef0609f9df96827b99c42bc2f9a50492d67e1463 Author: Andrea Cosentino AuthorDate: Fri Jul 31 11:27:04 2020 +0200 Regen website docs --- docs/components/modules/others/pages/opentelemetry.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/components/modules/others/pages/opentelemetry.adoc b/docs/components/modules/others/pages/opentelemetry.adoc index 200f406..e64722f 100644 --- a/docs/components/modules/others/pages/opentelemetry.adoc +++ b/docs/components/modules/others/pages/opentelemetry.adoc @@ -15,3 +15,5 @@ outgoing Camel messages using https://opentelemetry.io/[OpenTelemetry]. Events (spans) are captured for incoming and outgoing messages being sent to/from Camel. + +include::camel-spring-boot::page$opentelemetry-starter.adoc[]
[camel] 02/02: Regen website docs
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 99636e0a3632159f4d9b90ad0fe0d93ec3a1be19 Author: Andrea Cosentino AuthorDate: Thu Jul 30 15:07:56 2020 +0200 Regen website docs --- .../modules/ROOT/pages/arangodb-component.adoc | 2 + .../ROOT/pages/kubernetes-job-component.adoc | 111 + 2 files changed, 113 insertions(+) diff --git a/docs/components/modules/ROOT/pages/arangodb-component.adoc b/docs/components/modules/ROOT/pages/arangodb-component.adoc index d7ca783..510a5ee 100644 --- a/docs/components/modules/ROOT/pages/arangodb-component.adoc +++ b/docs/components/modules/ROOT/pages/arangodb-component.adoc @@ -95,3 +95,5 @@ with the following path and query parameters: | *user* (security) | user if user and/or password different from default | | String |=== // endpoint options: END + +include::camel-spring-boot::page$arangodb-starter.adoc[] diff --git a/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc index 88a37da..f280fe1 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc @@ -138,5 +138,116 @@ from("direct:listByLabels").process(new Processor() { This operation return a List of Jobs from your cluster, using a label selector (with key1 and key2, with value value1 and value2) +- createJob: This operation create a job on a Kubernetes Cluster + +We have a wonderful example of this operation thanks to https://github.com/Emmerson-Miranda[Emmerson Miranda] from this https://github.com/Emmerson-Miranda/camel/blob/master/camel3-cdi/cdi-k8s-pocs/src/main/java/edu/emmerson/camel/k8s/jobs/camel_k8s_jobs/KubernetesCreateJob.java[Java test] + +[source,java] + +import java.util.ArrayList; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.inject.Inject; + +import org.apache.camel.Endpoint; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.cdi.Uri; +import org.apache.camel.component.kubernetes.KubernetesConstants; +import org.apache.camel.component.kubernetes.KubernetesOperations; + +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.PodSpec; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.batch.JobSpec; + +/** + * + */ +public class KubernetesCreateJob extends RouteBuilder { + +@Inject +@Uri("timer:foo?delay=1000=1") +private Endpoint inputEndpoint; + +@Inject +@Uri("log:output") +private Endpoint resultEndpoint; + +@Override +public void configure() { +// you can configure the route rule with Java DSL here + +from(inputEndpoint) + .routeId("kubernetes-jobcreate-client") + .process(exchange -> { + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_JOB_NAME, "camel-job"); //DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*') + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_NAMESPACE_NAME, "default"); + +Map joblabels = new HashMap(); +joblabels.put("jobLabelKey1", "value1"); +joblabels.put("jobLabelKey2", "value2"); +joblabels.put("app", "jobFromCamelApp"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_JOB_LABELS, joblabels); + + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_JOB_SPEC, generateJobSpec()); + }) + .toF("kubernetes-job:///{{kubernetes-master-url}}?oauthToken={{kubernetes-oauth-token:}}=" + KubernetesOperations.CREATE_JOB_OPERATION) + .log("Job created:") + .process(exchange -> { + System.out.println(exchange.getIn().getBody()); + }) +.to(resultEndpoint); +} + +/** + * Create a new JobSpec + * @return + */ + private JobSpec generateJobSpec() { + JobSpec js = new JobSpec(); + + PodTemplateSpec pts = new PodTemplateSpec(); + + PodSpec ps = new PodSpec(); + ps.setRestartPolicy("Never"); + ps.setContainers(generateContainers()); + pts.setSpec(ps); + + ObjectMeta metadata = new ObjectMeta(); +
[camel] 02/02: Regen website docs
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 0b627c0b6f858bf072d49caae964d204a41536c1 Author: Andrea Cosentino AuthorDate: Thu Jul 30 14:06:57 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 11 +++ 1 file changed, 11 insertions(+) diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc index 61ce33c..1b5400c 100644 --- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc @@ -380,6 +380,17 @@ from("direct:start") As result you'll get an exchange containing a `ListQueuesResult` instance, that you can examinate to check the actual queues. +== Purge Queue + +Use purgeQueue operation to purge queue. + +-- +from("direct:start") + .setHeader(SqsConstants.SQS_OPERATION, constant("purgeQueue")).to("aws2-sqs://camel-1?accessKey=RAW(xxx)=RAW(xxx)=EU_WEST_1"); +-- + +As result you'll get an exchange containing a `PurgeQueueResponse` instance. + == Queue Autocreation With the option `autoCreateQueue` users are able to avoid the autocreation of an SQS Queue in case it doesn't exist. The default for this option is `true`.
[camel] 02/02: Regen website docs
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 b1790b69b3d796f7a295dd22356fb923fac58fa3 Author: Andrea Cosentino AuthorDate: Tue Jul 28 19:26:56 2020 +0200 Regen website docs --- .../ROOT/pages/azure-storage-blob-component.adoc | 6 +++--- .../ROOT/pages/azure-storage-queue-component.adoc | 22 ++ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc b/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc index a901cf2..018e660 100644 --- a/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc +++ b/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc @@ -314,16 +314,16 @@ For these operations, `accountName`, `containerName` and `blobName` are *require |`downloadBlobToFile` |Common|Downloads the entire blob into a file specified by the path.The file will be created and must not exist, if the file already exists a {@link FileAlreadyExistsException} will be thrown. |`downloadLink` |Common| Generates the download link for the specified blob using shared access signatures (SAS). This by default only limit to 1hour of allowed access. However, you can override the default expiration duration through the headers. |`uploadBlockBlob` |BlockBlob|Creates a new block blob, or updates the content of an existing block blob. Updating an existing block blob overwrites any existing metadata on the blob. Partial updates are not supported with PutBlob; the content of the existing blob is overwritten with the new content. -|`stageBlockBlobList`|`BlockBlob`|Uploads the specified block to the block blob's "staging area" to be later committed by a call to commitBlobBlockList. However in case header `CamelAzureStorageBlobCommitBlobBlockListLater` is set to false, this will also commit the blocks. +|`stageBlockBlobList`|`BlockBlob`|Uploads the specified block to the block blob's "staging area" to be later committed by a call to commitBlobBlockList. However in case header `CamelAzureStorageBlobCommitBlobBlockListLater` or config `commitBlockListLater` is set to false, this will commit the blocks immediately after staging the blocks. |`commitBlobBlockList`|`BlockBlob`|Writes a blob by specifying the list of block IDs that are to make up the blob. In order to be written as part of a blob, a block must have been successfully written to the server in a prior `stageBlockBlobList` operation. You can call `commitBlobBlockList` to update a blob by uploading only those blocks that have changed, then committing the new and existing blocks together. Any blocks not specified in the block list and permanently deleted. |`getBlobBlockList` |`BlockBlob`|Returns the list of blocks that have been uploaded as part of a block blob using the specified block list filter. |`createAppendBlob` |`AppendBlob`|Creates a 0-length append blob. Call commitAppendBlo`b operation to append data to an append blob. -|`commitAppendBlob` |`AppendBlob`|Commits a new block of data to the end of the existing append blob. In case of header `CamelAzureStorageBlobCreateAppendBlob` is set to true, it will attempt to create the appendBlob through internal call to `createAppendBlob` operation. +|`commitAppendBlob` |`AppendBlob`|Commits a new block of data to the end of the existing append blob. In case of header `CamelAzureStorageBlobCreateAppendBlob` or config `createAppendBlob` is set to true, it will attempt to create the appendBlob through internal call to `createAppendBlob` operation first before committing. |`createPageBlob`|`PageBlob`|Creates a page blob of the specified length. Call `uploadPageBlob` operation to upload data data to a page blob. -|`uploadPageBlob`|`PageBlob`|Writes one or more pages to the page blob. The write size must be a multiple of 512. In case of header `CamelAzureStorageBlobCreatePageBlob` is set to true, it will attempt to create the appendBlob through internal call to `createPageBlob` operation. +|`uploadPageBlob`|`PageBlob`|Writes one or more pages to the page blob. The write size must be a multiple of 512. In case of header `CamelAzureStorageBlobCreatePageBlob` or config `createPageBlob` is set to true, it will attempt to create the appendBlob through internal call to `createPageBlob` operation first before uploading. |`resizePageBlob`|`PageBlob`| Resizes the page blob to the specified size (which must be a multiple of 512). |`clearPageBlob`|`PageBlob`| Frees the specified pages from the page blob. The size of the range must be a multiple of 512. |`getPageBlobRanges`|`PageBlob`|Returns the list of valid page ranges for a page blob or snapshot of a page blob. diff --git
[camel] 02/02: Regen website docs
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 4f5a06ba5547bec56866efb3b87eb6c5687d173d Author: Andrea Cosentino AuthorDate: Tue Jul 28 10:53:36 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-athena-component.adoc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-athena-component.adoc b/docs/components/modules/ROOT/pages/aws2-athena-component.adoc index a33da59..a1c8f4a 100644 --- a/docs/components/modules/ROOT/pages/aws2-athena-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-athena-component.adoc @@ -61,7 +61,7 @@ from("direct:start") // component options: START -The AWS 2 Athena component supports 29 options, which are listed below. +The AWS 2 Athena component supports 30 options, which are listed below. @@ -70,6 +70,7 @@ The AWS 2 Athena component supports 29 options, which are listed below. | Name | Description | Default | Type | *accessKey* (producer) | Amazon AWS Access Key. | | String | *amazonAthenaClient* (producer) | The AmazonAthena instance to use as the client. | | AthenaClient +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking | true | boolean | *configuration* (producer) | The component configuration. | | Athena2Configuration | *database* (producer) | The Athena database to use. | | String | *delay* (producer) | Milliseconds before the next poll for query execution status. See the section 'Waiting for Query Completion and Retrying Failed Queries' to learn more. | 2000 | long @@ -129,12 +130,13 @@ with the following path and query parameters: |=== -=== Query Parameters (29 parameters): +=== Query Parameters (30 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking | true | boolean | *accessKey* (producer) | Amazon AWS Access Key. | | String | *amazonAthenaClient* (producer) | The AmazonAthena instance to use as the client. | | AthenaClient | *database* (producer) | The Athena database to use. | | String
[camel] 02/02: Regen website docs
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 63974275b17b6cab417c040dba218ffe784cce78 Author: Andrea Cosentino AuthorDate: Mon Jul 27 08:40:30 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc | 4 ++-- docs/components/modules/ROOT/pages/jsonata-component.adoc| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc b/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc index e9f5831..a901cf2 100644 --- a/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc +++ b/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc @@ -88,7 +88,7 @@ The Azure Storage Blob Service component supports 26 options, which are listed b | *timeout* (common) | An optional timeout value beyond which a RuntimeException will be raised. | | Duration | *bridgeErrorHandler* (consumer) | 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 | *blobSequenceNumber* (producer) | A user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 263 - 1.The default value is 0. | 0 | Long -| *blockListType* (producer) | Specifies which type of blocks to return. The value can be one of: committed, uncommitted, all | committed | BlockListType +| *blockListType* (producer) | Specifies which type of blocks to return. The value can be one of: committed, uncommitted, all | COMMITTED | BlockListType | *closeStreamAfterWrite* (producer) | Close the stream after write or keep it open, default is true | true | boolean | *commitBlockListLater* (producer) | When is set to true, the staged blocks will not be committed directly. | true | boolean | *createAppendBlob* (producer) | When is set to true, the append blocks will be created when committing append blocks. | true | boolean @@ -145,7 +145,7 @@ with the following path and query parameters: | *exceptionHandler* (consumer) | 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. | | ExceptionHandler | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. The value can be one of: InOnly, InOut, InOptionalOut | | ExchangePattern | *blobSequenceNumber* (producer) | A user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 263 - 1.The default value is 0. | 0 | Long -| *blockListType* (producer) | Specifies which type of blocks to return. The value can be one of: committed, uncommitted, all | committed | BlockListType +| *blockListType* (producer) | Specifies which type of blocks to return. The value can be one of: committed, uncommitted, all | COMMITTED | BlockListType | *closeStreamAfterWrite* (producer) | Close the stream after write or keep it open, default is true | true | boolean | *commitBlockListLater* (producer) | When is set to true, the staged blocks will not be committed directly. | true | boolean | *createAppendBlob* (producer) | When is set to true, the append blocks will be created when committing append blocks. | true | boolean diff --git a/docs/components/modules/ROOT/pages/jsonata-component.adoc b/docs/components/modules/ROOT/pages/jsonata-component.adoc index 9d09f36..88e6621 100644 --- a/docs/components/modules/ROOT/pages/jsonata-component.adoc +++ b/docs/components/modules/ROOT/pages/jsonata-component.adoc @@ -123,4 +123,4 @@ from("activemq:My.Queue"). -include::camel-spring-boot::page$jsonata-component.adoc[] +include::camel-spring-boot::page$jsonata-starter.adoc[]
[camel] 02/02: Regen website docs
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 d4b7b71e8421bf4b4308e7bc8d366e62ecde720b Author: Andrea Cosentino AuthorDate: Thu Jul 23 09:04:41 2020 +0200 Regen website docs --- .../modules/ROOT/pages/aws2-kinesis-firehose-component.adoc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc b/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc index d96aaa2..53a5d23 100644 --- a/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc @@ -43,7 +43,7 @@ The stream needs to be created prior to it being used. + // component options: START -The AWS 2 Kinesis Firehose component supports 12 options, which are listed below. +The AWS 2 Kinesis Firehose component supports 13 options, which are listed below. @@ -51,6 +51,7 @@ The AWS 2 Kinesis Firehose component supports 12 options, which are listed below |=== | Name | Description | Default | Type | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to use for all requests for this endpoint | | FirehoseClient +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking | true | boolean | *configuration* (producer) | Component configuration | | KinesisFirehose2Configuration | *lazyStartProducer* (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 creating and [...] | *operation* (producer) | The operation to do in case the user don't want to send only a record. The value can be one of: sendBatchRecord, createDeliveryStream, deleteDeliveryStream, updateDestination | | KinesisFirehose2Operations @@ -90,13 +91,14 @@ with the following path and query parameters: |=== -=== Query Parameters (12 parameters): +=== Query Parameters (13 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to use for all requests for this endpoint | | FirehoseClient +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking | true | boolean | *lazyStartProducer* (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 creating and [...] | *operation* (producer) | The operation to do in case the user don't want to send only a record. The value can be one of: sendBatchRecord, createDeliveryStream, deleteDeliveryStream, updateDestination | | KinesisFirehose2Operations | *proxyHost* (producer) | To define a proxy host when instantiating the Kinesis Firehose client | | String
[camel] 02/02: Regen website docs
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 2517afdb0a8c7e2525a10c02d5c41393c59431ac Author: Andrea Cosentino AuthorDate: Wed Jul 8 12:11:43 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-cw-component.adoc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-cw-component.adoc b/docs/components/modules/ROOT/pages/aws2-cw-component.adoc index a1950c3..cbb457d 100644 --- a/docs/components/modules/ROOT/pages/aws2-cw-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-cw-component.adoc @@ -46,7 +46,7 @@ The metrics will be created if they don't already exists. + // component options: START -The AWS 2 CloudWatch component supports 14 options, which are listed below. +The AWS 2 CloudWatch component supports 15 options, which are listed below. @@ -62,6 +62,7 @@ The AWS 2 CloudWatch component supports 14 options, which are listed below. | *proxyProtocol* (producer) | To define a proxy protocol when instantiating the CW client. The value can be one of: HTTP, HTTPS | HTTPS | Protocol | *region* (producer) | The region in which EKS 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 | *timestamp* (producer) | The metric timestamp | | Instant +| *trustAllCertificates* (producer) | If we want to trust all certificates in case of overriding the endpoint | false | boolean | *unit* (producer) | The metric unit | | String | *value* (producer) | The metric value | | Double | *basicPropertyBinding* (advanced) | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean @@ -92,7 +93,7 @@ with the following path and query parameters: |=== -=== Query Parameters (14 parameters): +=== Query Parameters (15 parameters): [width="100%",cols="2,5,^1,2",options="header"] @@ -106,6 +107,7 @@ with the following path and query parameters: | *proxyProtocol* (producer) | To define a proxy protocol when instantiating the CW client. The value can be one of: HTTP, HTTPS | HTTPS | Protocol | *region* (producer) | The region in which EKS 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 | *timestamp* (producer) | The metric timestamp | | Instant +| *trustAllCertificates* (producer) | If we want to trust all certificates in case of overriding the endpoint | false | boolean | *unit* (producer) | The metric unit | | String | *value* (producer) | The metric value | | Double | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean
[camel] 02/02: Regen website docs
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 8abdff4ba5546b3ba490df245a581d4fb17ab2b4 Author: Andrea Cosentino AuthorDate: Wed Jul 1 11:20:30 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-s3-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc index b025c03..0f59be0 100644 --- a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc @@ -328,7 +328,7 @@ object using AWS-managed keys. === S3 Producer operations -Camel-AWS s3 component provides the following operation on the producer side: +Camel-AWS2-S3 component provides the following operation on the producer side: - copyObject - deleteObject
[camel] 02/02: Regen website docs
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 f8a7729ca0064d0ba25a31f7034e0cd9bd222006 Author: Andrea Cosentino AuthorDate: Fri Jun 26 17:14:50 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/lucene-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/lucene-component.adoc b/docs/components/modules/ROOT/pages/lucene-component.adoc index 1af335d..3d5eafc 100644 --- a/docs/components/modules/ROOT/pages/lucene-component.adoc +++ b/docs/components/modules/ROOT/pages/lucene-component.adoc @@ -151,7 +151,7 @@ The query uses the searchable index to perform score & relevance based searches. Queries are sent via the incoming exchange contains a header property name called 'QUERY'. The value of the header property 'QUERY' is a Lucene Query. For more details on how to create Lucene Queries -check out http://lucene.apache.org/java/3_0_0/queryparsersyntax.html[http://lucene.apache.org/java/3_0_0/queryparsersyntax.html] +check out https://lucene.apache.org/core/8_4_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package.description[Query Parser Classic syntax] === Lucene Processor
[camel] 02/02: Regen website docs
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 74d24a3078f4353cd4762e2c8a8b4d2ef07aac9a Author: Andrea Cosentino AuthorDate: Fri Jun 26 08:42:37 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc b/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc index afafb48..448635a 100644 --- a/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc +++ b/docs/components/modules/ROOT/pages/caffeine-loadcache-component.adoc @@ -14,7 +14,7 @@ *{component-header}* The Caffeine Loadcache component enables you to perform caching operations using -The Load cache from Caffeine. +the LoadingCache from Caffeine. Maven users will need to add the following dependency to their `pom.xml` for this component:
[camel] 02/02: Regen website docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git commit c0a6ebe562856ea036a4c9b489635673a34e24de Author: Andrea Cosentino AuthorDate: Thu Jun 25 07:20:53 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/velocity-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/velocity-component.adoc b/docs/components/modules/ROOT/pages/velocity-component.adoc index f6caab4..27134ff 100644 --- a/docs/components/modules/ROOT/pages/velocity-component.adoc +++ b/docs/components/modules/ROOT/pages/velocity-component.adoc @@ -252,7 +252,7 @@ should use dynamically via a header, so for example: --- from("direct:in"). setHeader("CamelVelocityResourceUri").constant("path/to/my/template.vm"). - to("velocity:dummy"); + to("velocity:dummy?allowTemplateFromHeader=true""); --- It's possible to specify a template directly as a header @@ -262,7 +262,7 @@ the component should use dynamically via a header, so for example: --- from("direct:in"). setHeader("CamelVelocityTemplate").constant("Hi this is a velocity template that can do templating ${body}"). - to("velocity:dummy"); + to("velocity:dummy?allowTemplateFromHeader=true""); --- == The Email Sample
[camel] 02/02: Regen website docs
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 3c02f6e5e8194d19230d6ccd028084006f004530 Author: Andrea Cosentino AuthorDate: Thu Jun 25 07:20:53 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/velocity-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/velocity-component.adoc b/docs/components/modules/ROOT/pages/velocity-component.adoc index f6caab4..27134ff 100644 --- a/docs/components/modules/ROOT/pages/velocity-component.adoc +++ b/docs/components/modules/ROOT/pages/velocity-component.adoc @@ -252,7 +252,7 @@ should use dynamically via a header, so for example: --- from("direct:in"). setHeader("CamelVelocityResourceUri").constant("path/to/my/template.vm"). - to("velocity:dummy"); + to("velocity:dummy?allowTemplateFromHeader=true""); --- It's possible to specify a template directly as a header @@ -262,7 +262,7 @@ the component should use dynamically via a header, so for example: --- from("direct:in"). setHeader("CamelVelocityTemplate").constant("Hi this is a velocity template that can do templating ${body}"). - to("velocity:dummy"); + to("velocity:dummy?allowTemplateFromHeader=true""); --- == The Email Sample
[camel] 02/02: Regen website docs
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 6aa523ea755069ef00740ca2585c905d9b16 Author: Andrea Cosentino AuthorDate: Tue Jun 16 08:59:06 2020 +0200 Regen website docs --- docs/components/modules/others/pages/main.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/others/pages/main.adoc b/docs/components/modules/others/pages/main.adoc index 3c4efc2..e80b832 100644 --- a/docs/components/modules/others/pages/main.adoc +++ b/docs/components/modules/others/pages/main.adoc @@ -219,5 +219,5 @@ The following table lists all the options: == Examples -You can find a set of examples using `camel-main` in [Camel Examples](https://github.com/apache/camel-examples) +You can find a set of examples using `camel-main` in https://github.com/apache/camel-examples[Camel Examples] which demonstrate running Camel in standalone with `camel-main`.
[camel] 02/02: Regen website docs
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 c513f0b22be83181d99c50b6bd33a018126d0967 Author: Andrea Cosentino AuthorDate: Tue Jun 9 09:41:52 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-athena-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-athena-component.adoc b/docs/components/modules/ROOT/pages/aws2-athena-component.adoc index 9eea212..a33da59 100644 --- a/docs/components/modules/ROOT/pages/aws2-athena-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-athena-component.adoc @@ -15,7 +15,7 @@ *{component-header}* -The Athena component supports running queries with https://aws.amazon.com/athena/[AWS Athena] and working with results. +The AWS2 Athena component supports running queries with https://aws.amazon.com/athena/[AWS Athena] and working with results. Prerequisites
[camel] 02/02: Regen website docs
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 47c16dd5bc582d3c879e977d4630724de11aea96 Author: Andrea Cosentino AuthorDate: Fri May 1 13:57:35 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/amqp-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/amqp-component.adoc b/docs/components/modules/ROOT/pages/amqp-component.adoc index b93afbe..d5efb6e 100644 --- a/docs/components/modules/ROOT/pages/amqp-component.adoc +++ b/docs/components/modules/ROOT/pages/amqp-component.adoc @@ -388,7 +388,7 @@ If you, for example, need to enable `amqp.traceFrames` you can do that by append AMQPComponent amqp = AMQPComponent.amqpComponent("amqp://localhost:5672?amqp.traceFrames=true"); -For reference take a look at the https://qpid.apache.org/releases/qpid-jms-0.29.0/docs/index.html[QPID JMS client configuration] +For reference take a look at the https://qpid.apache.org/releases/qpid-jms-0.51.0/docs/index.html[QPID JMS client configuration] == Using topics
[camel] 02/02: Regen website docs
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 14fc40db91de3487706827d09cf60c8712597bf7 Author: Andrea Cosentino AuthorDate: Wed Apr 22 12:26:33 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/aws2-ec2-component.adoc | 2 +- docs/components/modules/ROOT/pages/aws2-ecs-component.adoc | 2 +- docs/components/modules/ROOT/pages/aws2-eks-component.adoc | 2 +- docs/components/modules/ROOT/pages/aws2-iam-component.adoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc b/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc index 0fa9e0f..7c4de7c 100644 --- a/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc @@ -188,7 +188,7 @@ In AWS EC2 there are multiple operations you can submit, as an example for Creat -- from("direct:start") .setBody(RunInstancesRequest.builder().imageId("test-1").instanceType(InstanceType.T2_MICRO).build()) - .to("aws2-ec2://TestDomain?accessKey===createAndRunInstances"); + .to("aws2-ec2://TestDomain?accessKey===createAndRunInstances=true"); -- In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. diff --git a/docs/components/modules/ROOT/pages/aws2-ecs-component.adoc b/docs/components/modules/ROOT/pages/aws2-ecs-component.adoc index 22ab940..4082edc 100644 --- a/docs/components/modules/ROOT/pages/aws2-ecs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ecs-component.adoc @@ -165,7 +165,7 @@ In AWS ECS there are multiple operations you can submit, as an example for List -- from("direct:start") .setBody(ListClustersRequest.builder().maxResults(10).build()) - .to("aws2-ecs://test?ecsClient=#amazonEcsClient=listClusters") + .to("aws2-ecs://test?ecsClient=#amazonEcsClient=listClusters=true") -- In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. diff --git a/docs/components/modules/ROOT/pages/aws2-eks-component.adoc b/docs/components/modules/ROOT/pages/aws2-eks-component.adoc index c7725fe..fc0c1a6 100644 --- a/docs/components/modules/ROOT/pages/aws2-eks-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-eks-component.adoc @@ -173,7 +173,7 @@ In AWS EKS there are multiple operations you can submit, as an example for List -- from("direct:start") .setBody(ListClustersRequest.builder().maxResults(12).build()) - .to("aws2-eks://test?eksClient=#amazonEksClient=listClusters") + .to("aws2-eks://test?eksClient=#amazonEksClient=listClusters=true") -- In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. diff --git a/docs/components/modules/ROOT/pages/aws2-iam-component.adoc b/docs/components/modules/ROOT/pages/aws2-iam-component.adoc index 4df6d67..cc5ee4b 100644 --- a/docs/components/modules/ROOT/pages/aws2-iam-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-iam-component.adoc @@ -182,7 +182,7 @@ In AWS IAM there are multiple operations you can submit, as an example for Creat -- from("direct:createUser") .setBody(CreateUserRequest.builder().userName("camel").build()) -.to("aws-iam://test?iamClient=#amazonIAMClient=createUser") + .to("aws-iam://test?iamClient=#amazonIAMClient=createUser=true") -- In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation.