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 2020/08/03 15:42:15 UTC

[camel] 03/04: Camel-AWS2-MQ: Added rebootBroker example

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 08e4d12eab8a20cd275807a057e6f7b764223843
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 3 17:40:30 2020 +0200

    Camel-AWS2-MQ: Added rebootBroker example
---
 components/camel-aws2-mq/src/main/docs/aws2-mq-component.adoc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/components/camel-aws2-mq/src/main/docs/aws2-mq-component.adoc b/components/camel-aws2-mq/src/main/docs/aws2-mq-component.adoc
index 8ddc1b2..efff789 100644
--- a/components/camel-aws2-mq/src/main/docs/aws2-mq-component.adoc
+++ b/components/camel-aws2-mq/src/main/docs/aws2-mq-component.adoc
@@ -205,6 +205,15 @@ from("direct:listBrokers")
     .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.