You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/10/01 14:34:13 UTC

[camel] 03/04: Camel AWS MQ: Added sample code for AWS MQ Producer on 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 6f09360bd6d5ab1607aa2b100ceaebdc2c67a70c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Oct 1 16:31:58 2019 +0200

    Camel AWS MQ: Added sample code for AWS MQ Producer on docs
---
 components/camel-aws-mq/src/main/docs/aws-mq-component.adoc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/components/camel-aws-mq/src/main/docs/aws-mq-component.adoc b/components/camel-aws-mq/src/main/docs/aws-mq-component.adoc
index dd9f390..3d9db24 100644
--- a/components/camel-aws-mq/src/main/docs/aws-mq-component.adoc
+++ b/components/camel-aws-mq/src/main/docs/aws-mq-component.adoc
@@ -168,6 +168,16 @@ Camel-AWS MQ component provides the following operation on the producer side:
 - updateBroker
 - describeBroker
 
+== Producer Examples
+
+- listBrokers: this operation will list the available MQ Brokers in AWS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:listBrokers")
+    .to("aws-mq://test?amazonMqClient=#amazonMqClient&operation=listBrokers")
+--------------------------------------------------------------------------------
+
 == Automatic detection of AmazonMQ client in registry
 
 The component is capable of detecting the presence of an AmazonMQ bean into the registry.