camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [camel] 04/04: Polished component docs for camel-as2
Date Wed, 06 Jun 2018 07:27:31 GMT
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 fa0b5953e5f780de34acce09cf0f90009ca9211c
Author: Claus Ibsen <claus.ibsen@gmail.com>
AuthorDate: Wed Jun 6 09:27:08 2018 +0200

    Polished component docs for camel-as2
---
 .../camel-as2/camel-as2-component/src/main/docs/as2-component.adoc  | 6 +++---
 .../src/main/java/org/apache/camel/component/as2/AS2Endpoint.java   | 4 ++--
 components/readme.adoc                                              | 2 +-
 .../camel/component/as2/springboot/AS2ComponentConfiguration.java   | 3 ++-
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc b/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc
index a391ca2..6869634 100644
--- a/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc
+++ b/components/camel-as2/camel-as2-component/src/main/docs/as2-component.adoc
@@ -1,7 +1,7 @@
 [[as2-component]]
 == AS2 Component
 
-*Available as of Camel version *
+*Available as of Camel version 2.20*
 
 [source,xml]
 ------------------------------------------------------------
@@ -13,7 +13,7 @@
 </dependency>
 ------------------------------------------------------------
 
-### URI Options
+=== URI Options
 
 
 // component options: START
@@ -61,4 +61,4 @@ with the following path and query parameters:
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange.
|  | ExchangePattern
 | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used,
or Camel is allowed to use asynchronous processing (if supported). | false | boolean
 |===
-// endpoint options: END
+// endpoint options: END
\ No newline at end of file
diff --git a/components/camel-as2/camel-as2-component/src/main/java/org/apache/camel/component/as2/AS2Endpoint.java
b/components/camel-as2/camel-as2-component/src/main/java/org/apache/camel/component/as2/AS2Endpoint.java
index 2237469..5fbed2c 100644
--- a/components/camel-as2/camel-as2-component/src/main/java/org/apache/camel/component/as2/AS2Endpoint.java
+++ b/components/camel-as2/camel-as2-component/src/main/java/org/apache/camel/component/as2/AS2Endpoint.java
@@ -41,9 +41,9 @@ import org.apache.camel.util.component.ApiMethod;
 import org.apache.camel.util.component.ApiMethodPropertiesHelper;
 
 /**
- * Represents a AS2 endpoint.
+ * Component used for transferring data secure and reliable over the internet using the AS2
protocol.
  */
-@UriEndpoint(scheme = "as2", title = "AS2", syntax = "as2:name", consumerClass = AS2Consumer.class,
label = "AS2")
+@UriEndpoint(scheme = "as2", firstVersion = "2.20.0", title = "AS2", syntax = "as2:name",
consumerClass = AS2Consumer.class, label = "AS2")
 public class AS2Endpoint extends AbstractApiEndpoint<AS2ApiName, AS2Configuration>
{
 
     @UriPath @Metadata(required = "true")
diff --git a/components/readme.adoc b/components/readme.adoc
index f9cc5bc..87998fa 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -27,7 +27,7 @@ Number of Components: 296 in 203 JAR artifacts (20 deprecated)
 `apns:name` | 2.8 | For sending notifications to Apple iOS devices.
 
 | link:camel-as2/camel-as2-component/src/main/docs/as2-component.adoc[AS2] (camel-as2) +
-`as2:name` |  | Represents a AS2 endpoint.
+`as2:name` | 2.20 | Component used for transferring data secure and reliable over the internet
using the AS2 protocol.
 
 | link:camel-asterisk/src/main/docs/asterisk-component.adoc[Asterisk] (camel-asterisk) +
 `asterisk:name` | 2.18 | The asterisk component is used to interact with Asterisk PBX Server.
diff --git a/platforms/spring-boot/components-starter/camel-as2-starter/src/main/java/org/apache/camel/component/as2/springboot/AS2ComponentConfiguration.java
b/platforms/spring-boot/components-starter/camel-as2-starter/src/main/java/org/apache/camel/component/as2/springboot/AS2ComponentConfiguration.java
index 8c464c6..4c35cd8 100644
--- a/platforms/spring-boot/components-starter/camel-as2-starter/src/main/java/org/apache/camel/component/as2/springboot/AS2ComponentConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-as2-starter/src/main/java/org/apache/camel/component/as2/springboot/AS2ComponentConfiguration.java
@@ -27,7 +27,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
 import org.springframework.boot.context.properties.NestedConfigurationProperty;
 
 /**
- * Represents a AS2 endpoint.
+ * Component used for transferring data secure and reliable over the internet
+ * using the AS2 protocol.
  * 
  * Generated by camel-package-maven-plugin - do not edit this file!
  */

-- 
To stop receiving notification emails like this one, please contact
davsclaus@apache.org.

Mime
View raw message