You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/05/16 09:51:11 UTC
[20/50] [abbrv] camel git commit: Added {% raw %} and {% endraw %} in
the camel-package-maven-plugin mvel templates for endpoints and components
Added {% raw %} and {% endraw %} in the camel-package-maven-plugin mvel templates for endpoints and components
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b19515b3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b19515b3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b19515b3
Branch: refs/heads/kube-lb
Commit: b19515b391ac3391ac6e19a32a4f410914e5cf01
Parents: 4db1d2d
Author: Andrea Cosentino <an...@gmail.com>
Authored: Fri May 13 09:14:24 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon May 16 09:59:33 2016 +0200
----------------------------------------------------------------------
components/camel-nats/src/main/docs/nats.adoc | 4 ++++
.../src/main/resources/component-options.mvel | 2 ++
.../src/main/resources/endpoint-options.mvel | 2 ++
3 files changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/b19515b3/components/camel-nats/src/main/docs/nats.adoc
----------------------------------------------------------------------
diff --git a/components/camel-nats/src/main/docs/nats.adoc b/components/camel-nats/src/main/docs/nats.adoc
index ff2f512..af62e70 100644
--- a/components/camel-nats/src/main/docs/nats.adoc
+++ b/components/camel-nats/src/main/docs/nats.adoc
@@ -42,9 +42,11 @@ The Nats component has no options.
+
// endpoint options: START
The Nats component supports 18 endpoint options which are listed below:
+{% raw %}
[width="100%",cols="2s,1,1m,1m,5",options="header"]
|=======================================================================
| Name | Group | Default | Java Type | Description
@@ -67,10 +69,12 @@ The Nats component supports 18 endpoint options which are listed below:
| exchangePattern | advanced | InOnly | ExchangePattern | Sets the default exchange pattern when creating an exchange
| synchronous | advanced | false | boolean | Sets whether synchronous processing should be strictly used or Camel is allowed to use asynchronous processing (if supported).
|=======================================================================
+{% endraw %}
// endpoint options: END
+
[[NATS-Headers]]
Headers
^^^^^^^
http://git-wip-us.apache.org/repos/asf/camel/blob/b19515b3/tooling/maven/camel-package-maven-plugin/src/main/resources/component-options.mvel
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/resources/component-options.mvel b/tooling/maven/camel-package-maven-plugin/src/main/resources/component-options.mvel
index f2b0c1f..98b16c9 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/resources/component-options.mvel
+++ b/tooling/maven/camel-package-maven-plugin/src/main/resources/component-options.mvel
@@ -5,9 +5,11 @@ The @{title} component supports @{componentOptions.size()} options which are lis
@end{}
@if{!componentOptions.isEmpty()}
+{% raw %}
[width="100%",cols="2s,1m,8",options="header"]
|=======================================================================
| Name | Java Type | Description
@foreach{row : componentOptions}| @{row.name} | @{row.shortJavaType} | @{row.description}
@end{}|=======================================================================
+{% endraw %}
@end{}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/b19515b3/tooling/maven/camel-package-maven-plugin/src/main/resources/endpoint-options.mvel
----------------------------------------------------------------------
diff --git a/tooling/maven/camel-package-maven-plugin/src/main/resources/endpoint-options.mvel b/tooling/maven/camel-package-maven-plugin/src/main/resources/endpoint-options.mvel
index 0454f69..b3496a9 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/resources/endpoint-options.mvel
+++ b/tooling/maven/camel-package-maven-plugin/src/main/resources/endpoint-options.mvel
@@ -1,7 +1,9 @@
The @{title} component supports @{endpointOptions.size()} endpoint options which are listed below:
+{% raw %}
[width="100%",cols="2s,1,1m,1m,5",options="header"]
|=======================================================================
| Name | Group | Default | Java Type | Description
@foreach{row : endpointOptions}| @{row.name} | @{row.group} | @{row.defaultValue} | @{row.shortJavaType} | @{row.description}
@end{}|=======================================================================
+{% endraw %}