[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit cf07a79ad1a61b50a62de27b3a632b6567186c95 Author: Andrea Cosentino AuthorDate: Fri Sep 10 14:09:30 2021 +0200 Regen docs --- .../modules/ROOT/pages/aws2-s3-component.adoc | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc index f21ed40..6adbbc6 100644 --- a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc @@ -610,15 +610,15 @@ In Streaming upload you'll be able restart the producer from the point where it By setting the restartingPolicy to lastPart, you will restart uploading files and contents from the last part number the producer left. As example: -- Start the route with progressive naming strategy and keyname equals to camel.txt, with batchMessageNumber equals to 20, and restartingPolicy equals to lastPart -- Send 70 messages. -- Stop the route -- On your S3 bucket you should now see 4 files: camel.txt, camel-1.txt, camel-2.txt and camel-3.txt, the first three will have 20 messages, while the last one only 10. -- Restart the route -- Send 25 messages -- Stop the route -- You'll now have 2 other files in your bucket: camel-5.txt and camel-6.txt, the first with 20 messages and second with 5 messages. -- Go ahead + - Start the route with progressive naming strategy and keyname equals to camel.txt, with batchMessageNumber equals to 20, and restartingPolicy equals to lastPart + - Send 70 messages. + - Stop the route + - On your S3 bucket you should now see 4 files: camel.txt, camel-1.txt, camel-2.txt and camel-3.txt, the first three will have 20 messages, while the last one only 10. + - Restart the route + - Send 25 messages + - Stop the route + - You'll now have 2 other files in your bucket: camel-5.txt and camel-6.txt, the first with 20 messages and second with 5 messages. + - Go ahead This won't be needed when using the random naming strategy.
[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit b5e4c9f6aa8516c3c21fd341c7eab49688912259 Author: Andrea Cosentino AuthorDate: Mon Aug 30 09:06:59 2021 +0200 Regen docs --- docs/components/modules/others/pages/opentracing.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/others/pages/opentracing.adoc b/docs/components/modules/others/pages/opentracing.adoc index 2fbd457..6e3ee7d 100644 --- a/docs/components/modules/others/pages/opentracing.adoc +++ b/docs/components/modules/others/pages/opentracing.adoc @@ -100,7 +100,7 @@ compatible with OpenTracing Java API version 0.31 or higher. The `Tracer` used will be implicitly loaded from the camel context `Registry` or using the `ServiceLoader`. -How this agent is used will be specific to how you execute your application. _Service2_ in the https://github.com/apache/camel-spring-boot-examples/tree/master/camel-example-spring-boot-opentracing[camel-example-spring-boot-opentracing] downloads the agent into a local folder and then uses the `exec-maven-plugin` to launch the service with the `-javaagent` command line option. +How this agent is used will be specific to how you execute your application. _Service2_ in the https://github.com/apache/camel-spring-boot-examples/tree/main/opentracing[Opentracing Spring Boot example] downloads the agent into a local folder and then uses the `exec-maven-plugin` to launch the service with the `-javaagent` command line option. == Example
[camel] 02/02: Regen docs for huawei-iam
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 2d29747f70a097b916d26382430c9f0b9cc7becb Author: Andrea Cosentino AuthorDate: Tue Jun 15 21:38:51 2021 +0200 Regen docs for huawei-iam --- .../org/apache/camel/catalog/components.properties | 1 + .../camel/catalog/components/hwcloud-iam.json | 48 +++ .../org/apache/camel/catalog/docs.properties | 1 + .../camel/catalog/docs/hwcloud-iam-component.adoc | 146 + .../org/apache/camel/main/components.properties| 1 + .../camel/maven/packaging/PrepareCatalogMojo.java | 3 +- 6 files changed, 199 insertions(+), 1 deletion(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties index 16498aa..1604e0a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties @@ -146,6 +146,7 @@ hdfs http https hwcloud-functiongraph +hwcloud-iam hwcloud-smn iec60870-client iec60870-server diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-iam.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-iam.json new file mode 100644 index 000..e599f7a --- /dev/null +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/hwcloud-iam.json @@ -0,0 +1,48 @@ +{ + "component": { +"kind": "component", +"name": "hwcloud-iam", +"title": "IAM", +"description": "To securely manage users on Huawei Cloud", +"deprecated": false, +"firstVersion": "3.11.0", +"label": "cloud", +"javaType": "org.apache.camel.component.huaweicloud.iam.IAMComponent", +"supportLevel": "Preview", +"groupId": "org.apache.camel", +"artifactId": "camel-huaweicloud-iam", +"version": "3.11.0-SNAPSHOT", +"scheme": "hwcloud-iam", +"extendsScheme": "", +"syntax": "hwcloud-iam:operation", +"async": false, +"api": false, +"consumerOnly": false, +"producerOnly": false, +"lenientProperties": false + }, + "componentProperties": { +"bridgeErrorHandler": { "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a me [...] +"lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] +"autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] + }, + "properties": { +"operation": { "kind": "path", "displayName": "Operation", "group": "producer", "label": "producer", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Operation to be performed" }, +"authenticationKey": { "kind": "parameter", "displayName": "API authentication key (AK)", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": true, "description": "Authentication key for the cloud user" }, +"endpoint": { "kind": "parameter", "displayName": "Service endpoint", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "IAM endpoint url. Carries higher precedence than region parameter based client initialization" }, +
[camel] 02/02: Regen 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 47c133570702e2e918be456cbb57dde0df32261b Author: Andrea Cosentino AuthorDate: Fri Dec 4 13:23:37 2020 +0100 Regen docs --- .../org/apache/camel/catalog/docs/aws2-s3-component.adoc | 8 docs/components/modules/ROOT/pages/aws2-s3-component.adoc | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-s3-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-s3-component.adoc index c61d8fc..ffde72a 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-s3-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-s3-component.adoc @@ -373,12 +373,12 @@ from("file:tmp/test?fileName=test.txt") In this way you'll ask to S3, to use the KMS key 3f0637ad-296a-3dfe-a796-e60654fb128c, to encrypt the file test.txt. When you'll ask to download this file, the decryption will be done directly before the download. -=== Use "useIAMCredentials" with the s3 component +=== Use "useDefaultCredentialsProvider" with the s3 component and IAM -To use AWS IAM credentials, you must first verify that the EC2 in which you are launching the Camel application on has an IAM role associated with it containing the appropriate policies attached to run effectively. +To use AWS Default Credentials Provider, you must first verify that the EC2 in which you are launching the Camel application on has an IAM role associated with it containing the appropriate policies attached to run effectively. Keep in mind that this feature should only be set to "true" on remote instances. To clarify even further, you must still use static credentials locally since IAM is an AWS specific component, -but AWS environments should now be easier to manage. After this is implemented and understood, you can set the query parameter "useIAMCredentials" to "true" for AWS environments! To effectively toggle this -on and off based on local and remote environments, you can consider enabling this query parameter with system environment variables. For example, your code could set the "useIAMCredentials" query parameter to "true", +but AWS environments should now be easier to manage. After this is implemented and understood, you can set the query parameter "useDefaultCredentialsProvider" to "true" for AWS environments! To effectively toggle this +on and off based on local and remote environments, you can consider enabling this query parameter with system environment variables. For example, your code could set the "useDefaultCredentialsProvider" query parameter to "true", when the system environment variable called "isRemote" is set to true (there are many other ways to do this and this should act as a simple example). Although it doesn't take away the need for static credentials completely, using IAM credentials on AWS environments takes away the need to refresh on remote environments and adds a major security boost (IAM credentials are refreshed automatically every 6 hours and update when their policies are updated). This is the AWS recommended way to manage credentials and therefore should be used as often as possible. diff --git a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc index 986458a..0c229d4 100644 --- a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc @@ -375,12 +375,12 @@ from("file:tmp/test?fileName=test.txt") In this way you'll ask to S3, to use the KMS key 3f0637ad-296a-3dfe-a796-e60654fb128c, to encrypt the file test.txt. When you'll ask to download this file, the decryption will be done directly before the download. -=== Use "useIAMCredentials" with the s3 component +=== Use "useDefaultCredentialsProvider" with the s3 component and IAM -To use AWS IAM credentials, you must first verify that the EC2 in which you are launching the Camel application on has an IAM role associated with it containing the appropriate policies attached to run effectively. +To use AWS Default Credentials Provider, you must first verify that the EC2 in which you are launching the Camel application on has an IAM role associated with it containing the appropriate policies attached to run effectively. Keep in mind that this feature should only be set to "true" on remote instances. To clarify even further, you must still use static credentials locally since IAM is an AWS specific component, -but AWS environments should now be easier to manage. After this is implemented and understood, you can set the query parameter "useIAMCredentials" to "true" for AWS
[camel] 02/02: Regen 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 327f33a580c7a822a592ded08b3e73221e16cdbd Author: Andrea Cosentino AuthorDate: Thu Jul 30 14:13:30 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc index 1b5400c..9e4a0ac 100644 --- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc @@ -353,7 +353,7 @@ from("direct:start") .to("aws2-sqs://camel-1?accessKey=RAW(xxx)=RAW(xxx)=EU_WEST_1"); -- -As result you'll get an exchange containing a `SendMessageBatchResult` instance, that you can examinate to check what messages were successfull and what not. +As result you'll get an exchange containing a `SendMessageBatchResponse` instance, that you can examinate to check what messages were successfull and what not. The id set on each message of the batch will be a Random UUID. == Delete single Message @@ -367,7 +367,7 @@ from("direct:start") .to("aws2-sqs://camel-1?accessKey=RAW(xxx)=RAW(xxx)=EU_WEST_1"); -- -As result you'll get an exchange containing a `DeleteMessageResult` instance, that you can use to check if the message was deleted or not. +As result you'll get an exchange containing a `DeleteMessageResponse` instance, that you can use to check if the message was deleted or not. == List Queues @@ -378,7 +378,7 @@ from("direct:start") .setHeader(SqsConstants.SQS_OPERATION, constant("listQueues")).to("aws2-sqs://camel-1?accessKey=RAW(xxx)=RAW(xxx)=EU_WEST_1"); -- -As result you'll get an exchange containing a `ListQueuesResult` instance, that you can examinate to check the actual queues. +As result you'll get an exchange containing a `ListQueuesResponse` instance, that you can examinate to check the actual queues. == Purge Queue
[camel] 02/02: Regen 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 999f3a9fbe63f00603ea6d4899543e2334688838 Author: Andrea Cosentino AuthorDate: Tue Jun 9 17:47:37 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/resteasy-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/resteasy-component.adoc b/docs/components/modules/ROOT/pages/resteasy-component.adoc index fa8d5d9..787e6f7 100644 --- a/docs/components/modules/ROOT/pages/resteasy-component.adoc +++ b/docs/components/modules/ROOT/pages/resteasy-component.adoc @@ -251,4 +251,4 @@ Then you can define your route as follows: Notice that component-scan is important to load resteasy servlet properly into container's runtime. -include::camel-spring-boot::page$restasy-starter.adoc[] +include::camel-spring-boot::page$resteasy-starter.adoc[]
[camel] 02/02: Regen 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 aca92de69960f39f4d9821fb58e2365f9a4abb8d Author: Andrea Cosentino AuthorDate: Wed May 27 12:06:53 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/dropbox-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/dropbox-component.adoc b/docs/components/modules/ROOT/pages/dropbox-component.adoc index e49ce69..ded8f74 100644 --- a/docs/components/modules/ROOT/pages/dropbox-component.adoc +++ b/docs/components/modules/ROOT/pages/dropbox-component.adoc @@ -16,8 +16,8 @@ The Dropbox component allows you to treat https://www.dropbox.com[Dropbox] remote folders as a producer or consumer of messages. Using the -http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/[Dropbox Java -Core API] (reference version for this component is 1.7.x), this camel +https://github.com/dropbox/dropbox-sdk-java[Dropbox Java +Core API], this camel component has the following features: * As a consumer, download files and search files by queries
[camel] 02/02: Regen 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 35ad0001bedbb5480dd08027698dffb50f96fbb4 Author: Andrea Cosentino AuthorDate: Wed May 27 11:13:17 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/corda-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/corda-component.adoc b/docs/components/modules/ROOT/pages/corda-component.adoc index 09bf676..f152c78 100644 --- a/docs/components/modules/ROOT/pages/corda-component.adoc +++ b/docs/components/modules/ROOT/pages/corda-component.adoc @@ -15,8 +15,8 @@ *Since Camel {since}* -Camel connector for R3's https://www.corda.net/[corda] blockchain platform using corda-rpc library. -This component uses the corda rpc client. +Camel connector for R3's https://www.corda.net/[Corda] blockchain platform using corda-rpc library. +This component uses the Corda RPC client. Maven users will need to add the following dependency to their `pom.xml` for this component:
[camel] 02/02: Regen 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 c7aa34968c476fb23da47856487630576d04fe16 Author: Andrea Cosentino AuthorDate: Wed May 27 11:07:09 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/consul-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/consul-component.adoc b/docs/components/modules/ROOT/pages/consul-component.adoc index 3e08083..1caf237 100644 --- a/docs/components/modules/ROOT/pages/consul-component.adoc +++ b/docs/components/modules/ROOT/pages/consul-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The Consul component is a component for integrating your application with Consul. +The Consul component is a component for integrating your application with https://www.consul.io/[Hashicorp Consul]. Maven users will need to add the following dependency to their pom.xml for this component:
[camel] 02/02: Regen 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 780fd762dd943f41146dd489671f9d6baf9a2987 Author: Andrea Cosentino AuthorDate: Wed May 27 11:04:37 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/consul-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/consul-component.adoc b/docs/components/modules/ROOT/pages/consul-component.adoc index cc03ffa..3e08083 100644 --- a/docs/components/modules/ROOT/pages/consul-component.adoc +++ b/docs/components/modules/ROOT/pages/consul-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The Consul component is a component for integrating your application with Consul. +The Consul component is a component for integrating your application with Consul. Maven users will need to add the following dependency to their pom.xml for this component:
[camel] 02/02: Regen 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 92129f1ab1839a715120d94a267a16efab08bfa6 Author: Andrea Cosentino AuthorDate: Wed May 27 10:37:49 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/cm-sms-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/cm-sms-component.adoc b/docs/components/modules/ROOT/pages/cm-sms-component.adoc index 888d607..62ca704 100644 --- a/docs/components/modules/ROOT/pages/cm-sms-component.adoc +++ b/docs/components/modules/ROOT/pages/cm-sms-component.adoc @@ -14,9 +14,9 @@ *{component-header}* *Camel-Cm-Sms* is an http://camel.apache.org/[Apache Camel] component -for the [CM SMS Gateway](https://www.cmtelecom.com). +for the https://www.cmtelecom.com[CM SMS Gateway] -It allows to integrate https://dashboard.onlinesmsgateway.com/docs[CM SMS API]in an application as a camel component. +It allows to integrate https://dashboard.onlinesmsgateway.com/docs[CM SMS API] in an application as a camel component. You must have a valid account. More information is available at https://www.cmtelecom.com/support[CM Telecom].
[camel] 02/02: Regen 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 234c168e71a3641aa9490c306adabbb896b37315 Author: Andrea Cosentino AuthorDate: Tue May 26 17:37:32 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 2 +- docs/components/modules/ROOT/pages/aws2-translate-component.adoc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc index 75e4120..dcabcc8 100644 --- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The sqs component supports sending and receiving messages to +The AWS2 SQS component supports sending and receiving messages to https://aws.amazon.com/sqs[Amazon's SQS] service. Prerequisites diff --git a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc index df4690e..9a0c233 100644 --- a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc @@ -11,10 +11,9 @@ *Since Camel {since}* - *{component-header}* -The Translate component supports translate a text in multiple languages. +The AWS2 Translate component supports translate a text in multiple languages. https://aws.amazon.com/translate/[AWS Translate] clusters instances. Prerequisites
[camel] 02/02: Regen 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 84ee1528c6b6788fe5d20cd8e7b58d8c0523f8c1 Author: Andrea Cosentino AuthorDate: Tue May 26 15:48:24 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-ses-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-ses-component.adoc b/docs/components/modules/ROOT/pages/aws2-ses-component.adoc index 0bbe3bf..7310d4b 100644 --- a/docs/components/modules/ROOT/pages/aws2-ses-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ses-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The ses component supports sending emails with +The AWS2 SES component supports sending emails with https://aws.amazon.com/ses[Amazon's SES] service. Prerequisites
[camel] 02/02: Regen 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 82d47cc9d27ddf4d99437c1701e8482a33464be5 Author: Andrea Cosentino AuthorDate: Tue May 26 13:32:21 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-mq-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-mq-component.adoc b/docs/components/modules/ROOT/pages/aws2-mq-component.adoc index 860e7fd..7d12535 100644 --- a/docs/components/modules/ROOT/pages/aws2-mq-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-mq-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The MQ component supports create, run, start, stop and terminate +The AWS2 MQ component supports create, run, start, stop and terminate https://aws.amazon.com/amazon-mq/[AWS MQ] instances. Prerequisites
[camel] 02/02: Regen 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 9aeea9a4298d1bca51b064d18d10dee1ec2a4a73 Author: Andrea Cosentino AuthorDate: Tue May 26 13:26:23 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-lambda-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc index f00cbe7..68fb630 100644 --- a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The Lambda component supports create, get, list, delete and invoke +The AWS2 Lambda component supports create, get, list, delete and invoke https://aws.amazon.com/lambda/[AWS Lambda] functions. *Prerequisites*
[camel] 02/02: Regen 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 e437a8cdcabb882dd7d1bc2c60040d996a6a5e46 Author: Andrea Cosentino AuthorDate: Tue May 26 10:51:56 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-ec2-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc b/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc index 323207f..c7b3a46 100644 --- a/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ec2-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The EC2 component supports the ability to create, run, start, stop and terminate +The AWS2 EC2 component supports the ability to create, run, start, stop and terminate https://aws.amazon.com/ec2/[AWS EC2] instances. Prerequisites
[camel] 02/02: Regen 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 cd91f10550b68af9c3d54fb27170f40b6fdbd006 Author: Andrea Cosentino AuthorDate: Tue May 26 10:38:25 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-ddbstream-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-ddbstream-component.adoc b/docs/components/modules/ROOT/pages/aws2-ddbstream-component.adoc index 6c261f3..bfa4d09 100644 --- a/docs/components/modules/ROOT/pages/aws2-ddbstream-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ddbstream-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The DynamoDB Stream component supports receiving messages from +The AWS2 DynamoDB Stream component supports receiving messages from Amazon DynamoDB Stream service. Prerequisites
[camel] 02/02: Regen 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 9238c16b7a59f61f44584eb44552f1255df0f651 Author: Andrea Cosentino AuthorDate: Tue May 26 10:36:03 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-ddb-component.adoc | 2 +- docs/components/modules/ROOT/pages/kafka-component.adoc| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-ddb-component.adoc b/docs/components/modules/ROOT/pages/aws2-ddb-component.adoc index f5f4b9b..befcf59 100644 --- a/docs/components/modules/ROOT/pages/aws2-ddb-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ddb-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The DynamoDB component supports storing and retrieving data from/to +The AWS2 DynamoDB component supports storing and retrieving data from/to https://aws.amazon.com/dynamodb[Amazon's DynamoDB] service. Prerequisites diff --git a/docs/components/modules/ROOT/pages/kafka-component.adoc b/docs/components/modules/ROOT/pages/kafka-component.adoc index 5c3c539..c5dcb5b 100644 --- a/docs/components/modules/ROOT/pages/kafka-component.adoc +++ b/docs/components/modules/ROOT/pages/kafka-component.adoc @@ -131,7 +131,7 @@ The Kafka component supports 97 options, which are listed below. | *saslMechanism* (security) | The Simple Authentication and Security Layer (SASL) Mechanism used. For the valid values see \http://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml | GSSAPI | String | *securityProtocol* (security) | Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT and SSL are supported | PLAINTEXT | String | *sslCipherSuites* (security) | A list of cipher suites. This is a named combination of authentication, encryption, MAC and key exchange algorithm used to negotiate the security settings for a network connection using TLS or SSL network protocol.By default all the available cipher suites are supported. | | String -| *sslContextParameters* (security) | SSL configuration using a Camel SSLContextParameters object. If configured it's applied before the other SSL endpoint parameters. | | SSLContextParameters +| *sslContextParameters* (security) | SSL configuration using a Camel SSLContextParameters object. If configured it's applied before the other SSL endpoint parameters. NOTE: Kafka only supports loading keystore from file locations, so prefix the location with file: in the KeyStoreParameters.resource option. | | SSLContextParameters | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | String | *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to validate server hostname using server certificate. | | String | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager factory for SSL connections. Default value is the key manager factory algorithm configured for the Java Virtual Machine. | SunX509 | String @@ -259,7 +259,7 @@ with the following path and query parameters: | *saslMechanism* (security) | The Simple Authentication and Security Layer (SASL) Mechanism used. For the valid values see \http://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml | GSSAPI | String | *securityProtocol* (security) | Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT and SSL are supported | PLAINTEXT | String | *sslCipherSuites* (security) | A list of cipher suites. This is a named combination of authentication, encryption, MAC and key exchange algorithm used to negotiate the security settings for a network connection using TLS or SSL network protocol.By default all the available cipher suites are supported. | | String -| *sslContextParameters* (security) | SSL configuration using a Camel SSLContextParameters object. If configured it's applied before the other SSL endpoint parameters. | | SSLContextParameters +| *sslContextParameters* (security) | SSL configuration using a Camel SSLContextParameters object. If configured it's applied before the other SSL endpoint parameters. NOTE: Kafka only supports loading keystore from file locations, so prefix the location with file: in the KeyStoreParameters.resource option. | | SSLContextParameters | *sslEnabledProtocols* (security) | The list of protocols enabled for SSL connections. TLSv1.2, TLSv1.1 and TLSv1 are enabled by default. | TLSv1.2 | String | *sslEndpointAlgorithm* (security) | The endpoint identification algorithm to validate server hostname using server certificate. | | String | *sslKeymanagerAlgorithm* (security) | The algorithm used by key manager factory for SSL connections. Default value is the key manager factory algorithm configured for the Java Virtual Machine. | SunX509 | String
[camel] 02/02: Regen 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 99f9a084ea7ea4025504dfbeda2a82ce294bc80c Author: Andrea Cosentino AuthorDate: Tue May 26 08:49:06 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-cw-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-cw-component.adoc b/docs/components/modules/ROOT/pages/aws2-cw-component.adoc index af55f51..469c68a 100644 --- a/docs/components/modules/ROOT/pages/aws2-cw-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-cw-component.adoc @@ -13,7 +13,7 @@ *{component-header}* -The CW component allows messages to be sent to an +The AWS2 Cloudwatch component allows messages to be sent to an https://aws.amazon.com/cloudwatch/[Amazon CloudWatch] metrics. The implementation of the Amazon API is provided by the https://aws.amazon.com/sdkforjava/[AWS SDK].
[camel] 02/02: Regen 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 945dc38ae3c15adfcd4ed1b6b5009e7b7bbaf323 Author: Andrea Cosentino AuthorDate: Tue May 26 08:42:48 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/amqp-component.adoc | 10 -- 1 file changed, 10 deletions(-) diff --git a/docs/components/modules/ROOT/pages/amqp-component.adoc b/docs/components/modules/ROOT/pages/amqp-component.adoc index 5f43275..d488c77 100644 --- a/docs/components/modules/ROOT/pages/amqp-component.adoc +++ b/docs/components/modules/ROOT/pages/amqp-component.adoc @@ -9,16 +9,6 @@ :supportLevel: Stable :component-header: Both producer and consumer are supported -// HEADER START -*Both producer and consumer is supported* -// HEADER END - -:artifactId: camel-amqp -:description: Messaging with AMQP protocol using Apache QPid Client. -:since: 1.2 -:supportLevel: Stable -:component-header: Both producer and consumer are supported - *Since Camel {since}* *{component-header}*
[camel] 02/02: Regen 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 ebbd5f26be2443bbd1025fd3c1fb106f2709a778 Author: Andrea Cosentino AuthorDate: Mon May 25 17:40:49 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/json-validator-component.adoc | 2 +- docs/components/modules/others/pages/jta.adoc| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/json-validator-component.adoc b/docs/components/modules/ROOT/pages/json-validator-component.adoc index e378655..d06a3b4 100644 --- a/docs/components/modules/ROOT/pages/json-validator-component.adoc +++ b/docs/components/modules/ROOT/pages/json-validator-component.adoc @@ -14,7 +14,7 @@ *{component-header}* The JSON Schema Validator component performs bean validation of the message body -against JSON Schemas v4 draft using the NetworkNT JSON Schema library +against JSON Schemas v4, v6, v7 and v2019-09 draft using the NetworkNT JSON Schema library (https://github.com/networknt/json-schema-validator). Maven users will need to add the following dependency to their `pom.xml` diff --git a/docs/components/modules/others/pages/jta.adoc b/docs/components/modules/others/pages/jta.adoc index 4e21ac9..a3f2f89 100644 --- a/docs/components/modules/others/pages/jta.adoc +++ b/docs/components/modules/others/pages/jta.adoc @@ -12,4 +12,4 @@ The `camel-jta` component is used for integrating Camel's transaction support with JTA. -See more details in the xref: [Transaction Client EIP] documentation. +See more details in the xref:{eip-vc}:eips:transactional-client.adoc[Transactional Client] documentation.
[camel] 02/02: Regen docs and Java code
This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit b31731bbcd6aba5e64e9fa32164cefb989689a3c Author: Peter Palaga AuthorDate: Mon Apr 27 13:16:56 2020 +0200 Regen docs and Java code --- .../resources/org/apache/camel/dataformat/avro/avro.json | 2 +- components/camel-avro/src/main/docs/avro-dataformat.adoc | 2 +- .../resources/org/apache/camel/language/bean/bean.json| 2 +- components/camel-bean/src/main/docs/bean-language.adoc| 2 +- .../resources/org/apache/camel/component/direct/direct.json | 2 +- components/camel-direct/src/main/docs/direct-component.adoc | 2 +- .../org/apache/camel/component/directvm/direct-vm.json| 2 +- .../camel-directvm/src/main/docs/direct-vm-component.adoc | 2 +- .../resources/org/apache/camel/component/fhir/fhirJson.json | 2 +- .../resources/org/apache/camel/component/fhir/fhirXml.json| 2 +- .../src/main/docs/fhirJson-dataformat.adoc| 2 +- .../src/main/docs/fhirXml-dataformat.adoc | 2 +- .../org/apache/camel/dataformat/flatpack/flatpack.json| 2 +- .../camel-flatpack/src/main/docs/flatpack-dataformat.adoc | 2 +- .../resources/org/apache/camel/language/groovy/groovy.json| 2 +- components/camel-groovy/src/main/docs/groovy-language.adoc| 2 +- .../resources/org/apache/camel/component/hl7/hl7terser.json | 2 +- components/camel-hl7/src/main/docs/hl7terser-language.adoc| 2 +- .../resources/org/apache/camel/component/jsonapi/jsonApi.json | 2 +- .../camel-jsonapi/src/main/docs/jsonApi-dataformat.adoc | 2 +- .../resources/org/apache/camel/jsonpath/jsonpath.json | 2 +- .../camel-jsonpath/src/main/docs/jsonpath-language.adoc | 2 +- .../resources/org/apache/camel/dataformat/lzf/lzf.json| 2 +- components/camel-lzf/src/main/docs/lzf-dataformat.adoc| 2 +- .../resources/org/apache/camel/language/mvel/mvel.json| 2 +- components/camel-mvel/src/main/docs/mvel-language.adoc| 2 +- .../resources/org/apache/camel/language/ognl/ognl.json| 2 +- components/camel-ognl/src/main/docs/ognl-language.adoc| 2 +- .../resources/org/apache/camel/language/xquery/xquery.json| 2 +- components/camel-saxon/src/main/docs/xquery-language.adoc | 2 +- .../resources/org/apache/camel/language/spel/spel.json| 2 +- components/camel-spring/src/main/docs/spel-language.adoc | 2 +- .../org/apache/camel/dataformat/tarfile/tarfile.json | 2 +- .../camel-tarfile/src/main/docs/tarfile-dataformat.adoc | 2 +- .../resources/org/apache/camel/dataformat/thrift/thrift.json | 2 +- components/camel-thrift/src/main/docs/thrift-dataformat.adoc | 2 +- .../org/apache/camel/dataformat/univocity/univocity-csv.json | 2 +- .../apache/camel/dataformat/univocity/univocity-fixed.json| 2 +- .../org/apache/camel/dataformat/univocity/univocity-tsv.json | 2 +- .../src/main/docs/univocity-csv-dataformat.adoc | 2 +- .../src/main/docs/univocity-fixed-dataformat.adoc | 2 +- .../src/main/docs/univocity-tsv-dataformat.adoc | 2 +- .../resources/org/apache/camel/language/xpath/xpath.json | 2 +- components/camel-xpath/src/main/docs/xpath-language.adoc | 2 +- .../org/apache/camel/dataformat/xstream/xstream.json | 2 +- .../camel-xstream/src/main/docs/xstream-dataformat.adoc | 2 +- .../org/apache/camel/dataformat/deflater/gzipdeflater.json| 2 +- .../src/main/docs/gzipdeflater-dataformat.adoc| 2 +- .../camel/builder/component/ComponentsBuilderFactory.java | 7 +++ .../builder/component/dsl/DirectComponentBuilderFactory.java | 6 ++ .../component/dsl/DirectVmComponentBuilderFactory.java| 7 +++ core/camel-componentdsl/src/generated/resources/metadata.json | 4 ++-- .../resources/org/apache/camel/model/dataformat/avro.json | 2 +- .../org/apache/camel/model/dataformat/dataFormats.json| 2 +- .../resources/org/apache/camel/model/dataformat/fhirJson.json | 2 +- .../resources/org/apache/camel/model/dataformat/fhirXml.json | 2 +- .../resources/org/apache/camel/model/dataformat/flatpack.json | 2 +- .../org/apache/camel/model/dataformat/gzipdeflater.json | 2 +- .../resources/org/apache/camel/model/dataformat/jsonApi.json | 2 +- .../resources/org/apache/camel/model/dataformat/lzf.json | 2 +- .../resources/org/apache/camel/model/dataformat/tarfile.json | 2 +- .../resources/org/apache/camel/model/dataformat/thrift.json | 2 +- .../org/apache/camel/model/dataformat/univocity-csv.json | 2 +- .../org/apache/camel/model/dataformat/univocity-fixed.json| 2 +- .../org/apache/camel/model/dataformat/univocity-tsv.json | 2 +-
[camel] 02/02: Regen 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 661fa9ee4c81d9a658e7a78df1e5458042093e0d Author: Andrea Cosentino AuthorDate: Fri Apr 24 11:41:45 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-s3-component.adoc | 13 + 1 file changed, 13 insertions(+) diff --git a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc index c4222fd..a320865 100644 --- a/docs/components/modules/ROOT/pages/aws2-s3-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-s3-component.adoc @@ -547,6 +547,19 @@ from("direct:putObject") .to(awsEndpoint); +== Using a POJO as body + +Sometimes build an AWS Request can be complex, because of multiple options. We introduce the possibility to use a POJO as body. +In AWS S3 there are multiple operations you can submit, as an example for List brokers request, you can do something like: + +-- +from("direct:aws2-s3") + .setBody(ListObjectsRequest.builder().bucket(bucketName).build()) + .to("aws2-s3://test?amazonS3Client=#amazonS3Client=listObjects=true") +-- + +In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. + == Dependencies Maven users will need to add the following dependency to their pom.xml.
[camel] 02/02: Regen 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 2da01ffeedb467c918bf0d056b96f9f068707ef5 Author: Andrea Cosentino AuthorDate: Wed Apr 22 10:55:07 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-translate-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc index 36ba635..f04551a 100644 --- a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc @@ -172,7 +172,7 @@ In AWS Translate the only operation available is TranslateText so you can do som from("direct:start") .setBody(TranslateTextRequest.builder().sourceLanguageCode(Translate2LanguageEnum.ITALIAN.toString()) .targetLanguageCode(Translate2LanguageEnum.GERMAN.toString()).text("Ciao").build()) - .to("aws2-translate://test?translateClient=#amazonTranslateClient=translateText"); + .to("aws2-translate://test?translateClient=#amazonTranslateClient=translateText=true"); -- In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation.
[camel] 02/02: Regen 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 e9e36814d13ef117322ac4b1096f8c2225faea81 Author: Andrea Cosentino AuthorDate: Tue Mar 10 13:08:50 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/rabbitmq-component.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/components/modules/ROOT/pages/rabbitmq-component.adoc b/docs/components/modules/ROOT/pages/rabbitmq-component.adoc index 0c2a916..8aa5eac 100644 --- a/docs/components/modules/ROOT/pages/rabbitmq-component.adoc +++ b/docs/components/modules/ROOT/pages/rabbitmq-component.adoc @@ -248,6 +248,7 @@ The `ConnectionFactory` is auto-detected by default, so you can just do +In case you have multiple connection factories in your application or multiple connection factories in your registry, don't forge to set the `autoDetectConnectionFactory` to false. == Message Headers
[camel] 02/02: Regen 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 011564485ac47a0622597facdf1a3bb56bae954c Author: Andrea Cosentino AuthorDate: Tue Mar 10 13:00:35 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/rabbitmq-component.adoc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/docs/components/modules/ROOT/pages/rabbitmq-component.adoc b/docs/components/modules/ROOT/pages/rabbitmq-component.adoc index 04eaddd..0c2a916 100644 --- a/docs/components/modules/ROOT/pages/rabbitmq-component.adoc +++ b/docs/components/modules/ROOT/pages/rabbitmq-component.adoc @@ -320,6 +320,16 @@ producer will also set the headers for downstream processors once the exchange has taken place. Any headers set prior to production that the producer sets will be overridden. +== Allowing custom Headers + +The `allowCustomHeaders` endpoint option can be used to avoid adding custom headers to the message sent to RabbitMQ. +If set to false, the user will have only rabbitmq.* headers in the payload of the message. Default value for this option is true. + +[NOTE] + +If you decide to use the allowCustomHeaders option, don't add sensitive information as header. It's not recommended and it's dangerous. Don't do it. + + == Message Body The component will use the camel exchange in body as the rabbit mq
[camel] 02/02: Regen 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 f9fa0b566c9eb80e90ac854fabe57a4d9f74bd9e Author: Andrea Cosentino AuthorDate: Mon Feb 24 09:58:55 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/aws2-lambda-component.adoc | 5 + docs/components/modules/ROOT/pages/aws2-ses-component.adoc| 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc index eb3a260..b3d180f 100644 --- a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc @@ -4,9 +4,6 @@ *Since Camel 3.2* -*Since Camel 3.2* - - // HEADER START *Only producer is supported* // HEADER END @@ -231,4 +228,4 @@ Maven users will need to add the following dependency to their pom.xml. where `$\{camel-version\}` must be replaced by the actual version of Camel. -include::camel-spring-boot::page$aws2-lambda-starter.adoc[] +include::camel-spring-boot::page$aws2-lambda-starter.adoc[] \ No newline at end of file diff --git a/docs/components/modules/ROOT/pages/aws2-ses-component.adoc b/docs/components/modules/ROOT/pages/aws2-ses-component.adoc index 9a7245e..2a22403 100644 --- a/docs/components/modules/ROOT/pages/aws2-ses-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-ses-component.adoc @@ -184,4 +184,4 @@ Maven users will need to add the following dependency to their pom.xml. where `$\{camel-version\}` must be replaced by the actual version of Camel. -include::camel-spring-boot::page$aws-ses-starter.adoc[] +include::camel-spring-boot::page$aws2-ses-starter.adoc[]
[camel] 02/02: Regen 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 3f51d7be40fea7bb4d2b48aa629178210a6567b6 Author: Andrea Cosentino AuthorDate: Mon Feb 24 08:57:47 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/aws2-lambda-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc index b0b3ff2..eb3a260 100644 --- a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc @@ -231,4 +231,4 @@ Maven users will need to add the following dependency to their pom.xml. where `$\{camel-version\}` must be replaced by the actual version of Camel. -include::camel-spring-boot::page$aws-lambda-starter.adoc[] +include::camel-spring-boot::page$aws2-lambda-starter.adoc[]
[camel] 02/02: Regen 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 c0782b97d49ec666feb7886f42321cf2e841a9e3 Author: Andrea Cosentino AuthorDate: Thu Feb 20 14:58:41 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/aws2-lambda-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc index f022048..b0b3ff2 100644 --- a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc @@ -87,7 +87,7 @@ with the following path and query parameters: | Name | Description | Default | Type | *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 perform. It can be listFunctions, getFunction, createFunction, deleteFunction or invokeFunction. The value can be one of: listFunctions, getFunction, createAlias, deleteAlias, getAlias, listAliases, createFunction, deleteFunction, invokeFunction, updateFunction, createEventSourceMapping, deleteEventSourceMapping, listEventSourceMapping, listTags, tagResource, untagResource, publishVersion, listVersions | invokeFunction | Lambda2Operations -| *region* (producer) | Amazon AWS Region. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String +| *region* (producer) | The region in which ECS 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 | *awsLambdaClient* (advanced) | To use a existing configured AwsLambdaClient as client | | LambdaClient | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
[camel] 02/02: Regen 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 5dd5585160611ee9df03ad6f7c9bac2b1c446868 Author: Andrea Cosentino AuthorDate: Thu Feb 20 14:40:42 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/aws2-lambda-component.adoc | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc index 2052f85..f022048 100644 --- a/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-lambda-component.adoc @@ -22,9 +22,10 @@ https://aws.amazon.com/lambda/[AWS Lambda]. When creating a Lambda function, you need to specify a IAM role which has at least the AWSLambdaBasicExecuteRole policy attached. -*Warning* - -Lambda is regional service. Unlike S3 bucket, Lambda function created in a given region is not available on other regions. +[NOTE] + +The AWS2 Lambda component is not supported in OSGI + == URI Format @@ -230,4 +231,4 @@ Maven users will need to add the following dependency to their pom.xml. where `$\{camel-version\}` must be replaced by the actual version of Camel. -include::camel-spring-boot::page$aws-lambda-starter.adoc[] \ No newline at end of file +include::camel-spring-boot::page$aws-lambda-starter.adoc[]
[camel] 02/02: Regen 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 475101888bd54915997cb24d7cf6f0170052c92a Author: Andrea Cosentino AuthorDate: Mon Feb 17 19:53:07 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/aws2-sqs-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc index 7575681..03ce139 100644 --- a/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-sqs-component.adoc @@ -349,4 +349,4 @@ The other one will use a NullMessageDeduplicationIdStrategy, that will use the b In case of send batch message operation, you'll need to use the `useContentBasedDeduplication` and on the Queue you're pointing you'll need to enable the `content based deduplication` option. -include::camel-spring-boot::page$aws-sqs-starter.adoc[] +include::camel-spring-boot::page$aws2-sqs-starter.adoc[]
[camel] 02/02: Regen 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 21c61e63d0d2aa5e1c50091a0833316fe7f6c8d5 Author: Andrea Cosentino AuthorDate: Mon Feb 17 19:19:42 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/aws2-iam-component.adoc | 2 +- docs/components/modules/ROOT/pages/index.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-iam-component.adoc b/docs/components/modules/ROOT/pages/aws2-iam-component.adoc index ca0a3f8..5422f12 100644 --- a/docs/components/modules/ROOT/pages/aws2-iam-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-iam-component.adoc @@ -90,7 +90,7 @@ with the following path and query parameters: | *proxyHost* (producer) | To define a proxy host when instantiating the IAM client | | String | *proxyPort* (producer) | To define a proxy port when instantiating the IAM client | | Integer | *proxyProtocol* (producer) | To define a proxy protocol when instantiating the IAM client. The value can be one of: HTTP, HTTPS | HTTPS | Protocol -| *region* (producer) | The region in which IAM client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | String +| *region* (producer) | The region in which IAM 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 | *secretKey* (producer) | Amazon AWS Secret Key | | String | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc index 422f78a..94add1a 100644 --- a/docs/components/modules/ROOT/pages/index.adoc +++ b/docs/components/modules/ROOT/pages/index.adoc @@ -58,7 +58,7 @@ Number of Components: 328 in 262 JAR artifacts (1 deprecated) | xref:aws2-eks-component.adoc[AWS 2 EKS] (camel-aws2-eks) | 3.1 | The aws2-eks is used for managing Amazon EKS -| xref:aws2-iam-component.adoc[AWS 2 IAM] (camel-aws2-iam) | 3.1 | The aws-iam is used for managing Amazon IAM +| xref:aws2-iam-component.adoc[AWS 2 IAM] (camel-aws2-iam) | 3.1 | The aws2-iam is used for managing Amazon IAM | xref:aws2-kms-component.adoc[AWS 2 KMS] (camel-aws2-kms) | 3.1 | The aws2-kms is used for managing Amazon KMS
[camel] 02/02: Regen 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 dbd90bda8af3d1ab6e4759b9c5ff2b0b939a5ddf Author: Andrea Cosentino AuthorDate: Sat Jan 11 19:21:01 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/timer-component.adoc | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/timer-component.adoc b/docs/components/modules/ROOT/pages/timer-component.adoc index 74a6b7d..c9e9f08 100644 --- a/docs/components/modules/ROOT/pages/timer-component.adoc +++ b/docs/components/modules/ROOT/pages/timer-component.adoc @@ -28,14 +28,22 @@ You can append query options to the URI in the following format, *Note:* The IN body of the generated exchange is `null`. So `exchange.getIn().getBody()` returns `null`. -*TIP:* Advanced Scheduler +[TIP] + +*Advanced Scheduler* + See also the xref:quartz-component.adoc[Quartz] component that supports much more advanced scheduling. + + +[TIP] + +*Specify time in human friendly format* -*TIP:* Specify time in human friendly format You can specify the time in xref:manual::faq/how-do-i-specify-time-period-in-a-human-friendly-syntax.adoc[human friendly syntax]. + == Options
[camel] 02/02: Regen 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 f3c7f53e072c9203d4b8395c6f7ffcb8c790e046 Author: Andrea Cosentino AuthorDate: Sat Jan 11 19:16:46 2020 +0100 Regen docs --- docs/components/modules/ROOT/pages/timer-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/timer-component.adoc b/docs/components/modules/ROOT/pages/timer-component.adoc index 175f65b..74a6b7d 100644 --- a/docs/components/modules/ROOT/pages/timer-component.adoc +++ b/docs/components/modules/ROOT/pages/timer-component.adoc @@ -28,11 +28,11 @@ You can append query options to the URI in the following format, *Note:* The IN body of the generated exchange is `null`. So `exchange.getIn().getBody()` returns `null`. -TIP:*Advanced Scheduler* +*TIP:* Advanced Scheduler See also the xref:quartz-component.adoc[Quartz] component that supports much more advanced scheduling. -TIP:*Specify time in human friendly format* +*TIP:* Specify time in human friendly format You can specify the time in xref:manual::faq/how-do-i-specify-time-period-in-a-human-friendly-syntax.adoc[human friendly syntax].
[camel] 02/02: Regen 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 9bdd1165518546c67566835ae221de613687bf9a Author: Andrea Cosentino AuthorDate: Wed Dec 4 11:12:46 2019 +0100 Regen docs --- docs/components/modules/ROOT/pages/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc index c06978c..e25351b 100644 --- a/docs/components/modules/ROOT/pages/index.adoc +++ b/docs/components/modules/ROOT/pages/index.adoc @@ -84,7 +84,7 @@ Number of Components: 305 in 243 JAR artifacts (0 deprecated) | xref:aws-sdb-component.adoc[AWS SimpleDB] (camel-aws-sdb) | 2.9 | The aws-sdb component is for storing and retrieving data from/to Amazon's SDB service. -| xref:aws-translate-component.adoc[AWS Translate] (camel-aws-translate) | 3.0 | The aws-kms is used for managing Amazon Translate +| xref:aws-translate-component.adoc[AWS Translate] (camel-aws-translate) | 3.0 | The aws-translate component is used for managing Amazon Translate | xref:azure-blob-component.adoc[Azure Storage Blob Service] (camel-azure) | 2.19 | The azure-blob component is used for storing and retrieving blobs from Azure Storage Blob Service.
[camel] 02/02: Regen 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 4796b9475a1fc514db33a239edd60f09a0cd8b4e Author: Andrea Cosentino AuthorDate: Fri Nov 29 14:39:24 2019 +0100 Regen docs --- .../ROOT/pages/platform-http-component.adoc| 58 +- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/platform-http-component.adoc b/docs/components/modules/ROOT/pages/platform-http-component.adoc index 0bb75b1..a7b695b 100644 --- a/docs/components/modules/ROOT/pages/platform-http-component.adoc +++ b/docs/components/modules/ROOT/pages/platform-http-component.adoc @@ -26,6 +26,62 @@ for this component: +== Options + +// component options: START +The Platform HTTP component supports 3 options, which are listed below. + + + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Type +| *basicPropertyBinding* (advanced) | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | 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 [...] +| *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 +|=== +// component options: END + + +// endpoint options: START +The Platform HTTP endpoint is configured using URI syntax: + + +platform-http:path + + +with the following path and query parameters: + +=== Path Parameters (1 parameters): + + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Type +| *path* | *Required* The path under which this endpoint serves the HTTP requests | | String +|=== + + +=== Query Parameters (11 parameters): + + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Type +| *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 +| *consumes* (consumer) | The content type this endpoint accepts as an input, such as application/xml or application/json. null or / mean no restriction. | | String +| *httpMethodRestrict* (consumer) | A comma separated list of HTTP methods to serve, e.g. GET,POST . If no methods are specified, all methods will be served. | | String +| *produces* (consumer) | The content type this endpoint produces, such as application/xml or application/json. | | String +| *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. | | ExchangePattern +| *fileNameExtWhitelist* (consumer) | A comma or whitespace separated list of file extensions. Uploads having these extensions will be stored locally. Null value or asterisk () will allow all files. | | String +| *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean +| *headerFilterStrategy* (advanced) | To use a custom HeaderFilterStrategy to filter headers to and from Camel message. | | HeaderFilterStrategy +| *platformHttpEngine* (advanced) | An HTTP Server engine implementation to serve the requests of this endpoint. | | PlatformHttpEngine +| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
[camel] 02/02: Regen 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 a13555a0166a8f231d92e06472ceeec6becfc4aa Author: Andrea Cosentino AuthorDate: Fri Nov 15 11:10:53 2019 +0100 Regen docs --- docs/components/modules/ROOT/pages/seda-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/seda-component.adoc b/docs/components/modules/ROOT/pages/seda-component.adoc index 6a717f5..13ba588 100644 --- a/docs/components/modules/ROOT/pages/seda-component.adoc +++ b/docs/components/modules/ROOT/pages/seda-component.adoc @@ -9,7 +9,7 @@ // HEADER END The SEDA component provides asynchronous -http://www.eecs.harvard.edu/~mdw/proj/seda/[SEDA] behavior, so that +https://en.wikipedia.org/wiki/Staged_event-driven_architecture[SEDA] behavior, so that messages are exchanged on a http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/BlockingQueue.html[BlockingQueue] and consumers are invoked in a separate thread from the producer.
[camel] 02/02: Regen docs and fixed links for debezium
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 b41e56a31398db775eaabb57bef892c3a0eb843e Author: Andrea Cosentino AuthorDate: Wed Oct 30 10:52:41 2019 +0100 Regen docs and fixed links for debezium --- docs/user-manual/modules/ROOT/pages/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/index.adoc b/docs/user-manual/modules/ROOT/pages/index.adoc index a7513a0..627cb7b 100644 --- a/docs/user-manual/modules/ROOT/pages/index.adoc +++ b/docs/user-manual/modules/ROOT/pages/index.adoc @@ -207,7 +207,7 @@ camel routes without them knowing ** xref:components::crypto-cms-component.adoc[Crypto CMS] ** xref:components::cxf-component.adoc[CXF] ** xref:components::cxfrs-component.adoc[CXF-RS] -** xref:components::debezium-component.adoc[Debezium] +** xref:components::debezium-mysql-component.adoc[Debezium Mysql] ** xref:components::digitalocean-component.adoc[DigitalOcean] ** xref:components::disruptor-component.adoc[Disruptor] ** xref:components::dns-component.adoc[DNS]
[camel] 02/02: Regen 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 4b39570892717f49a941da13355fdf8b70a7b749 Author: Andrea Cosentino AuthorDate: Thu Oct 24 13:33:03 2019 +0200 Regen docs --- .../modules/ROOT/pages/seda-component.adoc | 60 +- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/seda-component.adoc b/docs/components/modules/ROOT/pages/seda-component.adoc index 5f5b971..c9fc671 100644 --- a/docs/components/modules/ROOT/pages/seda-component.adoc +++ b/docs/components/modules/ROOT/pages/seda-component.adoc @@ -239,14 +239,70 @@ to the original caller. [source,java] -include::{examplesdir}/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example] +@Test +public void testSendAsync() throws Exception { +MockEndpoint mock = getMockEndpoint("mock:result"); +mock.expectedBodiesReceived("Hello World"); + +// START SNIPPET: e2 +Object out = template.requestBody("direct:start", "Hello World"); +assertEquals("OK", out); +// END SNIPPET: e2 + +assertMockEndpointsSatisfied(); +} + +@Override +protected RouteBuilder createRouteBuilder() throws Exception { +return new RouteBuilder() { +// START SNIPPET: e1 +public void configure() throws Exception { +from("direct:start") +// send it to the seda queue that is async +.to("seda:next") +// return a constant response +.transform(constant("OK")); + +from("seda:next").to("mock:result"); +} +// END SNIPPET: e1 +}; +} Here we send a Hello World message and expects the reply to be OK. [source,java] -include::{examplesdir}/core/camel-core/src/test/java/org/apache/camel/component/seda/SedaAsyncRouteTest.java[tags=example] +@Test +public void testSendAsync() throws Exception { +MockEndpoint mock = getMockEndpoint("mock:result"); +mock.expectedBodiesReceived("Hello World"); + +// START SNIPPET: e2 +Object out = template.requestBody("direct:start", "Hello World"); +assertEquals("OK", out); +// END SNIPPET: e2 + +assertMockEndpointsSatisfied(); +} + +@Override +protected RouteBuilder createRouteBuilder() throws Exception { +return new RouteBuilder() { +// START SNIPPET: e1 +public void configure() throws Exception { +from("direct:start") +// send it to the seda queue that is async +.to("seda:next") +// return a constant response +.transform(constant("OK")); + +from("seda:next").to("mock:result"); +} +// END SNIPPET: e1 +}; +}
[camel] 02/02: Regen 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 dbcd302885950ff8211593acd53841441eb3610b Author: Andrea Cosentino AuthorDate: Wed Oct 2 14:31:10 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws-msk-component.adoc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/docs/components/modules/ROOT/pages/aws-msk-component.adoc b/docs/components/modules/ROOT/pages/aws-msk-component.adoc index 009e65e..a90d757 100644 --- a/docs/components/modules/ROOT/pages/aws-msk-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-msk-component.adoc @@ -161,6 +161,16 @@ Camel-AWS MSK component provides the following operation on the producer side: - createCluster - deleteCluster +== Producer Examples + +- listBrokers: this operation will list the available MSK Brokers in AWS + +[source,java] + +from("direct:listClusters") +.to("aws-msk://test?mskClient=#amazonMskClient=listClusters") + + == Automatic detection of AWSKafka client in registry The component is capable of detecting the presence of an AWSKafka bean into the registry.
[camel] 02/02: Regen 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 d38c4a137495a3df5aa0e474de2ce82e6a4d4afb Author: Andrea Cosentino AuthorDate: Tue Oct 1 15:33:37 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws-eks-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws-eks-component.adoc b/docs/components/modules/ROOT/pages/aws-eks-component.adoc index 0b2dfb0..9da13c0 100644 --- a/docs/components/modules/ROOT/pages/aws-eks-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-eks-component.adoc @@ -166,7 +166,7 @@ Camel-AWS EKS component provides the following operation on the producer side: [source,java] from("direct:listClusters") -.to("aws-eks://test?ecsClient=#amazonEcsClient=listClusters") +.to("aws-eks://test?ecsClient=#amazonEksClient=listClusters") == Automatic detection of AmazonEKS client in registry
[camel] 02/02: Regen 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 ec694db8caf580364450654a9bed951d55f6ae42 Author: Andrea Cosentino AuthorDate: Tue Oct 1 15:02:21 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws-eks-component.adoc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/docs/components/modules/ROOT/pages/aws-eks-component.adoc b/docs/components/modules/ROOT/pages/aws-eks-component.adoc index ff274b7..0b2dfb0 100644 --- a/docs/components/modules/ROOT/pages/aws-eks-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-eks-component.adoc @@ -159,6 +159,16 @@ Camel-AWS EKS component provides the following operation on the producer side: - describeCluster - deleteCluster +== Producer Examples + +- listClusters: this operation will list the available clusters in EKS + +[source,java] + +from("direct:listClusters") +.to("aws-eks://test?ecsClient=#amazonEcsClient=listClusters") + + == Automatic detection of AmazonEKS client in registry The component is capable of detecting the presence of an AmazonEKS bean into the registry.
[camel] 02/02: Regen 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 8f58182c3cda1e2e896fa09c515d698a508af48e Author: Andrea Cosentino AuthorDate: Tue Oct 1 14:29:03 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws-ecs-component.adoc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/docs/components/modules/ROOT/pages/aws-ecs-component.adoc b/docs/components/modules/ROOT/pages/aws-ecs-component.adoc index eca9acd..7788d95 100644 --- a/docs/components/modules/ROOT/pages/aws-ecs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-ecs-component.adoc @@ -153,6 +153,16 @@ Camel-AWS ECS component provides the following operation on the producer side: - describeCluster - deleteCluster +== Producer Examples + +- listClusters: this operation will list the available clusters in ECS + +[source,java] + +from("direct:listClusters") +.to("aws-ecs://test?ecsClient=#amazonEcsClient=listClusters") + + == Automatic detection of AmazonECS client in registry The component is capable of detecting the presence of an AmazonECS bean into the registry.
[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git commit c22e702a7ae73452d9664e1265d5bc3cf1c80b75 Author: Andrea Cosentino AuthorDate: Mon Sep 30 09:21:44 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/as2-component.adoc | 5 +++-- docs/components/modules/ROOT/pages/irc-component.adoc | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/components/modules/ROOT/pages/as2-component.adoc b/docs/components/modules/ROOT/pages/as2-component.adoc index e0e6824..c406805 100644 --- a/docs/components/modules/ROOT/pages/as2-component.adoc +++ b/docs/components/modules/ROOT/pages/as2-component.adoc @@ -1,5 +1,6 @@ [[as2-component]] -== AS2 Component += AS2 Component +:page-source: components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc *Available as of Camel version 2.22* @@ -286,4 +287,4 @@ URI Options for _server_ |Name |Type |requestUriPattern |String -|=== \ No newline at end of file +|=== diff --git a/docs/components/modules/ROOT/pages/irc-component.adoc b/docs/components/modules/ROOT/pages/irc-component.adoc index 2ad5a86..846145c 100644 --- a/docs/components/modules/ROOT/pages/irc-component.adoc +++ b/docs/components/modules/ROOT/pages/irc-component.adoc @@ -1,4 +1,6 @@ -== IRC Component +[[irc-component]] += IRC Component +:page-source: components/camel-irc/src/main/docs/irc-component.adoc *Available as of Camel version 1.1* *Available as of Camel version 1.1*
[camel] 02/02: Regen 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 fa439f8ab235136e19ce1010a08f9727f70b0c5a Author: Andrea Cosentino AuthorDate: Thu Sep 26 11:00:35 2019 +0200 Regen docs --- .../pages/openshift-build-configs-component.adoc | 33 ++ 1 file changed, 33 insertions(+) diff --git a/docs/components/modules/ROOT/pages/openshift-build-configs-component.adoc b/docs/components/modules/ROOT/pages/openshift-build-configs-component.adoc index dff1992..4dfdd75 100644 --- a/docs/components/modules/ROOT/pages/openshift-build-configs-component.adoc +++ b/docs/components/modules/ROOT/pages/openshift-build-configs-component.adoc @@ -83,3 +83,36 @@ with the following path and query parameters: - listBuildConfigs - listBuildConfigsByLabels - getBuildConfig + +== Openshift Build Configs Producer Examples + +- listBuilds: this operation list the Build Configs on an Openshift cluster + +[source,java] + +from("direct:list"). + toF("openshift-build-configs:///?kubernetesClient=#kubernetesClient=listBuildConfigs"). +to("mock:result"); + + +This operation return a List of Builds from your Openshift cluster + +- listBuildsByLabels: this operation list the build configs by labels on an Openshift cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_BUILD_CONFIGS_LABELS, labels); +} +}); + toF("openshift-build-configs:///?kubernetesClient=#kubernetesClient=listBuildConfigsByLabels"). +to("mock:result"); + + +This operation return a List of Build configs from your cluster, using a label selector (with key1 and key2, with value value1 and value2)
[camel] 02/02: Regen 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 8aa0bad0614fc08345dd5b373272876f47b1bd0a Author: Andrea Cosentino AuthorDate: Thu Sep 26 10:57:33 2019 +0200 Regen docs --- .../ROOT/pages/openshift-builds-component.adoc | 33 ++ 1 file changed, 33 insertions(+) diff --git a/docs/components/modules/ROOT/pages/openshift-builds-component.adoc b/docs/components/modules/ROOT/pages/openshift-builds-component.adoc index f7f0f6e..fb30f00 100644 --- a/docs/components/modules/ROOT/pages/openshift-builds-component.adoc +++ b/docs/components/modules/ROOT/pages/openshift-builds-component.adoc @@ -83,3 +83,36 @@ with the following path and query parameters: - listBuilds - listBuildsByLabels - getBuild + +== Openshift Builds Producer Examples + +- listBuilds: this operation list the Builds on an Openshift cluster + +[source,java] + +from("direct:list"). + toF("openshift-builds:///?kubernetesClient=#kubernetesClient=listBuilds"). +to("mock:result"); + + +This operation return a List of Builds from your Openshift cluster + +- listBuildsByLabels: this operation list the builds by labels on an Openshift cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_BUILDS_LABELS, labels); +} +}); + toF("openshift-builds:///?kubernetesClient=#kubernetesClient=listBuildsByLabels"). +to("mock:result"); + + +This operation return a List of Builds from your cluster, using a label selector (with key1 and key2, with value value1 and value2)
[camel] 02/02: Regen 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 18728d66ba57654c867fe34d7d8a6b2789c6140b Author: Andrea Cosentino AuthorDate: Thu Sep 26 10:07:44 2019 +0200 Regen docs --- .../ROOT/pages/kubernetes-services-component.adoc | 51 ++ 1 file changed, 51 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-services-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-services-component.adoc index cd9361d..bed148f 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-services-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-services-component.adoc @@ -119,3 +119,54 @@ The component supports 2 options, which are listed below. - getService - createService - deleteService + +== Kubernetes Services Producer Examples + +- listServices: this operation list the services on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-services:///?kubernetesClient=#kubernetesClient=listServices"). +to("mock:result"); + + +This operation return a List of servoces from your cluster + +- listServicesByLabels: this operation list the deployments by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_SERVICE_LABELS, labels); +} +}); + toF("kubernetes-services:///?kubernetesClient=#kubernetesClient=listServicesByLabels"). +to("mock:result"); + + +This operation return a List of Services from your cluster, using a label selector (with key1 and key2, with value value1 and value2) + +== Kubernetes Services Consumer Example + +[source,java] + +fromF("kubernetes-services://%s?oauthToken=%s=default=test", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +Service sv = exchange.getIn().getBody(Service.class); +log.info("Got event with configmap name: " + sv.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events on the namespace default for the deployment test.
[camel] 02/02: Regen 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 341e74aeeb10095667fb9ca43750493211811407 Author: Andrea Cosentino AuthorDate: Tue Sep 24 14:18:22 2019 +0200 Regen docs --- .../ROOT/pages/kubernetes-secrets-component.adoc | 33 ++ 1 file changed, 33 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-secrets-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-secrets-component.adoc index c48ce25..709aa0f 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-secrets-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-secrets-component.adoc @@ -111,3 +111,36 @@ The component supports 2 options, which are listed below. - createSecret - deleteSecret +== Kubernetes Secrets Producer Examples + +- listSecrets: this operation list the secrets on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-secrets:///?kubernetesClient=#kubernetesClient=listSecrets"). +to("mock:result"); + + +This operation return a List of secrets from your cluster + +- listSecretsByLabels: this operation list the Secrets by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_SECRETS_LABELS, labels); +} +}); + toF("kubernetes-secrets:///?kubernetesClient=#kubernetesClient=listSecretsByLabels"). +to("mock:result"); + + +This operation return a List of Secrets from your cluster, using a label selector (with key1 and key2, with value value1 and value2) +
[camel] 02/02: Regen 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 b474612178f7223dfe19195ab8c883f2d84d9e50 Author: Andrea Cosentino AuthorDate: Tue Sep 24 12:18:20 2019 +0200 Regen docs --- .../kubernetes-resources-quota-component.adoc | 33 ++ 1 file changed, 33 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc index d878591..a502aee 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-resources-quota-component.adoc @@ -111,3 +111,36 @@ The component supports 2 options, which are listed below. - createResourcesQuota - deleteResourcesQuota +== Kubernetes Resource Quota Producer Examples + +- listResourcesQuota: this operation list the Resource Quotas on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-resources-quota:///?kubernetesClient=#kubernetesClient=listResourcesQuota"). +to("mock:result"); + + +This operation return a List of Resource Quotas from your cluster + +- listResourcesQuotaByLabels: this operation list the Resource Quotas by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_RESOURCES_QUOTA_LABELS, labels); +} +}); + toF("kubernetes-resources-quota:///?kubernetesClient=#kubernetesClient=listResourcesQuotaByLabels"). +to("mock:result"); + + +This operation return a List of Resource Quotas from your cluster, using a label selector (with key1 and key2, with value value1 and value2) +
[camel] 02/02: Regen 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 f53b86768b1b1e3f330d4eec6a88838f0cabc971 Author: Andrea Cosentino AuthorDate: Tue Sep 24 12:04:28 2019 +0200 Regen docs --- ...bernetes-replication-controllers-component.adoc | 51 ++ 1 file changed, 51 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-replication-controllers-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-replication-controllers-component.adoc index bbae57f..8080213 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-replication-controllers-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-replication-controllers-component.adoc @@ -121,3 +121,54 @@ The component supports 2 options, which are listed below. - deleteReplicationController - scaleReplicationController +== Kubernetes Replication Controllers Producer Examples + +- listReplicationControllers: this operation list the RCs on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-replication-controllers:///?kubernetesClient=#kubernetesClient=listReplicationControllers"). +to("mock:result"); + + +This operation return a List of RCs from your cluster + +- listReplicationControllersByLabels: this operation list the RCs by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_REPLICATION_CONTROLLERS_LABELS, labels); +} +}); + toF("kubernetes-replication-controllers:///?kubernetesClient=#kubernetesClient=listReplicationControllersByLabels"). +to("mock:result"); + + +This operation return a List of RCs from your cluster, using a label selector (with key1 and key2, with value value1 and value2) + +== Kubernetes Replication Controllers Consumer Example + +[source,java] + +fromF("kubernetes-replication-controllers://%s?oauthToken=%s=default=test", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +ReplicationController rc = exchange.getIn().getBody(ReplicationController.class); +log.info("Got event with configmap name: " + rc.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events on the namespace default for the rc test. +
[camel] 02/02: Regen 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 684b7082593177636745c1f37852f1ef4a7dee86 Author: Andrea Cosentino AuthorDate: Tue Sep 24 10:59:31 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc index 070f09d..30feea6 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc @@ -152,7 +152,7 @@ from("direct:listByLabels").process(new Processor() { This operation return a List of Pods from your cluster, using a label selector (with key1 and key2, with value value1 and value2) -== Kubernetes Deployments Consumer Example +== Kubernetes Pods Consumer Example [source,java]
[camel] 02/02: Regen 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 975b3fa3bea9339dd27f21aa32212f229498e3b7 Author: Andrea Cosentino AuthorDate: Tue Sep 24 10:38:37 2019 +0200 Regen docs --- .../ROOT/pages/kubernetes-pods-component.adoc | 51 ++ 1 file changed, 51 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc index ee5d08f..070f09d 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc @@ -119,3 +119,54 @@ The component supports 2 options, which are listed below. - createPod - deletePod +== Kubernetes Pods Producer Examples + +- listPods: this operation list the pods on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-pods:///?kubernetesClient=#kubernetesClient=listPods"). +to("mock:result"); + + +This operation return a List of Pods from your cluster + +- listPodsByLabels: this operation list the pods by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_PODS_LABELS, labels); +} +}); + toF("kubernetes-pods:///?kubernetesClient=#kubernetesClient=listPodsByLabels"). +to("mock:result"); + + +This operation return a List of Pods from your cluster, using a label selector (with key1 and key2, with value value1 and value2) + +== Kubernetes Deployments Consumer Example + +[source,java] + +fromF("kubernetes-pods://%s?oauthToken=%s=default=test", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +Pod pod = exchange.getIn().getBody(Pod.class); +log.info("Got event with configmap name: " + pod.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events on the namespace default for the pod test. +
[camel] 02/02: Regen 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 f5e5415d4b12a5ff13a49012344e58838ad72e49 Author: Andrea Cosentino AuthorDate: Mon Sep 23 10:36:44 2019 +0200 Regen docs --- .../ROOT/pages/kubernetes-nodes-component.adoc | 52 ++ 1 file changed, 52 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc index 509a547..51079c9 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc @@ -120,3 +120,55 @@ The component supports 2 options, which are listed below. - createNode - deleteNode + +== Kubernetes Nodes Producer Examples + +- listNodes: this operation list the nodes on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-nodes:///?kubernetesClient=#kubernetesClient=listNodes"). +to("mock:result"); + + +This operation return a List of Nodes from your cluster + +- listNodesByLabels: this operation list the nodes by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_NODES_LABELS, labels); +} +}); + toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient=listNodesByLabels"). +to("mock:result"); + + +This operation return a List of Nodes from your cluster, using a label selector (with key1 and key2, with value value1 and value2) + +== Kubernetes Nodes Consumer Example + +[source,java] + +fromF("kubernetes-nodes://%s?oauthToken=%s=test", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +Node node = exchange.getIn().getBody(Node.class); +log.info("Got event with configmap name: " + node.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events for the node test. +
[camel] 02/02: Regen 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 4a26e41ea6976ad8476e02beaaada252656a6a0b Author: Andrea Cosentino AuthorDate: Mon Sep 23 10:24:04 2019 +0200 Regen docs --- .../pages/kubernetes-namespaces-component.adoc | 52 ++ 1 file changed, 52 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc index e31a4a6..8f11531 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc @@ -120,3 +120,55 @@ The component supports 2 options, which are listed below. - createNamespace - deleteNamespace +== Kubernetes Namespaces Producer Examples + +- listNamespaces: this operation list the namespaces on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient=listNamespaces"). +to("mock:result"); + + +This operation return a List of namespaces from your cluster + +- listNamespacesByLabels: this operation list the namespaces by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_NAMESPACES_LABELS, labels); +} +}); + toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient=listNamespacesByLabels"). +to("mock:result"); + + +This operation return a List of Namespaces from your cluster, using a label selector (with key1 and key2, with value value1 and value2) + +== Kubernetes Namespaces Consumer Example + +[source,java] + +fromF("kubernetes-namespaces://%s?oauthToken=%s=default", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +Namespace ns = exchange.getIn().getBody(Namespace.class); +log.info("Got event with configmap name: " + ns.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events on the namespace default. + +
[camel] 02/02: Regen 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 249d04ab1ec278bf75cfa2c688b7f287842f717f Author: Andrea Cosentino AuthorDate: Mon Sep 23 09:44:23 2019 +0200 Regen docs --- .../ROOT/pages/kubernetes-job-component.adoc | 33 ++ 1 file changed, 33 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc index 1c8bd43..24a9801 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc @@ -119,3 +119,36 @@ The component supports 2 options, which are listed below. - createJob - deleteJob +== Kubernetes Job Producer Examples + +- listJob: this operation list the jobs on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-job:///?kubernetesClient=#kubernetesClient=listJob"). +to("mock:result"); + + +This operation return a List of Job from your cluster + +- listJobByLabels: this operation list the jobs by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_JOB_LABELS, labels); +} +}); + toF("kubernetes-job:///?kubernetesClient=#kubernetesClient=listJobByLabels"). +to("mock:result"); + + +This operation return a List of Jobs from your cluster, using a label selector (with key1 and key2, with value value1 and value2) +
[camel] 02/02: Regen 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 05ed3a74baf606a959a76f7c783b77b16dfed440 Author: Andrea Cosentino AuthorDate: Fri Sep 20 16:05:47 2019 +0200 Regen docs --- .../modules/ROOT/pages/kubernetes-config-maps-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc index 8875b18..931c45e 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc @@ -112,7 +112,7 @@ The component supports 2 options, which are listed below. == Kubernetes ConfigMaps Producer Examples -- listConfigMaps: this operation copy an object from one bucket to a different one +- listConfigMaps: this operation list the configmaps [source,java] @@ -123,7 +123,7 @@ from("direct:list"). This operation return a List of ConfigMaps from your cluster -- listConfigMapsByLabels: this operation copy an object from one bucket to a different one +- listConfigMapsByLabels: this operation list the configmaps selected by label [source,java]
[camel] 02/02: Regen 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 0b818aea947e8eb36ed78d3df9f5281113ec71cb Author: Andrea Cosentino AuthorDate: Fri Sep 20 16:04:00 2019 +0200 Regen docs --- .../pages/kubernetes-deployments-component.adoc| 51 ++ 1 file changed, 51 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc index 3f71c82..6b5d103 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc @@ -120,3 +120,54 @@ The component supports 2 options, which are listed below. - deleteDeployment - scaleDeployment +== Kubernetes Deployments Producer Examples + +- listDeployments: this operation list the deployments on a kubernetes cluster + +[source,java] + +from("direct:list"). + toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient=listDeployments"). +to("mock:result"); + + +This operation return a List of Deployment from your cluster + +- listDeploymentsByLabels: this operation list the deployments by labels on a kubernetes cluster + +[source,java] + +from("direct:listByLabels").process(new Processor() { + +@Override +public void process(Exchange exchange) throws Exception { +Map labels = new HashMap<>(); +labels.put("key1", "value1"); +labels.put("key2", "value2"); + exchange.getIn().setHeader(KubernetesConstants.KUBERNETES_DEPLOYMENTS_LABELS, labels); +} +}); + toF("kubernetes-deployments:///?kubernetesClient=#kubernetesClient=listDeploymentsByLabels"). +to("mock:result"); + + +This operation return a List of Deployments from your cluster, using a label selector (with key1 and key2, with value value1 and value2) + +== Kubernetes Deployments Consumer Example + +[source,java] + +fromF("kubernetes-deployments://%s?oauthToken=%s=default=test", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +Deployment dp = exchange.getIn().getBody(Deployment.class); +log.info("Got event with configmap name: " + dp.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events on the namespace default for the deployment test. +
[camel] 02/02: Regen 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 b7088c2ba480a3a084d2654854eeb346403f4ccb Author: Andrea Cosentino AuthorDate: Fri Sep 20 15:15:36 2019 +0200 Regen docs --- .../ROOT/pages/kubernetes-config-maps-component.adoc | 18 ++ 1 file changed, 18 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc index 3f31fb2..8875b18 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc @@ -143,3 +143,21 @@ from("direct:listByLabels").process(new Processor() { This operation return a List of ConfigMaps from your cluster, using a label selector (with key1 and key2, with value value1 and value2) +== Kubernetes ConfigMaps Consumer Example + +[source,java] + +fromF("kubernetes-config-maps://%s?oauthToken=%s=default=test", host, authToken).process(new KubernertesProcessor()).to("mock:result"); + +public class KubernertesProcessor implements Processor { +@Override +public void process(Exchange exchange) throws Exception { +Message in = exchange.getIn(); +ConfigMap cm = exchange.getIn().getBody(ConfigMap.class); +log.info("Got event with configmap name: " + cm.getMetadata().getName() + " and action " + in.getHeader(KubernetesConstants.KUBERNETES_EVENT_ACTION)); +} +} + + +This consumer will return a list of events on the namespace default for the config map test. +
[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 0e39d1261620ad8b7fbd353df330e344a67ae3a6 Author: Andrea Cosentino AuthorDate: Mon Sep 16 12:27:45 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/kubernetes-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-hpa-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-job-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc | 1 + .../ROOT/pages/kubernetes-persistent-volumes-claims-component.adoc | 1 + .../modules/ROOT/pages/kubernetes-persistent-volumes-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-pods-component.adoc| 1 + .../modules/ROOT/pages/kubernetes-replication-controllers-component.adoc | 1 + .../modules/ROOT/pages/kubernetes-resources-quota-component.adoc | 1 + docs/components/modules/ROOT/pages/kubernetes-secrets-component.adoc | 1 + .../modules/ROOT/pages/kubernetes-service-accounts-component.adoc| 1 + docs/components/modules/ROOT/pages/kubernetes-services-component.adoc| 1 + .../components/modules/ROOT/pages/openshift-build-configs-component.adoc | 1 + docs/components/modules/ROOT/pages/openshift-builds-component.adoc | 1 + 17 files changed, 17 insertions(+) diff --git a/docs/components/modules/ROOT/pages/kubernetes-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-component.adoc index 7f3db07..200740f 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-component]] == Kubernetes Component (deprecated) *Available as of Camel version 2.17* diff --git a/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc index 3274ac5..d1d58ce 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-config-maps-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-config-maps-component]] == Kubernetes ConfigMap Component *Available as of Camel version 2.17* diff --git a/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc index b1b97b4..a756d6d 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-deployments-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-deployments-component]] == Kubernetes Deployments Component *Available as of Camel version 2.20* diff --git a/docs/components/modules/ROOT/pages/kubernetes-hpa-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-hpa-component.adoc index 03b0636..f48d84a 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-hpa-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-hpa-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-hpa-component]] == Kubernetes HPA Component *Available as of Camel version 2.23* diff --git a/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc index beca5ca..fb353ee 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-job-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-job-component]] == Kubernetes Job Component *Available as of Camel version 2.23* diff --git a/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc index b419929..64ce21a 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-namespaces-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-namespace-component]] == Kubernetes Namespaces Component *Available as of Camel version 2.17* diff --git a/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc b/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc index e427260..6554fe6 100644 --- a/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc +++ b/docs/components/modules/ROOT/pages/kubernetes-nodes-component.adoc @@ -1,3 +1,4 @@ +[[kubernetes-nodes-component]] == Kubernetes Nodes Component *Available as of Camel version 2.17* diff --git a/docs/components/modules/ROOT/pages/kubernetes-persistent-volumes-claims-component.adoc
[camel] 02/02: Regen 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 b033da50321d8f46a3b1aa55a7fc44aea29b8fa7 Author: Andrea Cosentino AuthorDate: Sat Sep 7 12:45:35 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/mongodb-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/mongodb-component.adoc b/docs/components/modules/ROOT/pages/mongodb-component.adoc index 9e2132e..26f1c3e 100644 --- a/docs/components/modules/ROOT/pages/mongodb-component.adoc +++ b/docs/components/modules/ROOT/pages/mongodb-component.adoc @@ -120,7 +120,7 @@ with the following path and query parameters: | *tailTrackCollection* (tail) | Collection where tail tracking information will be persisted. If not specified, MongoDbTailTrackingConfig#DEFAULT_COLLECTION will be used by default. | | String | *tailTrackDb* (tail) | Indicates what database the tail tracking mechanism will persist to. If not specified, the current database will be picked by default. Dynamicity will not be taken into account even if enabled, i.e. the tail tracking database will not vary past endpoint initialisation. | | String | *tailTrackField* (tail) | Field where the last tracked value will be placed. If not specified, MongoDbTailTrackingConfig#DEFAULT_FIELD will be used by default. | | String -| *tailTrackIncreasingField* (tail) | Correlation field in the incoming record which is of increasing nature and will be used to position the tailing cursor every time it is generated. The cursor will be (re)created with a query of type: tailTrackIncreasingField lastValue (possibly recovered from persistent tail tracking). Can be of type Integer, Date, String, etc. NOTE: No support for dot notation at the current time, so the field should be at the top level of the document. | | String +| *tailTrackIncreasingField* (tail) | Correlation field in the incoming record which is of increasing nature and will be used to position the tailing cursor every time it is generated. The cursor will be (re)created with a query of type: tailTrackIncreasingField greater than lastValue (possibly recovered from persistent tail tracking). Can be of type Integer, Date, String, etc. NOTE: No support for dot notation at the current time, so the field should be at the top level of the document. [...] |=== // endpoint options: END // spring-boot-auto-configure options: START
[camel] 02/02: Regen 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 b2a8ba2a975802d6784c1a36aa19d0cc95f9722a Author: Andrea Cosentino AuthorDate: Mon Jul 15 09:57:03 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/solr-component.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/solr-component.adoc b/docs/components/modules/ROOT/pages/solr-component.adoc index 1d439fc..9d2c7ce 100644 --- a/docs/components/modules/ROOT/pages/solr-component.adoc +++ b/docs/components/modules/ROOT/pages/solr-component.adoc @@ -66,7 +66,7 @@ with the following path and query parameters: |=== - Query Parameters (15 parameters): + Query Parameters (17 parameters): [width="100%",cols="2,5,^1,2",options="header"] @@ -85,6 +85,8 @@ with the following path and query parameters: | *streamingThreadCount* (producer) | Set the number of threads for the StreamingUpdateSolrServer | 2 | int | *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean +| *password* (security) | Sets password for basic auth plugin enabled servers | | String +| *username* (security) | Sets username for basic auth plugin enabled servers | | String | *collection* (solrCloud) | Set the collection name which the solrCloud server could use | | String | *zkHost* (solrCloud) | Set the ZooKeeper host information which the solrCloud could use, such as zkhost=localhost:8123. | | String |===
[camel] 02/02: Regen 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 e2447205ad735f84eb28f1b23285408572784f83 Author: Andrea Cosentino AuthorDate: Tue May 28 12:44:54 2019 +0200 Regen docs --- .../modules/ROOT/pages/google-mail-component.adoc | 12 ++-- .../modules/ROOT/pages/google-mail-stream-component.adoc| 13 ++--- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/docs/components/modules/ROOT/pages/google-mail-component.adoc b/docs/components/modules/ROOT/pages/google-mail-component.adoc index b840c08..56b0bc2 100644 --- a/docs/components/modules/ROOT/pages/google-mail-component.adoc +++ b/docs/components/modules/ROOT/pages/google-mail-component.adoc @@ -22,12 +22,12 @@ Maven users will need to add the following dependency to their pom.xml for this component: -- - -org.apache.camel -camel-google-mail -2.15-SNAPSHOT - - + +org.apache.camel +camel-google-mail + +x.y.z + -- ### URI Format diff --git a/docs/components/modules/ROOT/pages/google-mail-stream-component.adoc b/docs/components/modules/ROOT/pages/google-mail-stream-component.adoc index a50f0e1..fce71b5 100644 --- a/docs/components/modules/ROOT/pages/google-mail-stream-component.adoc +++ b/docs/components/modules/ROOT/pages/google-mail-stream-component.adoc @@ -22,12 +22,12 @@ Maven users will need to add the following dependency to their pom.xml for this component: -- - -org.apache.camel -camel-google-mail -2.22-SNAPSHOT - - + +org.apache.camel +camel-google-mail + +x.y.z + -- ### URI Format @@ -36,7 +36,6 @@ The GoogleMail Component uses the following URI format: google-mail-stream://index?[options] - ### GoogleMailStreamComponent
[camel] 02/02: Regen 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 669739f1d36d3b457f7ccbbbe1a10641cb3955ac Author: Andrea Cosentino AuthorDate: Mon May 27 16:24:50 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws-sqs-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws-sqs-component.adoc b/docs/components/modules/ROOT/pages/aws-sqs-component.adoc index 89a046e..b9a7016 100644 --- a/docs/components/modules/ROOT/pages/aws-sqs-component.adoc +++ b/docs/components/modules/ROOT/pages/aws-sqs-component.adoc @@ -287,7 +287,7 @@ from("aws-sqs://MyQueue?amazonSQSClient=#client=5000=5" .to("mock:result"); - -In this example if the MyQueue queue is not already created on AWS, it will be created with default parameters from the +In this example if the MyQueue queue is not already created on AWS (and the autoCreateQueue option is set to true), it will be created with default parameters from the SQS configuration. If it's already up on AWS, the SQS configuration options will be used to override the existent AWS configuration. DelayQueue VS Delay for Single message
[camel] 02/02: Regen 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 ce628603c66c10477380e8bac47d9a4c60a3bad4 Author: Andrea Cosentino AuthorDate: Mon May 27 12:18:36 2019 +0200 Regen docs --- docs/components/modules/ROOT/pages/amqp-component.adoc | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/components/modules/ROOT/pages/amqp-component.adoc b/docs/components/modules/ROOT/pages/amqp-component.adoc index 38b2afb..9b39743 100644 --- a/docs/components/modules/ROOT/pages/amqp-component.adoc +++ b/docs/components/modules/ROOT/pages/amqp-component.adoc @@ -3,10 +3,12 @@ *Available as of Camel version 1.2* -The *amqp:* component supports the http://www.amqp.org/[AMQP 1.0 -protocol] using the JMS Client API of the http://qpid.apache.org/[Qpid] +The amqp: component supports the +http://www.amqp.org/[AMQP 1.0 protocol] +using the JMS Client API of the http://qpid.apache.org/[Qpid] project. In case you want to use AMQP 0.9 (in particular RabbitMQ) you -might also be interested in the <> +might also be interested in the +<> component. Please keep in mind that prior to the Camel 2.17.0 AMQP component supported AMQP 0.9 and above, however since Camel 2.17.0 it supports only AMQP 1.0.
[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 4f50ce7b247e653d7784b5f8275fcebb0eb598b6 Author: Claus IbsenAuthorDate: Mon Feb 26 13:56:11 2018 +0100 Regen docs --- camel-core/src/main/docs/eips/enrich-eip.adoc | 1 - camel-core/src/main/docs/eips/onFallback-eip.adoc | 1 - camel-core/src/main/docs/eips/pipeline-eip.adoc | 2 +- camel-core/src/main/docs/eips/removeHeader-eip.adoc | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/camel-core/src/main/docs/eips/enrich-eip.adoc b/camel-core/src/main/docs/eips/enrich-eip.adoc index c93ac4e..0509b0c 100644 --- a/camel-core/src/main/docs/eips/enrich-eip.adoc +++ b/camel-core/src/main/docs/eips/enrich-eip.adoc @@ -8,7 +8,6 @@ image:http://www.enterpriseintegrationpatterns.com/img/DataEnricher.gif[image] // eip options: START The Enrich EIP supports 7 options which are listed below: - [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type diff --git a/camel-core/src/main/docs/eips/onFallback-eip.adoc b/camel-core/src/main/docs/eips/onFallback-eip.adoc index 4117703..74f58e1 100644 --- a/camel-core/src/main/docs/eips/onFallback-eip.adoc +++ b/camel-core/src/main/docs/eips/onFallback-eip.adoc @@ -10,7 +10,6 @@ Hystrix has many options as listed in the table above. For example to set a high // eip options: START The On Fallback EIP supports 1 options which are listed below: - [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type diff --git a/camel-core/src/main/docs/eips/pipeline-eip.adoc b/camel-core/src/main/docs/eips/pipeline-eip.adoc index 706d4fa..4f9e01c 100644 --- a/camel-core/src/main/docs/eips/pipeline-eip.adoc +++ b/camel-core/src/main/docs/eips/pipeline-eip.adoc @@ -13,7 +13,7 @@ together. == Options // eip options: START -The Pipeline EIP supports 0 options which are listed below: +The Pipeline EIP has no options. // eip options: END [[PipesandFilters-Samples]] diff --git a/camel-core/src/main/docs/eips/removeHeader-eip.adoc b/camel-core/src/main/docs/eips/removeHeader-eip.adoc index a89d6d2..09e2a79 100644 --- a/camel-core/src/main/docs/eips/removeHeader-eip.adoc +++ b/camel-core/src/main/docs/eips/removeHeader-eip.adoc @@ -7,7 +7,6 @@ The Remove Header EIP allows you to remove an header from your exchange. // eip options: START The Remove Header EIP supports 1 options which are listed below: - [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -- To stop receiving notification emails like this one, please contact davscl...@apache.org.
[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit ffa712f121a7eda7708762e0d774ad61aee391f7 Author: Claus IbsenAuthorDate: Tue Feb 6 17:49:26 2018 +0100 Regen docs --- components/readme.adoc | 5 - docs/user-manual/en/SUMMARY.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/readme.adoc b/components/readme.adoc index 5a98415..854c011 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -2,7 +2,7 @@ Components ^^ // components: START -Number of Components: 290 in 199 JAR artifacts (19 deprecated) +Number of Components: 291 in 200 JAR artifacts (19 deprecated) [width="100%",cols="4,1,5",options="header"] |=== @@ -233,6 +233,9 @@ Number of Components: 290 in 199 JAR artifacts (19 deprecated) | link:camel-elasticsearch-rest/src/main/docs/elasticsearch-rest-component.adoc[Elastichsearch Rest] (camel-elasticsearch-rest) + `elasticsearch-rest:clusterName` | 2.21 | The elasticsearch component is used for interfacing with ElasticSearch server using REST API. +| link:camel-elasticsearch5-rest/src/main/docs/elasticsearch5-rest-component.adoc[Elastichsearch5 Rest] (camel-elasticsearch5-rest) + +`elasticsearch5-rest:clusterName` | 2.21 | The elasticsearch component is used for interfacing with ElasticSearch server using 5.x REST API. + | link:camel-elasticsearch/src/main/docs/elasticsearch-component.adoc[Elasticsearch] (camel-elasticsearch) + `elasticsearch:clusterName` | 2.11 | *deprecated* The elasticsearch component is used for interfacing with ElasticSearch server. diff --git a/docs/user-manual/en/SUMMARY.md b/docs/user-manual/en/SUMMARY.md index cc0a2ca..4a3d38d 100644 --- a/docs/user-manual/en/SUMMARY.md +++ b/docs/user-manual/en/SUMMARY.md @@ -191,6 +191,7 @@ * [Ehcache](ehcache-component.adoc) * [EJB](ejb-component.adoc) * [Elastichsearch Rest](elasticsearch-rest-component.adoc) + * [Elastichsearch5 Rest](elasticsearch5-rest-component.adoc) * [Elasticsearch](elasticsearch-component.adoc) * [Elasticsearch5](elasticsearch5-component.adoc) * [ElSQL](elsql-component.adoc) -- To stop receiving notification emails like this one, please contact davscl...@apache.org.
[camel] 02/02: Regen docs
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit ce3fe3883479475579db2fb203a4b217bc50f627 Author: Claus IbsenAuthorDate: Tue Jan 16 18:43:20 2018 +0100 Regen docs --- camel-core/src/main/docs/eips/serviceCall-eip.adoc | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/camel-core/src/main/docs/eips/serviceCall-eip.adoc b/camel-core/src/main/docs/eips/serviceCall-eip.adoc index c3ade43..b904604 100644 --- a/camel-core/src/main/docs/eips/serviceCall-eip.adoc +++ b/camel-core/src/main/docs/eips/serviceCall-eip.adoc @@ -100,18 +100,18 @@ The Service Call EIP supports 14 options which are listed below: | Name | Description | Default | Type | *name* | *Required* Sets the name of the service to use | | String | *uri* | The uri of the endpoint to send to. The uri can be dynamic computed using the org.apache.camel.language.simple.SimpleLanguage expression. | | String -| *component* | The component to use | http4 | String +| *component* | The component to use. | http4 | String | *pattern* | Sets the optional ExchangePattern used to invoke this endpoint | | ExchangePattern | *configurationRef* | Refers to a ServiceCall configuration to use | | String -| *serviceDiscoveryRef* | Sets a reference to a custom ServiceDiscovery to use | | String -| *serviceFilterRef* | Sets a reference to a custom ServiceFilter to use | | String -| *serviceChooserRef* | Sets a reference to a custom ServiceChooser to use | | String -| *loadBalancerRef* | Sets a reference to a custom ServiceLoadBalancer to use | | String -| *expressionRef* | Set a reference to a custom Expression to use | | String -| *serviceDiscovery Configuration* | *Required* Configures the ServiceDiscovery using the given configuration | | ServiceCallService DiscoveryConfiguration -| *serviceFilterConfiguration* | *Required* Configures the ServiceFilter using the given configuration | | ServiceCallService FilterConfiguration -| *loadBalancerConfiguration* | *Required* Configures the LoadBalancer using the given configuration | | ServiceCallServiceLoad BalancerConfiguration -| *expressionConfiguration* | *Required* Configures the Expression using the given configuration | | ServiceCallExpression Configuration +| *serviceDiscoveryRef* | Sets a reference to a custom ServiceDiscovery to use. | | String +| *serviceFilterRef* | Sets a reference to a custom ServiceFilter to use. | | String +| *serviceChooserRef* | Sets a reference to a custom ServiceChooser to use. | | String +| *loadBalancerRef* | Sets a reference to a custom ServiceLoadBalancer to use. | | String +| *expressionRef* | Set a reference to a custom Expression to use. | | String +| *serviceDiscovery Configuration* | *Required* Configures the ServiceDiscovery using the given configuration. | | ServiceCallService DiscoveryConfiguration +| *serviceFilterConfiguration* | *Required* Configures the ServiceFilter using the given configuration. | | ServiceCallService FilterConfiguration +| *loadBalancerConfiguration* | *Required* Configures the LoadBalancer using the given configuration. | | ServiceCallServiceLoad BalancerConfiguration +| *expressionConfiguration* | *Required* Configures the Expression using the given configuration. | | ServiceCallExpression Configuration |=== // eip options: END -- To stop receiving notification emails like this one, please contact "commits@camel.apache.org" .
[camel] 02/02: Regen 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 fb05a9268ac83af81899ef16b5194b1df3b7853a Author: Andrea CosentinoAuthorDate: Fri Jan 12 10:44:57 2018 +0100 Regen docs --- components/camel-aws/src/main/docs/aws-s3-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-aws/src/main/docs/aws-s3-component.adoc b/components/camel-aws/src/main/docs/aws-s3-component.adoc index b6a5c39..cd3bec9 100644 --- a/components/camel-aws/src/main/docs/aws-s3-component.adoc +++ b/components/camel-aws/src/main/docs/aws-s3-component.adoc @@ -90,6 +90,7 @@ with the following path and query parameters: | *policy* (common) | The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3setBucketPolicy() method. | | String | *proxyHost* (common) | To define a proxy host when instantiating the SQS client | | String | *proxyPort* (common) | Specify a proxy port to be used inside the client definition. | | Integer +| *region* (common) | The region where the bucket is located. This option is used in the com.amazonaws.services.s3.model.CreateBucketRequest. | | String | *secretKey* (common) | Amazon AWS Secret Key | | String | *useEncryption* (common) | Define if encryption must be used or not | false | boolean | *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 @@ -108,7 +109,6 @@ with the following path and query parameters: | *multiPartUpload* (producer) | If it is true camel will upload the file with multi part format the part size is decided by the option of partSize | false | boolean | *operation* (producer) | The operation to do in case the user don't want to do only an upload | | S3Operations | *partSize* (producer) | Setup the partSize which is used in multi part upload the default size is 25M. | 26214400 | long -| *region* (producer) | The region where the bucket is located. This option is used in the com.amazonaws.services.s3.model.CreateBucketRequest. | | String | *serverSideEncryption* (producer) | Sets the server-side encryption algorithm when encrypting the object using AWS-managed keys. For example use AES256. | | String | *storageClass* (producer) | The storage class to set in the com.amazonaws.services.s3.model.PutObjectRequest request. | | String | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported). | false | boolean -- To stop receiving notification emails like this one, please contact "commits@camel.apache.org" .