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 486f306d7b08ea69b9acb53b869c7f9cf80d039e
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Sep 28 09:24:26 2020 +0200

    Camel-AWS2-Eventbridge: Regen docs
---
 .../camel/catalog/docs/aws2-eventbridge-component.adoc | 18 ++++++++++++++++++
 .../modules/ROOT/pages/aws2-eventbridge-component.adoc | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc
index d007b72..11995b2 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-eventbridge-component.adoc
@@ -131,6 +131,7 @@ Camel-AWS2-Eventbridge component provides the following 
operation on the produce
 - listRules
 - describeRule
 - listTargetsByRule
+- listRuleNamesByTarget
 
 - PutRule: this operation create a rule related to an eventbus
 
@@ -293,6 +294,23 @@ This operation will describe the firstrule rule from the 
test eventbus.
 
 this operation will return a list of targets associated with the firstrule 
rule.
 
+- ListRuleNamesByTarget: this operation will return a list of rule associated 
with a target
+
+[source,java]
+--------------------------------------------------------------------------------
+  from("direct:start").process(new Processor() {
+                    
+      @Override
+      public void process(Exchange exchange) throws Exception {
+          exchange.getIn().setHeader(EventbridgeConstants.TARGET_ARN, 
"firstrule");
+      }
+  })
+  .to("aws2-eventbridge://test?operation=listRuleNamesByTarget")
+  .to("mock:result");
+--------------------------------------------------------------------------------
+
+this operation will return a list of rule associated with a target.
+
 == Automatic detection of EventbridgeClient client in registry
 
 The component is capable of detecting the presence of an EventbridgeClient 
bean into the registry.
diff --git a/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc 
b/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc
index 4f30158..b0e24bd 100644
--- a/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-eventbridge-component.adoc
@@ -133,6 +133,7 @@ Camel-AWS2-Eventbridge component provides the following 
operation on the produce
 - listRules
 - describeRule
 - listTargetsByRule
+- listRuleNamesByTarget
 
 - PutRule: this operation create a rule related to an eventbus
 
@@ -295,6 +296,23 @@ This operation will describe the firstrule rule from the 
test eventbus.
 
 this operation will return a list of targets associated with the firstrule 
rule.
 
+- ListRuleNamesByTarget: this operation will return a list of rule associated 
with a target
+
+[source,java]
+--------------------------------------------------------------------------------
+  from("direct:start").process(new Processor() {
+                    
+      @Override
+      public void process(Exchange exchange) throws Exception {
+          exchange.getIn().setHeader(EventbridgeConstants.TARGET_ARN, 
"firstrule");
+      }
+  })
+  .to("aws2-eventbridge://test?operation=listRuleNamesByTarget")
+  .to("mock:result");
+--------------------------------------------------------------------------------
+
+this operation will return a list of rule associated with a target.
+
 == Automatic detection of EventbridgeClient client in registry
 
 The component is capable of detecting the presence of an EventbridgeClient 
bean into the registry.

Reply via email to