This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch eip-doc in repository https://gitbox.apache.org/repos/asf/camel.git
commit 96be3b49dec443e4d6b61e957df9ad589a8c64c7 Author: Claus Ibsen <[email protected]> AuthorDate: Tue Feb 20 10:59:49 2024 +0100 CAMEL-20381: camel-core - EIP model should include which exchange properties they set when using the EIP. --- .../eips/partials/eip-exchangeProperties.adoc | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc b/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc new file mode 100644 index 00000000000..21c9c95eb9b --- /dev/null +++ b/core/camel-core-engine/src/main/docs/modules/eips/partials/eip-exchangeProperties.adoc @@ -0,0 +1,23 @@ +:tablespec: width="100%",cols="2,5a,^1,2",options="header" +:cellformats: '`[#_option_${path[2]}]*${path[2]}*` \ +|util.description(value) \ +|util.valueAsString(value.defaultValue) \ +|util.javaSimpleName(value.javaType)' +:requires: 'util=util/jsonpath-util.js' +include::jsonpathcount$example$json/{shortname}.json[queries='optioncount=nodes$.exchangeProperties[]'] + +ifeval::[{optioncount} == 0] +The {doctitle} eip has no exchange properties. +endif::[] +ifeval::[{optioncount} != 0] +The {doctitle} eip supports {optioncount} exchange properties, which are listed below. + + +[{tablespec}] +|=== +| Name | Description | Default | Type +|=== + +jsonpathTable::example$json/{shortname}.json['nodes$.exchangeProperties[]',{cellformats},{requires}] +endif::[] +
