camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [41/50] [abbrv] camel git commit: Component docs
Date Mon, 16 May 2016 09:51:32 GMT
Component docs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0452b73e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0452b73e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0452b73e

Branch: refs/heads/kube-lb
Commit: 0452b73e038af6588a06cf48b25494a1134d9d53
Parents: 10c04b7
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sun May 15 10:45:55 2016 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon May 16 09:59:33 2016 +0200

----------------------------------------------------------------------
 components/camel-mllp/src/main/docs/mllp.adoc   | 22 ++++++++++++--------
 .../camel/component/mllp/MllpEndpoint.java      | 18 ++++++++--------
 2 files changed, 22 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0452b73e/components/camel-mllp/src/main/docs/mllp.adoc
----------------------------------------------------------------------
diff --git a/components/camel-mllp/src/main/docs/mllp.adoc b/components/camel-mllp/src/main/docs/mllp.adoc
index a59c026..c7ce0c3 100644
--- a/components/camel-mllp/src/main/docs/mllp.adoc
+++ b/components/camel-mllp/src/main/docs/mllp.adoc
@@ -49,6 +49,8 @@ The mllp component has no options.
 
 
 
+
+
 // endpoint options: START
 The mllp component supports 19 endpoint options which are listed below:
 
@@ -58,23 +60,23 @@ The mllp component supports 19 endpoint options which are listed below:
 | Name | Group | Default | Java Type | Description
 | hostname | common |  | String | *Required* Hostname or IP for connection for the TCP connection.
The default value is null which means any local IP address
 | port | common |  | int | *Required* Port number for the TCP connection
-| acceptTimeout | common | 60000 | int | Timeout value while waiting for a TCP connection
TCP Server Only
 | autoAck | common | true | boolean | Enable/Disable the automatic generation of a MLLP Acknowledgement
MLLP Consumers only
-| backlog | common | 5 | int | The maximum queue length for incoming connection indications
(a request to connect) is set to the backlog parameter. If a connection indication arrives
when the queue is full the connection is refused.
-| bindRetryInterval | common | 5000 | int | TCP Server Only - The number of milliseconds
to wait between bind attempts
-| bindTimeout | common | 30000 | int | TCP Server Only - The number of milliseconds to retry
binding to a server port
-| charsetName | common |  | String | Set the CamelCharsetName property on the exchange
-| connectTimeout | common | 30000 | int | Timeout value for establishing for a TCP connection
TCP Client only
 | keepAlive | common | true | boolean | Enable/disable the SO_KEEPALIVE socket option.
-| receiveBufferSize | common |  | Integer | Sets the SO_RCVBUF option to the specified value
-| receiveTimeout | common | 10000 | int | The SO_TIMEOUT value used when waiting for the
start of an MLLP frame
 | reuseAddress | common | false | boolean | Enable/disable the SO_REUSEADDR socket option.
-| sendBufferSize | common |  | Integer | Sets the SO_SNDBUF option to the specified value
 | tcpNoDelay | common | true | boolean | Enable/disable the TCP_NODELAY socket option.
 | bridgeErrorHandler | consumer | false | boolean | Allows for bridging the consumer to the
Camel routing Error Handler which mean any exceptions occurred while the consumer is trying
to pickup incoming messages or the likes will now be processed as a message and handled by
the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler
to deal with exceptions that will be logged at WARN/ERROR level and ignored.
 | exceptionHandler | consumer (advanced) |  | ExceptionHandler | To let the consumer use
a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options
is not in use. By default the consumer will deal with exceptions that will be logged at WARN/ERROR
level and ignored.
+| backlog | advanced | 5 | int | The maximum queue length for incoming connection indications
(a request to connect) is set to the backlog parameter. If a connection indication arrives
when the queue is full the connection is refused.
 | exchangePattern | advanced | InOnly | ExchangePattern | Sets the default exchange pattern
when creating an exchange
+| receiveBufferSize | advanced |  | Integer | Sets the SO_RCVBUF option to the specified
value
+| sendBufferSize | advanced |  | Integer | Sets the SO_SNDBUF option to the specified value
 | synchronous | advanced | false | boolean | Sets whether synchronous processing should be
strictly used or Camel is allowed to use asynchronous processing (if supported).
+| charsetName | codec |  | String | Set the CamelCharsetName property on the exchange
+| acceptTimeout | timeout | 60000 | int | Timeout value while waiting for a TCP connection
TCP Server Only
+| bindRetryInterval | timeout | 5000 | int | TCP Server Only - The number of milliseconds
to wait between bind attempts
+| bindTimeout | timeout | 30000 | int | TCP Server Only - The number of milliseconds to retry
binding to a server port
+| connectTimeout | timeout | 30000 | int | Timeout value for establishing for a TCP connection
TCP Client only
+| receiveTimeout | timeout | 10000 | int | The SO_TIMEOUT value used when waiting for the
start of an MLLP frame
 |=======================================================================
 {% endraw %}
 // endpoint options: END
@@ -82,6 +84,8 @@ The mllp component supports 19 endpoint options which are listed below:
 
 
 
+
+
 [[MLLP-MLLPConsumer]]
 MLLP Consumer
 ~~~~~~~~~~~~~

http://git-wip-us.apache.org/repos/asf/camel/blob/0452b73e/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpEndpoint.java
b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpEndpoint.java
index 81a2e97..77af53b 100644
--- a/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpEndpoint.java
+++ b/components/camel-mllp/src/main/java/org/apache/camel/component/mllp/MllpEndpoint.java
@@ -54,22 +54,22 @@ public class MllpEndpoint extends DefaultEndpoint {
     @UriPath @Metadata(required = "true")
     int port = -1;
 
-    @UriParam(defaultValue = "5")
+    @UriParam(label = "advanced", defaultValue = "5")
     int backlog = 5;
 
-    @UriParam(defaultValue = "30000")
+    @UriParam(label = "timeout", defaultValue = "30000")
     int bindTimeout = 30000;
 
-    @UriParam(defaultValue = "5000")
+    @UriParam(label = "timeout", defaultValue = "5000")
     int bindRetryInterval = 5000;
 
-    @UriParam(defaultValue = "60000")
+    @UriParam(label = "timeout", defaultValue = "60000")
     int acceptTimeout = 60000;
 
-    @UriParam(defaultValue = "30000")
+    @UriParam(label = "timeout", defaultValue = "30000")
     int connectTimeout = 30000;
 
-    @UriParam(defaultValue = "10000")
+    @UriParam(label = "timeout", defaultValue = "10000")
     int receiveTimeout = 10000;
 
     @UriParam(defaultValue = "true")
@@ -81,16 +81,16 @@ public class MllpEndpoint extends DefaultEndpoint {
     @UriParam
     boolean reuseAddress;
 
-    @UriParam
+    @UriParam(label = "advanced")
     Integer receiveBufferSize;
 
-    @UriParam
+    @UriParam(label = "advanced")
     Integer sendBufferSize;
 
     @UriParam(defaultValue = "true")
     boolean autoAck = true;
 
-    @UriParam
+    @UriParam(label = "codec")
     String charsetName;
 
     public MllpEndpoint(String uri, MllpComponent component) {


Mime
View raw message