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 ae92838cd1bbab6d6ecebfb2399056ca1d24633b Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Aug 3 17:41:22 2020 +0200 Regen website docs --- .../modules/ROOT/pages/aws2-mq-component.adoc | 44 ++++++++++++++++++++++ .../ROOT/pages/azure-storage-blob-component.adoc | 6 ++- 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/aws2-mq-component.adoc b/docs/components/modules/ROOT/pages/aws2-mq-component.adoc index eb31c6d..da1a42f 100644 --- a/docs/components/modules/ROOT/pages/aws2-mq-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-mq-component.adoc @@ -172,6 +172,50 @@ from("direct:listBrokers") .to("aws2-mq://test?amazonMqClient=#amazonMqClient&operation=listBrokers") -------------------------------------------------------------------------------- +- createBroker: this operation will create an MQ Broker in AWS + +[source,java] +-------------------------------------------------------------------------------- +from("direct:createBroker") + .process(new Processor() { + @Override + public void process(Exchange exchange) throws Exception { + exchange.getIn().setHeader(MQ2Constants.BROKER_NAME, "test"); + exchange.getIn().setHeader(MQ2Constants.BROKER_DEPLOYMENT_MODE, DeploymentMode.SINGLE_INSTANCE); + exchange.getIn().setHeader(MQ2Constants.BROKER_INSTANCE_TYPE, "mq.t2.micro"); + exchange.getIn().setHeader(MQ2Constants.BROKER_ENGINE, EngineType.ACTIVEMQ.name()); + exchange.getIn().setHeader(MQ2Constants.BROKER_ENGINE_VERSION, "5.15.6"); + exchange.getIn().setHeader(MQ2Constants.BROKER_PUBLICLY_ACCESSIBLE, false); + List<User> users = new ArrayList<>(); + User.Builder user = User.builder(); + user.username("camel"); + user.password("camelpwd"); + users.add(user.build()); + exchange.getIn().setHeader(MQ2Constants.BROKER_USERS, users); + + } + }) + .to("aws2-mq://test?amazonMqClient=#amazonMqClient&operation=createBroker") +-------------------------------------------------------------------------------- + +- deleteBroker: this operation will delete an MQ Broker in AWS + +[source,java] +-------------------------------------------------------------------------------- +from("direct:listBrokers") + .setHeader(MQ2Constants.BROKER_ID, constant("123") + .to("aws2-mq://test?amazonMqClient=#amazonMqClient&operation=deleteBroker") +-------------------------------------------------------------------------------- + +- rebootBroker: this operation will delete an MQ Broker in AWS + +[source,java] +-------------------------------------------------------------------------------- +from("direct:listBrokers") + .setHeader(MQ2Constants.BROKER_ID, constant("123") + .to("aws2-mq://test?amazonMqClient=#amazonMqClient&operation=rebootBroker") +-------------------------------------------------------------------------------- + == Automatic detection of MqClient client in registry The component is capable of detecting the presence of an MqClient bean into the registry. diff --git a/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc b/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc index 018e660..18fd340 100644 --- a/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc +++ b/docs/components/modules/ROOT/pages/azure-storage-blob-component.adoc @@ -66,13 +66,14 @@ to("file://blobdirectory"); // component options: START -The Azure Storage Blob Service component supports 26 options, which are listed below. +The Azure Storage Blob Service component supports 27 options, which are listed below. [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *blobName* (common) | The blob name, required for consumer. However on producer, is only required for the operations on the blob level | | String | *blobOffset* (common) | Set the blob offset for the upload or download operations, default is 0 | 0 | long | *blobType* (common) | The blob type in order to initiate the appropriate settings for each blob type. The value can be one of: blockblob, appendblob, pageblob | blockblob | BlobType @@ -122,12 +123,13 @@ with the following path and query parameters: |=== -=== Query Parameters (29 parameters): +=== Query Parameters (30 parameters): [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type +| *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | boolean | *blobName* (common) | The blob name, required for consumer. However on producer, is only required for the operations on the blob level | | String | *blobOffset* (common) | Set the blob offset for the upload or download operations, default is 0 | 0 | long | *blobServiceClient* (common) | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through getBlobContainerClient(String), and operations on a blob are available [...]