You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/12/16 17:02:51 UTC
[camel-karavan] branch main updated (4c17d43 -> ff9c46b)
This is an automated email from the ASF dual-hosted git repository.
marat pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
from 4c17d43 Turn on informers
new b3ce9d8 Spring-boot stuff for #561
new c1b1a56 Unused ui element
new ff9c46b Bump Camel to 3.20.0-SNAPSHOT
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
karavan-app/pom.xml | 2 +-
.../src/main/webui/src/projects/ProjectInfo.tsx | 2 -
karavan-builder/Dockerfile | 2 +-
karavan-cloud/AWS/karavan-quarkus-task-aws.yaml | 2 +-
karavan-core/src/core/api/CamelDefinitionApi.ts | 117 ++++++++--
.../src/core/api/CamelDefinitionYamlStep.ts | 169 ++++++++++++--
karavan-core/src/core/model/CamelDefinition.ts | 248 +++++++++++++++++----
karavan-core/src/core/model/CamelMetadata.ts | 173 ++++++++++++--
karavan-demo/jms-to-kafka/docs/README.md | 2 +-
karavan-generator/pom.xml | 2 +-
.../resources/quarkus-builder-script-kubernetes.sh | 2 +-
.../resources/quarkus-builder-script-openshift.sh | 2 +-
.../spring-boot-builder-script-kubernetes.sh | 4 +-
.../spring-boot-builder-script-openshift.sh | 4 +-
karavan-vscode/CHANGELOG.md | 1 +
karavan-vscode/README.md | 4 +-
karavan-vscode/package.json | 2 +-
17 files changed, 630 insertions(+), 108 deletions(-)
[camel-karavan] 03/03: Bump Camel to 3.20.0-SNAPSHOT
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit ff9c46bf98d066aa14056bc908f39fcc039471a6
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Fri Dec 16 11:56:50 2022 -0500
Bump Camel to 3.20.0-SNAPSHOT
---
karavan-app/pom.xml | 2 +-
karavan-builder/Dockerfile | 2 +-
karavan-cloud/AWS/karavan-quarkus-task-aws.yaml | 2 +-
karavan-core/src/core/api/CamelDefinitionApi.ts | 117 ++++++++--
.../src/core/api/CamelDefinitionYamlStep.ts | 169 ++++++++++++--
karavan-core/src/core/model/CamelDefinition.ts | 248 +++++++++++++++++----
karavan-core/src/core/model/CamelMetadata.ts | 173 ++++++++++++--
karavan-demo/jms-to-kafka/docs/README.md | 2 +-
karavan-generator/pom.xml | 2 +-
.../resources/quarkus-builder-script-kubernetes.sh | 2 +-
.../resources/quarkus-builder-script-openshift.sh | 2 +-
.../spring-boot-builder-script-kubernetes.sh | 2 +-
.../spring-boot-builder-script-openshift.sh | 2 +-
karavan-vscode/CHANGELOG.md | 1 +
karavan-vscode/README.md | 4 +-
karavan-vscode/package.json | 2 +-
16 files changed, 628 insertions(+), 104 deletions(-)
diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml
index 4d1325a..31f7290 100644
--- a/karavan-app/pom.xml
+++ b/karavan-app/pom.xml
@@ -31,7 +31,7 @@
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.13.5.Final</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
- <version.camel>3.18.4</version.camel>
+ <version.camel>3.20.0-SNAPSHOT</version.camel>
</properties>
<dependencyManagement>
<dependencies>
diff --git a/karavan-builder/Dockerfile b/karavan-builder/Dockerfile
index 0fedd97..efed25a 100644
--- a/karavan-builder/Dockerfile
+++ b/karavan-builder/Dockerfile
@@ -12,4 +12,4 @@ RUN mkdir /opt/mvnd && \
mv maven-mvnd-0.8.2-linux-amd64/* /opt/mvnd
WORKDIR /scripts
-ENTRYPOINT ["entrypoint", "-Dcamel.jbang.version=3.18.4", "camel@apache/camel"]
+ENTRYPOINT ["entrypoint", "-Dcamel.jbang.version=3.20.0-SNAPSHOT", "camel@apache/camel"]
diff --git a/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml b/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml
index 89fc26f..1094055 100644
--- a/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml
+++ b/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml
@@ -92,7 +92,7 @@ spec:
cd ${CHECKOUT_DIR}/$(inputs.params.project)
- entrypoint -Dcamel.jbang.version=3.18.4 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
+ entrypoint -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
export LAST_COMMIT=$(git rev-parse --short HEAD)
export DATE=$(date '+%Y%m%d%H%M%S')
diff --git a/karavan-core/src/core/api/CamelDefinitionApi.ts b/karavan-core/src/core/api/CamelDefinitionApi.ts
index 300aae6..54d5567 100644
--- a/karavan-core/src/core/api/CamelDefinitionApi.ts
+++ b/karavan-core/src/core/api/CamelDefinitionApi.ts
@@ -156,6 +156,8 @@ import {
ProtobufDataFormat,
RssDataFormat,
SoapDataFormat,
+ SwiftMtDataFormat,
+ SwiftMxDataFormat,
SyslogDataFormat,
TarFileDataFormat,
ThriftDataFormat,
@@ -172,9 +174,9 @@ import {
ZipFileDataFormat,
DeadLetterChannelDefinition,
DefaultErrorHandlerDefinition,
- ErrorHandlerRefDefinition,
JtaTransactionErrorHandlerDefinition,
NoErrorHandlerDefinition,
+ RefErrorHandlerDefinition,
SpringTransactionErrorHandlerDefinition,
CSimpleExpression,
ConstantExpression,
@@ -184,6 +186,7 @@ import {
GroovyExpression,
HeaderExpression,
Hl7TerserExpression,
+ JavaScriptExpression,
JoorExpression,
JqExpression,
JsonPathExpression,
@@ -191,6 +194,7 @@ import {
MethodCallExpression,
MvelExpression,
OgnlExpression,
+ PythonExpression,
RefExpression,
SimpleExpression,
SpELExpression,
@@ -455,11 +459,20 @@ export class CamelDefinitionApi {
if (element?.deadLetterChannel !== undefined) {
def.deadLetterChannel = CamelDefinitionApi.createDeadLetterChannelDefinition(element.deadLetterChannel);
}
- if (element?.log !== undefined) {
- def.log = CamelDefinitionApi.createDefaultErrorHandlerDefinition(element.log);
+ if (element?.noErrorHandler !== undefined) {
+ def.noErrorHandler = CamelDefinitionApi.createNoErrorHandlerDefinition(element.noErrorHandler);
+ }
+ if (element?.jtaTransactionErrorHandler !== undefined) {
+ def.jtaTransactionErrorHandler = CamelDefinitionApi.createJtaTransactionErrorHandlerDefinition(element.jtaTransactionErrorHandler);
}
- if (element?.none !== undefined) {
- def.none = CamelDefinitionApi.createNoErrorHandlerDefinition(element.none);
+ if (element?.defaultErrorHandler !== undefined) {
+ def.defaultErrorHandler = CamelDefinitionApi.createDefaultErrorHandlerDefinition(element.defaultErrorHandler);
+ }
+ if (element?.springTransactionErrorHandler !== undefined) {
+ def.springTransactionErrorHandler = CamelDefinitionApi.createSpringTransactionErrorHandlerDefinition(element.springTransactionErrorHandler);
+ }
+ if (element?.refErrorHandler !== undefined) {
+ def.refErrorHandler = CamelDefinitionApi.createRefErrorHandlerDefinition(element.refErrorHandler);
}
return def;
@@ -653,6 +666,9 @@ export class CamelDefinitionApi {
if (element?.ognl !== undefined) {
def.ognl = CamelDefinitionApi.createOgnlExpression(element.ognl);
}
+ if (element?.python !== undefined) {
+ def.python = CamelDefinitionApi.createPythonExpression(element.python);
+ }
if (element?.constant !== undefined) {
def.constant = CamelDefinitionApi.createConstantExpression(element.constant);
}
@@ -671,6 +687,9 @@ export class CamelDefinitionApi {
if (element?.jq !== undefined) {
def.jq = CamelDefinitionApi.createJqExpression(element.jq);
}
+ if (element?.js !== undefined) {
+ def.js = CamelDefinitionApi.createJavaScriptExpression(element.js);
+ }
if (element?.language !== undefined) {
def.language = CamelDefinitionApi.createLanguageExpression(element.language);
}
@@ -969,12 +988,18 @@ export class CamelDefinitionApi {
if (element?.flatpack !== undefined) {
def.flatpack = CamelDefinitionApi.createFlatpackDataFormat(element.flatpack);
}
+ if (element?.swiftMx !== undefined) {
+ def.swiftMx = CamelDefinitionApi.createSwiftMxDataFormat(element.swiftMx);
+ }
if (element?.cbor !== undefined) {
def.cbor = CamelDefinitionApi.createCBORDataFormat(element.cbor);
}
if (element?.crypto !== undefined) {
def.crypto = CamelDefinitionApi.createCryptoDataFormat(element.crypto);
}
+ if (element?.swiftMt !== undefined) {
+ def.swiftMt = CamelDefinitionApi.createSwiftMtDataFormat(element.swiftMt);
+ }
if (element?.univocityTsv !== undefined) {
def.univocityTsv = CamelDefinitionApi.createUniVocityTsvDataFormat(element.univocityTsv);
}
@@ -1656,12 +1681,18 @@ export class CamelDefinitionApi {
if (element?.flatpack !== undefined) {
def.flatpack = CamelDefinitionApi.createFlatpackDataFormat(element.flatpack);
}
+ if (element?.swiftMx !== undefined) {
+ def.swiftMx = CamelDefinitionApi.createSwiftMxDataFormat(element.swiftMx);
+ }
if (element?.cbor !== undefined) {
def.cbor = CamelDefinitionApi.createCBORDataFormat(element.cbor);
}
if (element?.crypto !== undefined) {
def.crypto = CamelDefinitionApi.createCryptoDataFormat(element.crypto);
}
+ if (element?.swiftMt !== undefined) {
+ def.swiftMt = CamelDefinitionApi.createSwiftMtDataFormat(element.swiftMt);
+ }
if (element?.univocityTsv !== undefined) {
def.univocityTsv = CamelDefinitionApi.createUniVocityTsvDataFormat(element.univocityTsv);
}
@@ -2220,12 +2251,18 @@ export class CamelDefinitionApi {
if (element?.flatpack !== undefined) {
def.flatpack = CamelDefinitionApi.createFlatpackDataFormat(element.flatpack);
}
+ if (element?.swiftMx !== undefined) {
+ def.swiftMx = CamelDefinitionApi.createSwiftMxDataFormat(element.swiftMx);
+ }
if (element?.cbor !== undefined) {
def.cbor = CamelDefinitionApi.createCBORDataFormat(element.cbor);
}
if (element?.crypto !== undefined) {
def.crypto = CamelDefinitionApi.createCryptoDataFormat(element.crypto);
}
+ if (element?.swiftMt !== undefined) {
+ def.swiftMt = CamelDefinitionApi.createSwiftMtDataFormat(element.swiftMt);
+ }
if (element?.univocityTsv !== undefined) {
def.univocityTsv = CamelDefinitionApi.createUniVocityTsvDataFormat(element.univocityTsv);
}
@@ -2399,6 +2436,22 @@ export class CamelDefinitionApi {
return def;
}
+ static createSwiftMtDataFormat = (element: any): SwiftMtDataFormat => {
+
+ const def = element ? new SwiftMtDataFormat({...element}) : new SwiftMtDataFormat();
+ def.uuid = element?.uuid ? element.uuid : def.uuid;
+
+ return def;
+ }
+
+ static createSwiftMxDataFormat = (element: any): SwiftMxDataFormat => {
+
+ const def = element ? new SwiftMxDataFormat({...element}) : new SwiftMxDataFormat();
+ def.uuid = element?.uuid ? element.uuid : def.uuid;
+
+ return def;
+ }
+
static createSyslogDataFormat = (element: any): SyslogDataFormat => {
const def = element ? new SyslogDataFormat({...element}) : new SyslogDataFormat();
@@ -2541,14 +2594,6 @@ export class CamelDefinitionApi {
return def;
}
- static createErrorHandlerRefDefinition = (element: any): ErrorHandlerRefDefinition => {
-
- const def = element ? new ErrorHandlerRefDefinition({...element}) : new ErrorHandlerRefDefinition();
- def.uuid = element?.uuid ? element.uuid : def.uuid;
-
- return def;
- }
-
static createJtaTransactionErrorHandlerDefinition = (element: any): JtaTransactionErrorHandlerDefinition => {
const def = element ? new JtaTransactionErrorHandlerDefinition({...element}) : new JtaTransactionErrorHandlerDefinition();
@@ -2568,6 +2613,14 @@ export class CamelDefinitionApi {
return def;
}
+ static createRefErrorHandlerDefinition = (element: any): RefErrorHandlerDefinition => {
+ if (element && typeof element === 'string') element = {ref: element};
+ const def = element ? new RefErrorHandlerDefinition({...element}) : new RefErrorHandlerDefinition();
+ def.uuid = element?.uuid ? element.uuid : def.uuid;
+
+ return def;
+ }
+
static createSpringTransactionErrorHandlerDefinition = (element: any): SpringTransactionErrorHandlerDefinition => {
const def = element ? new SpringTransactionErrorHandlerDefinition({...element}) : new SpringTransactionErrorHandlerDefinition();
@@ -2618,6 +2671,9 @@ export class CamelDefinitionApi {
if (element?.ognl !== undefined) {
def.ognl = CamelDefinitionApi.createOgnlExpression(element.ognl);
}
+ if (element?.python !== undefined) {
+ def.python = CamelDefinitionApi.createPythonExpression(element.python);
+ }
if (element?.constant !== undefined) {
def.constant = CamelDefinitionApi.createConstantExpression(element.constant);
}
@@ -2636,6 +2692,9 @@ export class CamelDefinitionApi {
if (element?.jq !== undefined) {
def.jq = CamelDefinitionApi.createJqExpression(element.jq);
}
+ if (element?.js !== undefined) {
+ def.js = CamelDefinitionApi.createJavaScriptExpression(element.js);
+ }
if (element?.language !== undefined) {
def.language = CamelDefinitionApi.createLanguageExpression(element.language);
}
@@ -2706,6 +2765,14 @@ export class CamelDefinitionApi {
return def;
}
+ static createJavaScriptExpression = (element: any): JavaScriptExpression => {
+ if (element && typeof element === 'string') element = {expression: element};
+ const def = element ? new JavaScriptExpression({...element}) : new JavaScriptExpression();
+ def.uuid = element?.uuid ? element.uuid : def.uuid;
+
+ return def;
+ }
+
static createJoorExpression = (element: any): JoorExpression => {
if (element && typeof element === 'string') element = {expression: element};
const def = element ? new JoorExpression({...element}) : new JoorExpression();
@@ -2762,6 +2829,14 @@ export class CamelDefinitionApi {
return def;
}
+ static createPythonExpression = (element: any): PythonExpression => {
+ if (element && typeof element === 'string') element = {expression: element};
+ const def = element ? new PythonExpression({...element}) : new PythonExpression();
+ def.uuid = element?.uuid ? element.uuid : def.uuid;
+
+ return def;
+ }
+
static createRefExpression = (element: any): RefExpression => {
if (element && typeof element === 'string') element = {expression: element};
const def = element ? new RefExpression({...element}) : new RefExpression();
@@ -3203,12 +3278,18 @@ export class CamelDefinitionApi {
if (element?.flatpack !== undefined) {
def.flatpack = CamelDefinitionApi.createFlatpackDataFormat(element.flatpack);
}
+ if (element?.swiftMx !== undefined) {
+ def.swiftMx = CamelDefinitionApi.createSwiftMxDataFormat(element.swiftMx);
+ }
if (element?.cbor !== undefined) {
def.cbor = CamelDefinitionApi.createCBORDataFormat(element.cbor);
}
if (element?.crypto !== undefined) {
def.crypto = CamelDefinitionApi.createCryptoDataFormat(element.crypto);
}
+ if (element?.swiftMt !== undefined) {
+ def.swiftMt = CamelDefinitionApi.createSwiftMtDataFormat(element.swiftMt);
+ }
if (element?.univocityTsv !== undefined) {
def.univocityTsv = CamelDefinitionApi.createUniVocityTsvDataFormat(element.univocityTsv);
}
@@ -3469,6 +3550,8 @@ export class CamelDefinitionApi {
case 'ProtobufDataFormat': return CamelDefinitionApi.createProtobufDataFormat(newBody);
case 'RssDataFormat': return CamelDefinitionApi.createRssDataFormat(newBody);
case 'SoapDataFormat': return CamelDefinitionApi.createSoapDataFormat(newBody);
+ case 'SwiftMtDataFormat': return CamelDefinitionApi.createSwiftMtDataFormat(newBody);
+ case 'SwiftMxDataFormat': return CamelDefinitionApi.createSwiftMxDataFormat(newBody);
case 'SyslogDataFormat': return CamelDefinitionApi.createSyslogDataFormat(newBody);
case 'TarFileDataFormat': return CamelDefinitionApi.createTarFileDataFormat(newBody);
case 'ThriftDataFormat': return CamelDefinitionApi.createThriftDataFormat(newBody);
@@ -3485,9 +3568,9 @@ export class CamelDefinitionApi {
case 'ZipFileDataFormat': return CamelDefinitionApi.createZipFileDataFormat(newBody);
case 'DeadLetterChannelDefinition': return CamelDefinitionApi.createDeadLetterChannelDefinition(newBody);
case 'DefaultErrorHandlerDefinition': return CamelDefinitionApi.createDefaultErrorHandlerDefinition(newBody);
- case 'ErrorHandlerRefDefinition': return CamelDefinitionApi.createErrorHandlerRefDefinition(newBody);
case 'JtaTransactionErrorHandlerDefinition': return CamelDefinitionApi.createJtaTransactionErrorHandlerDefinition(newBody);
case 'NoErrorHandlerDefinition': return CamelDefinitionApi.createNoErrorHandlerDefinition(newBody);
+ case 'RefErrorHandlerDefinition': return CamelDefinitionApi.createRefErrorHandlerDefinition(newBody);
case 'SpringTransactionErrorHandlerDefinition': return CamelDefinitionApi.createSpringTransactionErrorHandlerDefinition(newBody);
case 'CSimpleExpression': return CamelDefinitionApi.createCSimpleExpression(newBody);
case 'ConstantExpression': return CamelDefinitionApi.createConstantExpression(newBody);
@@ -3497,6 +3580,7 @@ export class CamelDefinitionApi {
case 'GroovyExpression': return CamelDefinitionApi.createGroovyExpression(newBody);
case 'HeaderExpression': return CamelDefinitionApi.createHeaderExpression(newBody);
case 'Hl7TerserExpression': return CamelDefinitionApi.createHl7TerserExpression(newBody);
+ case 'JavaScriptExpression': return CamelDefinitionApi.createJavaScriptExpression(newBody);
case 'JoorExpression': return CamelDefinitionApi.createJoorExpression(newBody);
case 'JqExpression': return CamelDefinitionApi.createJqExpression(newBody);
case 'JsonPathExpression': return CamelDefinitionApi.createJsonPathExpression(newBody);
@@ -3504,6 +3588,7 @@ export class CamelDefinitionApi {
case 'MethodCallExpression': return CamelDefinitionApi.createMethodCallExpression(newBody);
case 'MvelExpression': return CamelDefinitionApi.createMvelExpression(newBody);
case 'OgnlExpression': return CamelDefinitionApi.createOgnlExpression(newBody);
+ case 'PythonExpression': return CamelDefinitionApi.createPythonExpression(newBody);
case 'RefExpression': return CamelDefinitionApi.createRefExpression(newBody);
case 'SimpleExpression': return CamelDefinitionApi.createSimpleExpression(newBody);
case 'SpELExpression': return CamelDefinitionApi.createSpELExpression(newBody);
@@ -3566,7 +3651,9 @@ export class CamelDefinitionApi {
case 'MethodCallExpression': return CamelDefinitionApi.createMethodCallExpression(newBody);
case 'LanguageExpression': return CamelDefinitionApi.createLanguageExpression(newBody);
case 'ExchangePropertyExpression': return CamelDefinitionApi.createExchangePropertyExpression(newBody);
+ case 'JavaScriptExpression': return CamelDefinitionApi.createJavaScriptExpression(newBody);
case 'OgnlExpression': return CamelDefinitionApi.createOgnlExpression(newBody);
+ case 'PythonExpression': return CamelDefinitionApi.createPythonExpression(newBody);
case 'XQueryExpression': return CamelDefinitionApi.createXQueryExpression(newBody);
case 'HeaderExpression': return CamelDefinitionApi.createHeaderExpression(newBody);
case 'CSimpleExpression': return CamelDefinitionApi.createCSimpleExpression(newBody);
@@ -3618,6 +3705,7 @@ export class CamelDefinitionApi {
case 'ASN1DataFormat': return CamelDefinitionApi.createASN1DataFormat(newBody);
case 'XStreamDataFormat': return CamelDefinitionApi.createXStreamDataFormat(newBody);
case 'YAMLDataFormat': return CamelDefinitionApi.createYAMLDataFormat(newBody);
+ case 'SwiftMxDataFormat': return CamelDefinitionApi.createSwiftMxDataFormat(newBody);
case 'CustomDataFormat': return CamelDefinitionApi.createCustomDataFormat(newBody);
case 'HL7DataFormat': return CamelDefinitionApi.createHL7DataFormat(newBody);
case 'Base64DataFormat': return CamelDefinitionApi.createBase64DataFormat(newBody);
@@ -3626,6 +3714,7 @@ export class CamelDefinitionApi {
case 'UniVocityCsvDataFormat': return CamelDefinitionApi.createUniVocityCsvDataFormat(newBody);
case 'SyslogDataFormat': return CamelDefinitionApi.createSyslogDataFormat(newBody);
case 'FhirXmlDataFormat': return CamelDefinitionApi.createFhirXmlDataFormat(newBody);
+ case 'SwiftMtDataFormat': return CamelDefinitionApi.createSwiftMtDataFormat(newBody);
default: return new JsonDataFormat(newBody);
}
}
diff --git a/karavan-core/src/core/api/CamelDefinitionYamlStep.ts b/karavan-core/src/core/api/CamelDefinitionYamlStep.ts
index 54ce210..943acbe 100644
--- a/karavan-core/src/core/api/CamelDefinitionYamlStep.ts
+++ b/karavan-core/src/core/api/CamelDefinitionYamlStep.ts
@@ -157,6 +157,8 @@ import {
ProtobufDataFormat,
RssDataFormat,
SoapDataFormat,
+ SwiftMtDataFormat,
+ SwiftMxDataFormat,
SyslogDataFormat,
TarFileDataFormat,
ThriftDataFormat,
@@ -173,9 +175,9 @@ import {
ZipFileDataFormat,
DeadLetterChannelDefinition,
DefaultErrorHandlerDefinition,
- ErrorHandlerRefDefinition,
JtaTransactionErrorHandlerDefinition,
NoErrorHandlerDefinition,
+ RefErrorHandlerDefinition,
SpringTransactionErrorHandlerDefinition,
CSimpleExpression,
ConstantExpression,
@@ -185,6 +187,7 @@ import {
GroovyExpression,
HeaderExpression,
Hl7TerserExpression,
+ JavaScriptExpression,
JoorExpression,
JqExpression,
JsonPathExpression,
@@ -192,6 +195,7 @@ import {
MethodCallExpression,
MvelExpression,
OgnlExpression,
+ PythonExpression,
RefExpression,
SimpleExpression,
SpELExpression,
@@ -714,18 +718,39 @@ export class CamelDefinitionYamlStep {
def.deadLetterChannel = CamelDefinitionYamlStep.readDeadLetterChannelDefinition(element.deadLetterChannel);
}
}
- if (element?.log !== undefined) {
- if (Array.isArray(element.log)) {
- def.log = CamelDefinitionYamlStep.readDefaultErrorHandlerDefinition(element.log[0]);
+ if (element?.noErrorHandler !== undefined) {
+ if (Array.isArray(element.noErrorHandler)) {
+ def.noErrorHandler = CamelDefinitionYamlStep.readNoErrorHandlerDefinition(element.noErrorHandler[0]);
+ } else {
+ def.noErrorHandler = CamelDefinitionYamlStep.readNoErrorHandlerDefinition(element.noErrorHandler);
+ }
+ }
+ if (element?.jtaTransactionErrorHandler !== undefined) {
+ if (Array.isArray(element.jtaTransactionErrorHandler)) {
+ def.jtaTransactionErrorHandler = CamelDefinitionYamlStep.readJtaTransactionErrorHandlerDefinition(element.jtaTransactionErrorHandler[0]);
} else {
- def.log = CamelDefinitionYamlStep.readDefaultErrorHandlerDefinition(element.log);
+ def.jtaTransactionErrorHandler = CamelDefinitionYamlStep.readJtaTransactionErrorHandlerDefinition(element.jtaTransactionErrorHandler);
+ }
+ }
+ if (element?.defaultErrorHandler !== undefined) {
+ if (Array.isArray(element.defaultErrorHandler)) {
+ def.defaultErrorHandler = CamelDefinitionYamlStep.readDefaultErrorHandlerDefinition(element.defaultErrorHandler[0]);
+ } else {
+ def.defaultErrorHandler = CamelDefinitionYamlStep.readDefaultErrorHandlerDefinition(element.defaultErrorHandler);
}
}
- if (element?.none !== undefined) {
- if (Array.isArray(element.none)) {
- def.none = CamelDefinitionYamlStep.readNoErrorHandlerDefinition(element.none[0]);
+ if (element?.springTransactionErrorHandler !== undefined) {
+ if (Array.isArray(element.springTransactionErrorHandler)) {
+ def.springTransactionErrorHandler = CamelDefinitionYamlStep.readSpringTransactionErrorHandlerDefinition(element.springTransactionErrorHandler[0]);
} else {
- def.none = CamelDefinitionYamlStep.readNoErrorHandlerDefinition(element.none);
+ def.springTransactionErrorHandler = CamelDefinitionYamlStep.readSpringTransactionErrorHandlerDefinition(element.springTransactionErrorHandler);
+ }
+ }
+ if (element?.refErrorHandler !== undefined) {
+ if (Array.isArray(element.refErrorHandler)) {
+ def.refErrorHandler = CamelDefinitionYamlStep.readRefErrorHandlerDefinition(element.refErrorHandler[0]);
+ } else {
+ def.refErrorHandler = CamelDefinitionYamlStep.readRefErrorHandlerDefinition(element.refErrorHandler);
}
}
@@ -997,6 +1022,13 @@ export class CamelDefinitionYamlStep {
def.ognl = CamelDefinitionYamlStep.readOgnlExpression(element.ognl);
}
}
+ if (element?.python !== undefined) {
+ if (Array.isArray(element.python)) {
+ def.python = CamelDefinitionYamlStep.readPythonExpression(element.python[0]);
+ } else {
+ def.python = CamelDefinitionYamlStep.readPythonExpression(element.python);
+ }
+ }
if (element?.constant !== undefined) {
if (Array.isArray(element.constant)) {
def.constant = CamelDefinitionYamlStep.readConstantExpression(element.constant[0]);
@@ -1039,6 +1071,13 @@ export class CamelDefinitionYamlStep {
def.jq = CamelDefinitionYamlStep.readJqExpression(element.jq);
}
}
+ if (element?.js !== undefined) {
+ if (Array.isArray(element.js)) {
+ def.js = CamelDefinitionYamlStep.readJavaScriptExpression(element.js[0]);
+ } else {
+ def.js = CamelDefinitionYamlStep.readJavaScriptExpression(element.js);
+ }
+ }
if (element?.language !== undefined) {
if (Array.isArray(element.language)) {
def.language = CamelDefinitionYamlStep.readLanguageExpression(element.language[0]);
@@ -1537,6 +1576,13 @@ export class CamelDefinitionYamlStep {
def.flatpack = CamelDefinitionYamlStep.readFlatpackDataFormat(element.flatpack);
}
}
+ if (element?.swiftMx !== undefined) {
+ if (Array.isArray(element.swiftMx)) {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx[0]);
+ } else {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx);
+ }
+ }
if (element?.cbor !== undefined) {
if (Array.isArray(element.cbor)) {
def.cbor = CamelDefinitionYamlStep.readCBORDataFormat(element.cbor[0]);
@@ -1551,6 +1597,13 @@ export class CamelDefinitionYamlStep {
def.crypto = CamelDefinitionYamlStep.readCryptoDataFormat(element.crypto);
}
}
+ if (element?.swiftMt !== undefined) {
+ if (Array.isArray(element.swiftMt)) {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt[0]);
+ } else {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt);
+ }
+ }
if (element?.univocityTsv !== undefined) {
if (Array.isArray(element.univocityTsv)) {
def.univocityTsv = CamelDefinitionYamlStep.readUniVocityTsvDataFormat(element.univocityTsv[0]);
@@ -2505,6 +2558,13 @@ export class CamelDefinitionYamlStep {
def.flatpack = CamelDefinitionYamlStep.readFlatpackDataFormat(element.flatpack);
}
}
+ if (element?.swiftMx !== undefined) {
+ if (Array.isArray(element.swiftMx)) {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx[0]);
+ } else {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx);
+ }
+ }
if (element?.cbor !== undefined) {
if (Array.isArray(element.cbor)) {
def.cbor = CamelDefinitionYamlStep.readCBORDataFormat(element.cbor[0]);
@@ -2519,6 +2579,13 @@ export class CamelDefinitionYamlStep {
def.crypto = CamelDefinitionYamlStep.readCryptoDataFormat(element.crypto);
}
}
+ if (element?.swiftMt !== undefined) {
+ if (Array.isArray(element.swiftMt)) {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt[0]);
+ } else {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt);
+ }
+ }
if (element?.univocityTsv !== undefined) {
if (Array.isArray(element.univocityTsv)) {
def.univocityTsv = CamelDefinitionYamlStep.readUniVocityTsvDataFormat(element.univocityTsv[0]);
@@ -3396,6 +3463,13 @@ export class CamelDefinitionYamlStep {
def.flatpack = CamelDefinitionYamlStep.readFlatpackDataFormat(element.flatpack);
}
}
+ if (element?.swiftMx !== undefined) {
+ if (Array.isArray(element.swiftMx)) {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx[0]);
+ } else {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx);
+ }
+ }
if (element?.cbor !== undefined) {
if (Array.isArray(element.cbor)) {
def.cbor = CamelDefinitionYamlStep.readCBORDataFormat(element.cbor[0]);
@@ -3410,6 +3484,13 @@ export class CamelDefinitionYamlStep {
def.crypto = CamelDefinitionYamlStep.readCryptoDataFormat(element.crypto);
}
}
+ if (element?.swiftMt !== undefined) {
+ if (Array.isArray(element.swiftMt)) {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt[0]);
+ } else {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt);
+ }
+ }
if (element?.univocityTsv !== undefined) {
if (Array.isArray(element.univocityTsv)) {
def.univocityTsv = CamelDefinitionYamlStep.readUniVocityTsvDataFormat(element.univocityTsv[0]);
@@ -3610,6 +3691,20 @@ export class CamelDefinitionYamlStep {
return def;
}
+ static readSwiftMtDataFormat = (element: any): SwiftMtDataFormat => {
+
+ const def = element ? new SwiftMtDataFormat({...element}) : new SwiftMtDataFormat();
+
+ return def;
+ }
+
+ static readSwiftMxDataFormat = (element: any): SwiftMxDataFormat => {
+
+ const def = element ? new SwiftMxDataFormat({...element}) : new SwiftMxDataFormat();
+
+ return def;
+ }
+
static readSyslogDataFormat = (element: any): SyslogDataFormat => {
const def = element ? new SyslogDataFormat({...element}) : new SyslogDataFormat();
@@ -3744,13 +3839,6 @@ export class CamelDefinitionYamlStep {
return def;
}
- static readErrorHandlerRefDefinition = (element: any): ErrorHandlerRefDefinition => {
-
- const def = element ? new ErrorHandlerRefDefinition({...element}) : new ErrorHandlerRefDefinition();
-
- return def;
- }
-
static readJtaTransactionErrorHandlerDefinition = (element: any): JtaTransactionErrorHandlerDefinition => {
const def = element ? new JtaTransactionErrorHandlerDefinition({...element}) : new JtaTransactionErrorHandlerDefinition();
@@ -3772,6 +3860,13 @@ export class CamelDefinitionYamlStep {
return def;
}
+ static readRefErrorHandlerDefinition = (element: any): RefErrorHandlerDefinition => {
+ if (element && typeof element === 'string') element = {ref: element};
+ const def = element ? new RefErrorHandlerDefinition({...element}) : new RefErrorHandlerDefinition();
+
+ return def;
+ }
+
static readSpringTransactionErrorHandlerDefinition = (element: any): SpringTransactionErrorHandlerDefinition => {
const def = element ? new SpringTransactionErrorHandlerDefinition({...element}) : new SpringTransactionErrorHandlerDefinition();
@@ -3824,6 +3919,13 @@ export class CamelDefinitionYamlStep {
def.ognl = CamelDefinitionYamlStep.readOgnlExpression(element.ognl);
}
}
+ if (element?.python !== undefined) {
+ if (Array.isArray(element.python)) {
+ def.python = CamelDefinitionYamlStep.readPythonExpression(element.python[0]);
+ } else {
+ def.python = CamelDefinitionYamlStep.readPythonExpression(element.python);
+ }
+ }
if (element?.constant !== undefined) {
if (Array.isArray(element.constant)) {
def.constant = CamelDefinitionYamlStep.readConstantExpression(element.constant[0]);
@@ -3866,6 +3968,13 @@ export class CamelDefinitionYamlStep {
def.jq = CamelDefinitionYamlStep.readJqExpression(element.jq);
}
}
+ if (element?.js !== undefined) {
+ if (Array.isArray(element.js)) {
+ def.js = CamelDefinitionYamlStep.readJavaScriptExpression(element.js[0]);
+ } else {
+ def.js = CamelDefinitionYamlStep.readJavaScriptExpression(element.js);
+ }
+ }
if (element?.language !== undefined) {
if (Array.isArray(element.language)) {
def.language = CamelDefinitionYamlStep.readLanguageExpression(element.language[0]);
@@ -3989,6 +4098,13 @@ export class CamelDefinitionYamlStep {
return def;
}
+ static readJavaScriptExpression = (element: any): JavaScriptExpression => {
+ if (element && typeof element === 'string') element = {expression: element};
+ const def = element ? new JavaScriptExpression({...element}) : new JavaScriptExpression();
+
+ return def;
+ }
+
static readJoorExpression = (element: any): JoorExpression => {
if (element && typeof element === 'string') element = {expression: element};
const def = element ? new JoorExpression({...element}) : new JoorExpression();
@@ -4038,6 +4154,13 @@ export class CamelDefinitionYamlStep {
return def;
}
+ static readPythonExpression = (element: any): PythonExpression => {
+ if (element && typeof element === 'string') element = {expression: element};
+ const def = element ? new PythonExpression({...element}) : new PythonExpression();
+
+ return def;
+ }
+
static readRefExpression = (element: any): RefExpression => {
if (element && typeof element === 'string') element = {expression: element};
const def = element ? new RefExpression({...element}) : new RefExpression();
@@ -4577,6 +4700,13 @@ export class CamelDefinitionYamlStep {
def.flatpack = CamelDefinitionYamlStep.readFlatpackDataFormat(element.flatpack);
}
}
+ if (element?.swiftMx !== undefined) {
+ if (Array.isArray(element.swiftMx)) {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx[0]);
+ } else {
+ def.swiftMx = CamelDefinitionYamlStep.readSwiftMxDataFormat(element.swiftMx);
+ }
+ }
if (element?.cbor !== undefined) {
if (Array.isArray(element.cbor)) {
def.cbor = CamelDefinitionYamlStep.readCBORDataFormat(element.cbor[0]);
@@ -4591,6 +4721,13 @@ export class CamelDefinitionYamlStep {
def.crypto = CamelDefinitionYamlStep.readCryptoDataFormat(element.crypto);
}
}
+ if (element?.swiftMt !== undefined) {
+ if (Array.isArray(element.swiftMt)) {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt[0]);
+ } else {
+ def.swiftMt = CamelDefinitionYamlStep.readSwiftMtDataFormat(element.swiftMt);
+ }
+ }
if (element?.univocityTsv !== undefined) {
if (Array.isArray(element.univocityTsv)) {
def.univocityTsv = CamelDefinitionYamlStep.readUniVocityTsvDataFormat(element.univocityTsv[0]);
diff --git a/karavan-core/src/core/model/CamelDefinition.ts b/karavan-core/src/core/model/CamelDefinition.ts
index 4a89b78..e4686fd 100644
--- a/karavan-core/src/core/model/CamelDefinition.ts
+++ b/karavan-core/src/core/model/CamelDefinition.ts
@@ -86,9 +86,11 @@ export class BeansDeserializer extends CamelElement {
export class ErrorHandlerBuilderDeserializer extends CamelElement {
deadLetterChannel?: DeadLetterChannelDefinition;
- ref?: string;
- log?: DefaultErrorHandlerDefinition;
- none?: NoErrorHandlerDefinition
+ noErrorHandler?: NoErrorHandlerDefinition;
+ jtaTransactionErrorHandler?: JtaTransactionErrorHandlerDefinition;
+ defaultErrorHandler?: DefaultErrorHandlerDefinition;
+ springTransactionErrorHandler?: SpringTransactionErrorHandlerDefinition;
+ refErrorHandler?: RefErrorHandlerDefinition | string
public constructor(init?: Partial<ErrorHandlerBuilderDeserializer>) {
super('ErrorHandlerBuilderDeserializer')
Object.assign(this, init)
@@ -131,6 +133,7 @@ export class AggregateDefinition extends CamelElement {
stepName?: string = 'aggregate';
completionInterval?: string;
parallelProcessing?: boolean;
+ disabled?: boolean;
id?: string;
completionPredicate?: ExpressionSubElementDefinition;
aggregationStrategyMethodAllowNull?: boolean;
@@ -163,6 +166,7 @@ export class BeanDefinition extends CamelElement {
stepName?: string = 'bean';
scope?: string;
description?: string;
+ disabled?: boolean;
id?: string;
beanType?: string
public constructor(init?: Partial<BeanDefinition>) {
@@ -177,6 +181,7 @@ export class CatchDefinition extends CamelElement {
stepName?: string = 'doCatch';
onWhen?: WhenDefinition;
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<CatchDefinition>) {
@@ -190,6 +195,7 @@ export class ChoiceDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'choice';
description?: string;
+ disabled?: boolean;
id?: string;
precondition?: boolean;
when?: WhenDefinition[] = []
@@ -207,6 +213,7 @@ export class CircuitBreakerDefinition extends CamelElement {
resilience4jConfiguration?: Resilience4jConfigurationDefinition;
onFallback?: OnFallbackDefinition;
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<CircuitBreakerDefinition>) {
@@ -221,6 +228,7 @@ export class ClaimCheckDefinition extends CamelElement {
aggregationStrategy?: string;
stepName?: string = 'claimCheck';
description?: string;
+ disabled?: boolean;
id?: string;
aggregationStrategyMethodName?: string;
operation: string = '';
@@ -247,6 +255,7 @@ export class ConvertBodyDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'convertBodyTo';
description?: string;
+ disabled?: boolean;
id?: string;
type: string = '';
mandatory?: boolean
@@ -273,6 +282,7 @@ export class DelayDefinition extends CamelElement {
executorService?: string;
asyncDelayed?: boolean;
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<DelayDefinition>) {
super('DelayDefinition')
@@ -298,6 +308,7 @@ export class DynamicRouterDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'dynamicRouter';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<DynamicRouterDefinition>) {
super('DynamicRouterDefinition')
@@ -315,6 +326,7 @@ export class EnrichDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'enrich';
ignoreInvalidEndpoint?: boolean;
+ disabled?: boolean;
id?: string;
aggregateOnException?: boolean;
aggregationStrategyMethodAllowNull?: string;
@@ -341,12 +353,14 @@ export class ErrorHandlerDefinition extends CamelElement {
export class ExpressionSubElementDefinition extends CamelElement {
ognl?: OgnlExpression | string;
+ python?: PythonExpression | string;
constant?: ConstantExpression | string;
mvel?: MvelExpression | string;
method?: MethodCallExpression | string;
xquery?: XQueryExpression | string;
datasonnet?: DatasonnetExpression | string;
jq?: JqExpression | string;
+ js?: JavaScriptExpression | string;
language?: LanguageExpression;
simple?: SimpleExpression | string;
hl7terser?: Hl7TerserExpression | string;
@@ -395,6 +409,7 @@ export class FilterDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'filter';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = [];
statusPropertyName?: string
@@ -408,6 +423,7 @@ export class FinallyDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'doFinally';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<FinallyDefinition>) {
@@ -458,6 +474,7 @@ export class IdempotentConsumerDefinition extends CamelElement {
idempotentRepository: string = '';
description?: string;
removeOnFailure?: boolean;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<IdempotentConsumerDefinition>) {
@@ -470,6 +487,7 @@ export class InOnlyDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'inOnly';
description?: string;
+ disabled?: boolean;
id?: string;
parameters?: any = {};
uri: string = ''
@@ -483,6 +501,7 @@ export class InOutDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'inOut';
description?: string;
+ disabled?: boolean;
id?: string;
parameters?: any = {};
uri: string = ''
@@ -508,6 +527,7 @@ export class InterceptDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'intercept';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<InterceptDefinition>) {
@@ -520,6 +540,7 @@ export class InterceptFromDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'interceptFrom';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = [];
uri?: string
@@ -534,6 +555,7 @@ export class InterceptSendToEndpointDefinition extends CamelElement {
afterUri?: string;
stepName?: string = 'interceptSendToEndpoint';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = [];
uri: string = '';
@@ -556,18 +578,19 @@ export class KameletDefinition extends CamelElement {
}
export class LoadBalanceDefinition extends CamelElement {
+ customLoadBalancer?: CustomLoadBalancerDefinition | string;
+ description?: string;
+ steps?: CamelElement[] = [];
+ roundRobin?: RoundRobinLoadBalancerDefinition;
random?: RandomLoadBalancerDefinition;
inheritErrorHandler?: boolean;
- customLoadBalancer?: CustomLoadBalancerDefinition | string;
stepName?: string = 'loadBalance';
failover?: FailoverLoadBalancerDefinition;
sticky?: StickyLoadBalancerDefinition;
- description?: string;
topic?: TopicLoadBalancerDefinition;
+ disabled?: boolean;
id?: string;
- steps?: CamelElement[] = [];
- weighted?: WeightedLoadBalancerDefinition;
- roundRobin?: RoundRobinLoadBalancerDefinition
+ weighted?: WeightedLoadBalancerDefinition
public constructor(init?: Partial<LoadBalanceDefinition>) {
super('LoadBalanceDefinition')
Object.assign(this, init)
@@ -581,6 +604,7 @@ export class LogDefinition extends CamelElement {
marker?: string;
logger?: string;
description?: string;
+ disabled?: boolean;
id?: string;
message: string = '';
loggingLevel?: string
@@ -597,6 +621,7 @@ export class LoopDefinition extends CamelElement {
doWhile?: boolean;
description?: string;
breakOnShutdown?: boolean;
+ disabled?: boolean;
copy?: boolean;
id?: string;
steps?: CamelElement[] = []
@@ -627,6 +652,7 @@ export class MarshalDefinition extends CamelElement {
thrift?: ThriftDataFormat | string;
json?: JsonDataFormat;
lzf?: LZFDataFormat;
+ disabled?: boolean;
id?: string;
fhirXml?: FhirXmlDataFormat;
barcode?: BarcodeDataFormat;
@@ -636,8 +662,10 @@ export class MarshalDefinition extends CamelElement {
any23?: Any23DataFormat | string;
custom?: CustomDataFormat | string;
flatpack?: FlatpackDataFormat;
+ swiftMx?: SwiftMxDataFormat;
cbor?: CBORDataFormat;
crypto?: CryptoDataFormat;
+ swiftMt?: SwiftMtDataFormat | string;
univocityTsv?: UniVocityTsvDataFormat;
hl7?: HL7DataFormat;
inheritErrorHandler?: boolean;
@@ -669,6 +697,7 @@ export class MulticastDefinition extends CamelElement {
stepName?: string = 'multicast';
stopOnException?: boolean;
parallelProcessing?: boolean;
+ disabled?: boolean;
id?: string;
parallelAggregate?: boolean;
aggregationStrategyMethodAllowNull?: boolean;
@@ -680,17 +709,18 @@ export class MulticastDefinition extends CamelElement {
}
export class OnCompletionDefinition extends CamelElement {
+ executorService?: string;
+ description?: string;
+ useOriginalMessage?: boolean;
+ steps?: CamelElement[] = [];
mode?: string;
inheritErrorHandler?: boolean;
onCompleteOnly?: boolean;
stepName?: string = 'onCompletion';
- executorService?: string;
parallelProcessing?: boolean;
onWhen?: WhenDefinition;
- description?: string;
+ disabled?: boolean;
id?: string;
- useOriginalMessage?: boolean;
- steps?: CamelElement[] = [];
onFailureOnly?: boolean
public constructor(init?: Partial<OnCompletionDefinition>) {
super('OnCompletionDefinition')
@@ -712,6 +742,7 @@ export class OnExceptionDefinition extends CamelElement {
useOriginalBody?: boolean;
handled?: ExpressionSubElementDefinition;
onWhen?: WhenDefinition;
+ disabled?: boolean;
id?: string;
onExceptionOccurredRef?: string;
redeliveryPolicyRef?: string
@@ -726,6 +757,7 @@ export class OnFallbackDefinition extends CamelElement {
stepName?: string = 'onFallback';
fallbackViaNetwork?: boolean;
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<OnFallbackDefinition>) {
@@ -751,6 +783,7 @@ export class OtherwiseDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'otherwise';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<OtherwiseDefinition>) {
@@ -763,6 +796,7 @@ export class OutputDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'output';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<OutputDefinition>) {
@@ -800,6 +834,7 @@ export class PausableDefinition extends CamelElement {
stepName?: string = 'pausable';
consumerListener: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<PausableDefinition>) {
super('PausableDefinition')
@@ -811,6 +846,7 @@ export class PipelineDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'pipeline';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<PipelineDefinition>) {
@@ -824,6 +860,7 @@ export class PolicyDefinition extends CamelElement {
ref: string = '';
stepName?: string = 'policy';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<PolicyDefinition>) {
@@ -833,17 +870,18 @@ export class PolicyDefinition extends CamelElement {
}
export class PollEnrichDefinition extends CamelElement {
- inheritErrorHandler?: boolean;
aggregationStrategy?: string;
cacheSize?: number;
expression?: ExpressionDefinition;
+ description?: string;
+ aggregationStrategyMethodName?: string;
+ timeout?: string;
+ inheritErrorHandler?: boolean;
stepName?: string = 'pollEnrich';
ignoreInvalidEndpoint?: boolean;
- description?: string;
+ disabled?: boolean;
id?: string;
aggregateOnException?: boolean;
- aggregationStrategyMethodName?: string;
- timeout?: string;
aggregationStrategyMethodAllowNull?: string
public constructor(init?: Partial<PollEnrichDefinition>) {
super('PollEnrichDefinition')
@@ -856,6 +894,7 @@ export class ProcessDefinition extends CamelElement {
ref: string = '';
stepName?: string = 'process';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<ProcessDefinition>) {
super('ProcessDefinition')
@@ -899,6 +938,7 @@ export class RecipientListDefinition extends CamelElement {
stopOnException?: boolean;
delimiter?: string;
parallelProcessing?: boolean;
+ disabled?: boolean;
id?: string;
parallelAggregate?: boolean;
aggregationStrategyMethodAllowNull?: boolean;
@@ -947,6 +987,7 @@ export class RemoveHeaderDefinition extends CamelElement {
stepName?: string = 'removeHeader';
name: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<RemoveHeaderDefinition>) {
super('RemoveHeaderDefinition')
@@ -960,6 +1001,7 @@ export class RemoveHeadersDefinition extends CamelElement {
excludePattern?: string;
pattern: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<RemoveHeadersDefinition>) {
super('RemoveHeadersDefinition')
@@ -973,6 +1015,7 @@ export class RemovePropertiesDefinition extends CamelElement {
excludePattern?: string;
pattern: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<RemovePropertiesDefinition>) {
super('RemovePropertiesDefinition')
@@ -985,6 +1028,7 @@ export class RemovePropertyDefinition extends CamelElement {
stepName?: string = 'removeProperty';
name: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<RemovePropertyDefinition>) {
super('RemovePropertyDefinition')
@@ -998,6 +1042,7 @@ export class ResequenceDefinition extends CamelElement {
expression: ExpressionDefinition = new ExpressionDefinition();
stepName?: string = 'resequence';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = [];
batchConfig?: BatchResequencerConfig
@@ -1044,6 +1089,7 @@ export class ResumableDefinition extends CamelElement {
resumeStrategy: string = '';
intermittent?: boolean;
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<ResumableDefinition>) {
super('ResumableDefinition')
@@ -1056,6 +1102,7 @@ export class RollbackDefinition extends CamelElement {
stepName?: string = 'rollback';
markRollbackOnly?: boolean;
description?: string;
+ disabled?: boolean;
id?: string;
message?: string;
markRollbackOnlyLast?: boolean
@@ -1116,6 +1163,7 @@ export class RouteDefinition extends CamelElement {
precondition?: string;
autoStartup?: boolean;
trace?: boolean;
+ nodePrefixId?: string;
stepName?: string = 'route';
messageHistory?: boolean;
from: FromDefinition = new FromDefinition();
@@ -1177,6 +1225,7 @@ export class RoutingSlipDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'routingSlip';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<RoutingSlipDefinition>) {
super('RoutingSlipDefinition')
@@ -1188,6 +1237,7 @@ export class SagaActionUriDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'sagaActionUri';
description?: string;
+ disabled?: boolean;
id?: string;
parameters?: any = {};
uri: string = ''
@@ -1199,16 +1249,17 @@ export class SagaActionUriDefinition extends CamelElement {
export class SagaDefinition extends CamelElement {
completion?: string;
- inheritErrorHandler?: boolean;
- propagation?: string;
- stepName?: string = 'saga';
description?: string;
- compensation?: string;
completionMode?: string;
sagaService?: string;
- id?: string;
steps?: CamelElement[] = [];
timeout?: string;
+ inheritErrorHandler?: boolean;
+ propagation?: string;
+ stepName?: string = 'saga';
+ compensation?: string;
+ disabled?: boolean;
+ id?: string;
option?: PropertyExpressionDefinition[] = []
public constructor(init?: Partial<SagaDefinition>) {
super('SagaDefinition')
@@ -1221,6 +1272,7 @@ export class SamplingDefinition extends CamelElement {
stepName?: string = 'sample';
description?: string;
messageFrequency?: number;
+ disabled?: boolean;
id?: string;
samplePeriod?: string
public constructor(init?: Partial<SamplingDefinition>) {
@@ -1234,6 +1286,7 @@ export class ScriptDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'script';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<ScriptDefinition>) {
super('ScriptDefinition')
@@ -1246,6 +1299,7 @@ export class SetBodyDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'setBody';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<SetBodyDefinition>) {
super('SetBodyDefinition')
@@ -1258,6 +1312,7 @@ export class SetExchangePatternDefinition extends CamelElement {
stepName?: string = 'setExchangePattern';
pattern: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<SetExchangePatternDefinition>) {
super('SetExchangePatternDefinition')
@@ -1271,6 +1326,7 @@ export class SetHeaderDefinition extends CamelElement {
stepName?: string = 'setHeader';
name: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<SetHeaderDefinition>) {
super('SetHeaderDefinition')
@@ -1284,6 +1340,7 @@ export class SetPropertyDefinition extends CamelElement {
stepName?: string = 'setProperty';
name: string = '';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<SetPropertyDefinition>) {
super('SetPropertyDefinition')
@@ -1297,6 +1354,7 @@ export class SortDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'sort';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<SortDefinition>) {
super('SortDefinition')
@@ -1319,6 +1377,7 @@ export class SplitDefinition extends CamelElement {
stopOnException?: boolean;
delimiter?: string;
parallelProcessing?: boolean;
+ disabled?: boolean;
id?: string;
parallelAggregate?: boolean;
aggregationStrategyMethodAllowNull?: boolean;
@@ -1333,6 +1392,7 @@ export class StepDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'step';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<StepDefinition>) {
@@ -1345,6 +1405,7 @@ export class StopDefinition extends CamelElement {
inheritErrorHandler?: boolean;
stepName?: string = 'stop';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<StopDefinition>) {
super('StopDefinition')
@@ -1371,7 +1432,8 @@ export class TemplatedRouteDefinition extends CamelElement {
stepName?: string = 'templatedRoute';
beans?: NamedBeanDefinition[] = [];
parameters?: TemplatedRouteParameterDefinition[] = [];
- routeTemplateRef: string = ''
+ routeTemplateRef: string = '';
+ prefixId?: string
public constructor(init?: Partial<TemplatedRouteDefinition>) {
super('TemplatedRouteDefinition')
Object.assign(this, init)
@@ -1418,6 +1480,7 @@ export class ThreadsDefinition extends CamelElement {
stepName?: string = 'threads';
maxQueueSize?: number;
allowCoreThreadTimeOut?: boolean;
+ disabled?: boolean;
id?: string;
maxPoolSize?: number;
timeUnit?: string
@@ -1438,6 +1501,7 @@ export class ThrottleDefinition extends CamelElement {
description?: string;
rejectExecution?: boolean;
correlationExpression?: ExpressionSubElementDefinition;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<ThrottleDefinition>) {
super('ThrottleDefinition')
@@ -1451,6 +1515,7 @@ export class ThrowExceptionDefinition extends CamelElement {
ref?: string;
stepName?: string = 'throwException';
description?: string;
+ disabled?: boolean;
id?: string;
message?: string
public constructor(init?: Partial<ThrowExceptionDefinition>) {
@@ -1464,6 +1529,7 @@ export class ToDefinition extends CamelElement {
stepName?: string = 'to';
pattern?: string;
description?: string;
+ disabled?: boolean;
id?: string;
parameters?: any = {};
uri: string = ''
@@ -1481,6 +1547,7 @@ export class ToDynamicDefinition extends CamelElement {
autoStartComponents?: boolean;
pattern?: string;
description?: string;
+ disabled?: boolean;
id?: string;
allowOptimisedComponents?: boolean;
parameters?: any = {};
@@ -1496,6 +1563,7 @@ export class TransactedDefinition extends CamelElement {
ref?: string;
stepName?: string = 'transacted';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<TransactedDefinition>) {
@@ -1509,6 +1577,7 @@ export class TransformDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'transform';
description?: string;
+ disabled?: boolean;
id?: string
public constructor(init?: Partial<TransformDefinition>) {
super('TransformDefinition')
@@ -1522,6 +1591,7 @@ export class TryDefinition extends CamelElement {
stepName?: string = 'doTry';
doCatch?: CatchDefinition[] = [];
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<TryDefinition>) {
@@ -1551,6 +1621,7 @@ export class UnmarshalDefinition extends CamelElement {
thrift?: ThriftDataFormat | string;
json?: JsonDataFormat;
lzf?: LZFDataFormat;
+ disabled?: boolean;
id?: string;
fhirXml?: FhirXmlDataFormat;
barcode?: BarcodeDataFormat;
@@ -1561,8 +1632,10 @@ export class UnmarshalDefinition extends CamelElement {
any23?: Any23DataFormat | string;
custom?: CustomDataFormat | string;
flatpack?: FlatpackDataFormat;
+ swiftMx?: SwiftMxDataFormat;
cbor?: CBORDataFormat;
crypto?: CryptoDataFormat;
+ swiftMt?: SwiftMtDataFormat | string;
univocityTsv?: UniVocityTsvDataFormat;
hl7?: HL7DataFormat;
inheritErrorHandler?: boolean;
@@ -1586,6 +1659,7 @@ export class ValidateDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'validate';
description?: string;
+ disabled?: boolean;
id?: string;
predicateExceptionFactory?: string
public constructor(init?: Partial<ValidateDefinition>) {
@@ -1599,6 +1673,7 @@ export class WhenDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'when';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<WhenDefinition>) {
@@ -1612,6 +1687,7 @@ export class WhenSkipSendToEndpointDefinition extends CamelElement {
expression?: ExpressionDefinition;
stepName?: string = 'whenSkipSendToEndpoint';
description?: string;
+ disabled?: boolean;
id?: string;
steps?: CamelElement[] = []
public constructor(init?: Partial<WhenSkipSendToEndpointDefinition>) {
@@ -1633,6 +1709,7 @@ export class WireTapDefinition extends CamelElement {
stepName?: string = 'wireTap';
ignoreInvalidEndpoint?: boolean;
autoStartComponents?: boolean;
+ disabled?: boolean;
copy?: boolean;
id?: string;
parameters?: any = {}
@@ -1830,6 +1907,7 @@ export class ServiceCallDefinition extends CamelElement {
healthyServiceFilter?: HealthyServiceCallServiceFilterConfiguration;
stepName?: string = 'serviceCall';
serviceChooserRef?: string;
+ disabled?: boolean;
consulServiceDiscovery?: ConsulServiceCallServiceDiscoveryConfiguration;
id?: string;
defaultLoadBalancer?: DefaultServiceCallServiceLoadBalancerConfiguration;
@@ -2160,8 +2238,10 @@ export class DataFormatsDefinition extends CamelElement {
any23?: Any23DataFormat | string;
custom?: CustomDataFormat | string;
flatpack?: FlatpackDataFormat;
+ swiftMx?: SwiftMxDataFormat;
cbor?: CBORDataFormat;
crypto?: CryptoDataFormat;
+ swiftMt?: SwiftMtDataFormat | string;
univocityTsv?: UniVocityTsvDataFormat;
hl7?: HL7DataFormat;
jsonApi?: JsonApiDataFormat;
@@ -2478,6 +2558,29 @@ export class SoapDataFormat extends CamelElement {
}
}
+export class SwiftMtDataFormat extends CamelElement {
+ dataFormatName?: string = 'swiftMt';
+ writeInJson?: boolean;
+ id?: string
+ public constructor(init?: Partial<SwiftMtDataFormat>) {
+ super('SwiftMtDataFormat')
+ Object.assign(this, init)
+ }
+}
+
+export class SwiftMxDataFormat extends CamelElement {
+ dataFormatName?: string = 'swiftMx';
+ readMessageId?: string;
+ writeInJson?: boolean;
+ writeConfigRef?: string;
+ id?: string;
+ readConfigRef?: string
+ public constructor(init?: Partial<SwiftMxDataFormat>) {
+ super('SwiftMxDataFormat')
+ Object.assign(this, init)
+ }
+}
+
export class SyslogDataFormat extends CamelElement {
dataFormatName?: string = 'syslog';
id?: string
@@ -2747,16 +2850,6 @@ export class DefaultErrorHandlerDefinition extends CamelElement {
}
}
-export class ErrorHandlerRefDefinition extends CamelElement {
- ref: string = '';
- stepName?: string = 'errorHandlerRef';
- id?: string
- public constructor(init?: Partial<ErrorHandlerRefDefinition>) {
- super('ErrorHandlerRefDefinition')
- Object.assign(this, init)
- }
-}
-
export class JtaTransactionErrorHandlerDefinition extends CamelElement {
executorServiceRef?: string;
redeliveryPolicy?: RedeliveryPolicyDefinition;
@@ -2789,6 +2882,16 @@ export class NoErrorHandlerDefinition extends CamelElement {
}
}
+export class RefErrorHandlerDefinition extends CamelElement {
+ ref: string = '';
+ stepName?: string = 'refErrorHandler';
+ id?: string
+ public constructor(init?: Partial<RefErrorHandlerDefinition>) {
+ super('RefErrorHandlerDefinition')
+ Object.assign(this, init)
+ }
+}
+
export class SpringTransactionErrorHandlerDefinition extends CamelElement {
executorServiceRef?: string;
redeliveryPolicy?: RedeliveryPolicyDefinition;
@@ -2863,12 +2966,14 @@ export class ExchangePropertyExpression extends CamelElement {
export class ExpressionDefinition extends CamelElement {
ognl?: OgnlExpression | string;
+ python?: PythonExpression | string;
constant?: ConstantExpression | string;
mvel?: MvelExpression | string;
method?: MethodCallExpression | string;
xquery?: XQueryExpression | string;
datasonnet?: DatasonnetExpression | string;
jq?: JqExpression | string;
+ js?: JavaScriptExpression | string;
language?: LanguageExpression;
simple?: SimpleExpression | string;
hl7terser?: Hl7TerserExpression | string;
@@ -2894,7 +2999,8 @@ export class GroovyExpression extends CamelElement {
expression: string = '';
trim?: boolean;
expressionName?: string = 'groovy';
- id?: string
+ id?: string;
+ resultType?: string
public constructor(init?: Partial<GroovyExpression>) {
super('GroovyExpression')
Object.assign(this, init)
@@ -2914,15 +3020,30 @@ export class HeaderExpression extends CamelElement {
export class Hl7TerserExpression extends CamelElement {
expression: string = '';
+ headerName?: string;
trim?: boolean;
+ propertyName?: string;
expressionName?: string = 'hl7terser';
- id?: string
+ id?: string;
+ resultType?: string
public constructor(init?: Partial<Hl7TerserExpression>) {
super('Hl7TerserExpression')
Object.assign(this, init)
}
}
+export class JavaScriptExpression extends CamelElement {
+ expression: string = '';
+ trim?: boolean;
+ expressionName?: string = 'js';
+ id?: string;
+ resultType?: string
+ public constructor(init?: Partial<JavaScriptExpression>) {
+ super('JavaScriptExpression')
+ Object.assign(this, init)
+ }
+}
+
export class JoorExpression extends CamelElement {
preCompile?: boolean;
expression: string = '';
@@ -2941,6 +3062,7 @@ export class JqExpression extends CamelElement {
expression: string = '';
headerName?: string;
trim?: boolean;
+ propertyName?: string;
expressionName?: string = 'jq';
id?: string;
resultType?: string
@@ -2953,14 +3075,15 @@ export class JqExpression extends CamelElement {
export class JsonPathExpression extends CamelElement {
expression: string = '';
headerName?: string;
- trim?: boolean;
expressionName?: string = 'jsonpath';
- unpackArray?: boolean;
writeAsString?: boolean;
- id?: string;
- allowSimple?: boolean;
suppressExceptions?: boolean;
allowEasyPredicate?: boolean;
+ trim?: boolean;
+ propertyName?: string;
+ unpackArray?: boolean;
+ id?: string;
+ allowSimple?: boolean;
resultType?: string;
option?: string
public constructor(init?: Partial<JsonPathExpression>) {
@@ -2988,6 +3111,7 @@ export class MethodCallExpression extends CamelElement {
expressionName?: string = 'method';
scope?: string;
id?: string;
+ resultType?: string;
beanType?: string
public constructor(init?: Partial<MethodCallExpression>) {
super('MethodCallExpression')
@@ -2999,7 +3123,8 @@ export class MvelExpression extends CamelElement {
expression: string = '';
trim?: boolean;
expressionName?: string = 'mvel';
- id?: string
+ id?: string;
+ resultType?: string
public constructor(init?: Partial<MvelExpression>) {
super('MvelExpression')
Object.assign(this, init)
@@ -3010,18 +3135,32 @@ export class OgnlExpression extends CamelElement {
expression: string = '';
trim?: boolean;
expressionName?: string = 'ognl';
- id?: string
+ id?: string;
+ resultType?: string
public constructor(init?: Partial<OgnlExpression>) {
super('OgnlExpression')
Object.assign(this, init)
}
}
+export class PythonExpression extends CamelElement {
+ expression: string = '';
+ trim?: boolean;
+ expressionName?: string = 'python';
+ id?: string;
+ resultType?: string
+ public constructor(init?: Partial<PythonExpression>) {
+ super('PythonExpression')
+ Object.assign(this, init)
+ }
+}
+
export class RefExpression extends CamelElement {
expression: string = '';
trim?: boolean;
expressionName?: string = 'ref';
- id?: string
+ id?: string;
+ resultType?: string
public constructor(init?: Partial<RefExpression>) {
super('RefExpression')
Object.assign(this, init)
@@ -3044,7 +3183,8 @@ export class SpELExpression extends CamelElement {
expression: string = '';
trim?: boolean;
expressionName?: string = 'spel';
- id?: string
+ id?: string;
+ resultType?: string
public constructor(init?: Partial<SpELExpression>) {
super('SpELExpression')
Object.assign(this, init)
@@ -3062,6 +3202,7 @@ export class TokenizerExpression extends CamelElement {
regex?: boolean;
includeTokens?: boolean;
trim?: boolean;
+ propertyName?: string;
xml?: boolean;
id?: string;
group?: string
@@ -3075,6 +3216,7 @@ export class XMLTokenizerExpression extends CamelElement {
mode?: string;
headerName?: string;
trim?: boolean;
+ propertyName?: string;
expressionName?: string = 'xtokenize';
namespace?: PropertyDefinition[] = [];
id?: string;
@@ -3095,6 +3237,7 @@ export class XPathExpression extends CamelElement {
saxon?: boolean;
trim?: boolean;
objectModel?: string;
+ propertyName?: string;
logNamespaces?: boolean;
namespace?: PropertyDefinition[] = [];
threadSafety?: boolean;
@@ -3111,10 +3254,12 @@ export class XQueryExpression extends CamelElement {
headerName?: string;
configurationRef?: string;
trim?: boolean;
+ propertyName?: string;
expressionName?: string = 'xquery';
namespace?: PropertyDefinition[] = [];
id?: string;
- type?: string
+ type?: string;
+ resultType?: string
public constructor(init?: Partial<XQueryExpression>) {
super('XQueryExpression')
Object.assign(this, init)
@@ -3236,6 +3381,7 @@ export class DeleteDefinition extends CamelElement {
outType?: string;
path?: string;
security?: SecurityDefinition[] = [];
+ routeId?: string;
bindingMode?: string;
stepName?: string = 'delete';
param?: ParamDefinition[] = [];
@@ -3243,6 +3389,7 @@ export class DeleteDefinition extends CamelElement {
skipBindingOnErrorCode?: boolean;
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
to?: string;
responseMessage?: ResponseMessageDefinition[] = [];
@@ -3261,6 +3408,7 @@ export class GetDefinition extends CamelElement {
outType?: string;
path?: string;
security?: SecurityDefinition[] = [];
+ routeId?: string;
bindingMode?: string;
stepName?: string = 'get';
param?: ParamDefinition[] = [];
@@ -3268,6 +3416,7 @@ export class GetDefinition extends CamelElement {
skipBindingOnErrorCode?: boolean;
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
to?: string;
responseMessage?: ResponseMessageDefinition[] = [];
@@ -3286,6 +3435,7 @@ export class HeadDefinition extends CamelElement {
outType?: string;
path?: string;
security?: SecurityDefinition[] = [];
+ routeId?: string;
bindingMode?: string;
stepName?: string = 'head';
param?: ParamDefinition[] = [];
@@ -3293,6 +3443,7 @@ export class HeadDefinition extends CamelElement {
skipBindingOnErrorCode?: boolean;
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
to?: string;
responseMessage?: ResponseMessageDefinition[] = [];
@@ -3366,6 +3517,7 @@ export class PatchDefinition extends CamelElement {
outType?: string;
path?: string;
security?: SecurityDefinition[] = [];
+ routeId?: string;
bindingMode?: string;
stepName?: string = 'patch';
param?: ParamDefinition[] = [];
@@ -3373,6 +3525,7 @@ export class PatchDefinition extends CamelElement {
skipBindingOnErrorCode?: boolean;
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
to?: string;
responseMessage?: ResponseMessageDefinition[] = [];
@@ -3391,6 +3544,7 @@ export class PostDefinition extends CamelElement {
outType?: string;
path?: string;
security?: SecurityDefinition[] = [];
+ routeId?: string;
bindingMode?: string;
stepName?: string = 'post';
param?: ParamDefinition[] = [];
@@ -3398,6 +3552,7 @@ export class PostDefinition extends CamelElement {
skipBindingOnErrorCode?: boolean;
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
to?: string;
responseMessage?: ResponseMessageDefinition[] = [];
@@ -3416,6 +3571,7 @@ export class PutDefinition extends CamelElement {
outType?: string;
path?: string;
security?: SecurityDefinition[] = [];
+ routeId?: string;
bindingMode?: string;
stepName?: string = 'put';
param?: ParamDefinition[] = [];
@@ -3423,6 +3579,7 @@ export class PutDefinition extends CamelElement {
skipBindingOnErrorCode?: boolean;
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
to?: string;
responseMessage?: ResponseMessageDefinition[] = [];
@@ -3485,6 +3642,7 @@ export class RestConfigurationDefinition extends CamelElement {
enableCors?: boolean;
scheme?: string;
apiContextPath?: string;
+ inlineRoutes?: boolean;
consumerProperty?: RestPropertyDefinition[] = [];
apiProperty?: RestPropertyDefinition[] = [];
hostNameResolver?: string;
@@ -3500,6 +3658,7 @@ export class RestConfigurationDefinition extends CamelElement {
useXForwardHeaders?: boolean;
apiHost?: string;
contextPath?: string;
+ apiContextRouteId?: string;
component?: string;
dataFormatProperty?: RestPropertyDefinition[] = [];
bindingMode?: string;
@@ -3531,6 +3690,7 @@ export class RestDefinition extends CamelElement {
get?: GetDefinition[] = [];
clientRequestValidation?: boolean;
produces?: string;
+ disabled?: boolean;
id?: string;
tag?: string;
securityDefinitions?: RestSecuritiesDefinition;
@@ -3630,8 +3790,10 @@ export class DataFormatTransformerDefinition extends CamelElement {
any23?: Any23DataFormat | string;
custom?: CustomDataFormat | string;
flatpack?: FlatpackDataFormat;
+ swiftMx?: SwiftMxDataFormat;
cbor?: CBORDataFormat;
crypto?: CryptoDataFormat;
+ swiftMt?: SwiftMtDataFormat | string;
univocityTsv?: UniVocityTsvDataFormat;
hl7?: HL7DataFormat;
jsonApi?: JsonApiDataFormat;
diff --git a/karavan-core/src/core/model/CamelMetadata.ts b/karavan-core/src/core/model/CamelMetadata.ts
index 7ced2b2..191f72e 100644
--- a/karavan-core/src/core/model/CamelMetadata.ts
+++ b/karavan-core/src/core/model/CamelMetadata.ts
@@ -116,6 +116,8 @@ export const DataFormats: [string, string, string][] = [
['protobuf','Protobuf',"Serialize and deserialize Java objects using Google's Protocol buffers."],
['rss','RSS',"Transform from ROME SyndFeed Java Objects to XML and vice-versa."],
['soap','SOAP',"Marshal Java objects to SOAP messages and back."],
+ ['swiftMt','SWIFT MT',"Encode and decode SWIFT MT messages."],
+ ['swiftMx','SWIFT MX',"Encode and decode SWIFT MX messages."],
['syslog','Syslog',"Marshall SyslogMessages to RFC3164 and RFC5424 messages and back."],
['tarFile','Tar File',"Archive files into tarballs or extract files from tarballs."],
['thrift','Thrift',"Serialize and deserialize messages using Apache Thrift binary data format."],
@@ -177,7 +179,7 @@ export const CamelDataFormatMetadata: ElementMeta[] = [
new PropertyMeta('recordEndsOnNewline', 'Record Ends On Newline', "Whether or not the record ends on new line. The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('nullValue', 'Null Value', "The string representation of a null value. The default value is null", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('skipEmptyLines', 'Skip Empty Lines', "Whether or not the empty lines must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
- new PropertyMeta('ignoreTrailingWhitespaces', 'Ignore Trailing Whitespaces', "Whether or not the trailing white spaces must ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
+ new PropertyMeta('ignoreTrailingWhitespaces', 'Ignore Trailing Whitespaces', "Whether or not the trailing white spaces must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
new PropertyMeta('ignoreLeadingWhitespaces', 'Ignore Leading Whitespaces', "Whether or not the leading white spaces must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
new PropertyMeta('headersDisabled', 'Headers Disabled', "Whether or not the headers are disabled. When defined, this option explicitly sets the headers as null which indicates that there is no header. The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('headerExtractionEnabled', 'Header Extraction Enabled', "Whether or not the header must be read in the first line of the test document The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
@@ -385,6 +387,13 @@ export const CamelDataFormatMetadata: ElementMeta[] = [
new PropertyMeta('allowRecursiveKeys', 'Allow Recursive Keys', "Set whether recursive keys are allowed.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
+ new ElementMeta('swiftMx', 'SwiftMxDataFormat', 'SWIFT MX', "Encode and decode SWIFT MX messages.", 'dataformat,transformation,swift', [
+ new PropertyMeta('writeConfigRef', 'Write Config Ref', "Refers to a specific configuration to use when marshalling a message to lookup from the registry.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('writeInJson', 'Write In Json', "The flag indicating that messages must be marshalled in a JSON format.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('readMessageId', 'Read Message Id', "The type of MX message to produce when unmarshalling an input stream. If not set, it will be automatically detected from the namespace used.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('readConfigRef', 'Read Config Ref', "Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
+ ]),
new ElementMeta('custom', 'CustomDataFormat', 'Custom', "Delegate to a custom org.apache.camel.spi.DataFormat implementation via Camel registry.", 'dataformat,transformation', [
new PropertyMeta('ref', 'Ref', "Reference to the custom org.apache.camel.spi.DataFormat to lookup from the Camel registry.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
@@ -451,7 +460,7 @@ export const CamelDataFormatMetadata: ElementMeta[] = [
new PropertyMeta('escapeChar', 'Escape Char', "The escape character.", 'string', '', '\\', false, false, false, false, 'advanced', ''),
new PropertyMeta('nullValue', 'Null Value', "The string representation of a null value. The default value is null", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('skipEmptyLines', 'Skip Empty Lines', "Whether or not the empty lines must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
- new PropertyMeta('ignoreTrailingWhitespaces', 'Ignore Trailing Whitespaces', "Whether or not the trailing white spaces must ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
+ new PropertyMeta('ignoreTrailingWhitespaces', 'Ignore Trailing Whitespaces', "Whether or not the trailing white spaces must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
new PropertyMeta('ignoreLeadingWhitespaces', 'Ignore Leading Whitespaces', "Whether or not the leading white spaces must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
new PropertyMeta('headersDisabled', 'Headers Disabled', "Whether or not the headers are disabled. When defined, this option explicitly sets the headers as null which indicates that there is no header. The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('headerExtractionEnabled', 'Header Extraction Enabled', "Whether or not the header must be read in the first line of the test document The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
@@ -496,7 +505,7 @@ export const CamelDataFormatMetadata: ElementMeta[] = [
new PropertyMeta('quoteEscape', 'Quote Escape', "The quote escape symbol", 'string', '', '"', false, false, false, false, 'advanced', ''),
new PropertyMeta('nullValue', 'Null Value', "The string representation of a null value. The default value is null", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('skipEmptyLines', 'Skip Empty Lines', "Whether or not the empty lines must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
- new PropertyMeta('ignoreTrailingWhitespaces', 'Ignore Trailing Whitespaces', "Whether or not the trailing white spaces must ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
+ new PropertyMeta('ignoreTrailingWhitespaces', 'Ignore Trailing Whitespaces', "Whether or not the trailing white spaces must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
new PropertyMeta('ignoreLeadingWhitespaces', 'Ignore Leading Whitespaces', "Whether or not the leading white spaces must be ignored. The default value is true", 'boolean', '', 'true', false, false, false, false, '', ''),
new PropertyMeta('headersDisabled', 'Headers Disabled', "Whether or not the headers are disabled. When defined, this option explicitly sets the headers as null which indicates that there is no header. The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('headerExtractionEnabled', 'Header Extraction Enabled', "Whether or not the header must be read in the first line of the test document The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
@@ -579,6 +588,10 @@ export const CamelDataFormatMetadata: ElementMeta[] = [
new PropertyMeta('parserFactoryRef', 'Parser Factory Ref', "References to a custom parser factory to lookup in the registry", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
+ new ElementMeta('swiftMt', 'SwiftMtDataFormat', 'SWIFT MT', "Encode and decode SWIFT MT messages.", 'dataformat,transformation,swift', [
+ new PropertyMeta('writeInJson', 'Write In Json', "The flag indicating that messages must be marshalled in a JSON format.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
+ ]),
]
export const Languages: [string, string, string][] = [
@@ -591,11 +604,13 @@ export const Languages: [string, string, string][] = [
['hl7terser','HL7 Terser',"Get the value of a HL7 message field specified by terse location specification syntax."],
['joor','jOOR',"Evaluates a jOOR (Java compiled once at runtime) expression."],
['jq','JQ',"Evaluates a JQ expression against a JSON message body."],
+ ['js','JavaScript',"Evaluates a JavaScript expression."],
['jsonpath','JSONPath',"Evaluates a JSONPath expression against a JSON message body."],
['language','Language',"Evaluates a custom language."],
['method','Bean Method',"Calls a Java bean method."],
['mvel','MVEL',"Evaluates a MVEL template."],
['ognl','OGNL',"Evaluates an OGNL expression (Apache Commons OGNL)."],
+ ['python','Python',"Evaluates a Python expression."],
['ref','Ref',"Uses an existing expression from the registry."],
['simple','Simple',"Evaluates a Camel simple expression."],
['spel','SpEL',"Evaluates a Spring expression (SpEL)."],
@@ -614,17 +629,19 @@ export const CamelLanguageMetadata: ElementMeta[] = [
new PropertyMeta('factoryRef', 'Factory Ref', "References to a custom XPathFactory to lookup in the registry", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('objectModel', 'Object Model', "The XPath object model to use", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('logNamespaces', 'Log Namespaces', "Whether to log namespaces which can assist during troubleshooting", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
- new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('threadSafety', 'Thread Safety', "Whether to enable thread-safety for the returned result of the xpath expression. This applies to when using NODESET as the result type, and the returned set has multiple elements. In this situation there can be thread-safety issues if you process the NODESET concurrently such as from a Camel Splitter EIP in parallel processing mode. This option prevents concurrency issues by doing defensive copies of the nodes. It is recommended [...]
new PropertyMeta('preCompile', 'Pre Compile', "Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default. This can be used to turn off, for example in cases the compilation phase is desired at the starting phase, such as if the application is ahead of time compiled (for example with camel-quarkus) which would then load the xpath factory of the built operating system, and not a JVM runtime.", 'boolean', '', 'true', false, f [...]
new PropertyMeta('namespace', 'Namespace', "Injects the XML Namespaces of prefix - uri mappings", 'PropertyDefinition', '', '', false, false, true, true, 'common', ''),
+ new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('jq', 'JqExpression', 'JQ', "Evaluates a JQ expression against a JSON message body.", 'language,json', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -632,24 +649,25 @@ export const CamelLanguageMetadata: ElementMeta[] = [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('bodyMediaType', 'Body Media Type', "The String representation of the message's body MediaType", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('outputMediaType', 'Output Media Type', "The String representation of the MediaType to output", 'string', '', '', false, false, false, false, '', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class name of the result type (type from output) The default result type is com.datasonnet.document.Document", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('constant', 'ConstantExpression', 'Constant', "A fixed value set only once during the route startup.", 'language,core', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class name of the constant type", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('groovy', 'GroovyExpression', 'Groovy', "Evaluates a Groovy script.", 'language,script', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('simple', 'SimpleExpression', 'Simple', "Evaluates a Camel simple expression.", 'language,core,java', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class name of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -657,28 +675,32 @@ export const CamelLanguageMetadata: ElementMeta[] = [
new PropertyMeta('token', 'Token', "The (start) token to use as tokenizer, for example you can use the new line token. You can use simple language as the token to support dynamic tokens.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('endToken', 'End Token', "The end token to use as tokenizer if using start/end token pairs. You can use simple language as the token to support dynamic tokens.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('inheritNamespaceTagName', 'Inherit Namespace Tag Name', "To inherit namespaces from a root/parent tag name when using XML You can use simple language as the tag name to support dynamic names.", 'string', '', '', false, false, false, false, 'advanced', ''),
- new PropertyMeta('headerName', 'Header Name', "Name of header to tokenize instead of using the message body.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('regex', 'Regex', "If the token is a regular expression pattern. The default value is false", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('xml', 'Xml', "Whether the input is XML messages. This option must be set to true if working with XML payloads.", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('includeTokens', 'Include Tokens', "Whether to include the tokens in the parts when using pairs The default value is false", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('group', 'Group', "To group N parts together, for example to split big files into chunks of 1000 lines. You can use simple language as the group to support dynamic group sizes.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('groupDelimiter', 'Group Delimiter', "Sets the delimiter to use when grouping. If this has not been set then token will be used as the delimiter.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('skipFirst', 'Skip First', "To skip the very first element", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('mvel', 'MvelExpression', 'MVEL', "Evaluates a MVEL template.", 'language,java', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('ref', 'RefExpression', 'Ref', "Uses an existing expression from the registry.", 'language,core', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('spel', 'SpELExpression', 'SpEL', "Evaluates a Spring expression (SpEL).", 'language,spring', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -687,6 +709,7 @@ export const CamelLanguageMetadata: ElementMeta[] = [
new PropertyMeta('method', 'Method', "Name of method to call", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('beanType', 'Bean Type', "Class name (fully qualified) of the bean to use Will lookup in registry and if there is a single instance of the same type, then the existing bean is used, otherwise a new bean is created (requires a default no-arg constructor).", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('scope', 'Scope', "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance [...]
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -700,7 +723,7 @@ export const CamelLanguageMetadata: ElementMeta[] = [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('preCompile', 'Pre Compile', "Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('singleQuotes', 'Single Quotes', "Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class name of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -709,17 +732,32 @@ export const CamelLanguageMetadata: ElementMeta[] = [
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
+ new ElementMeta('js', 'JavaScriptExpression', 'JavaScript', "Evaluates a JavaScript expression.", 'language,javascript', [
+ new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
+ ]),
new ElementMeta('ognl', 'OgnlExpression', 'OGNL', "Evaluates an OGNL expression (Apache Commons OGNL).", 'language,java', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
+ ]),
+ new ElementMeta('python', 'PythonExpression', 'Python', "Evaluates a Python expression.", 'language,python', [
+ new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('xquery', 'XQueryExpression', 'XQuery', "Evaluates an XQuery expressions against an XML payload.", 'language,xml', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('type', 'Type', "Sets the class name of the result type (type from output) The default result type is NodeSet", 'string', '', '', false, false, false, false, '', ''),
- new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('configurationRef', 'Configuration Ref', "Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon). This may be needed to add custom functions to a saxon configuration, so these custom functions can be used in xquery expressions.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('namespace', 'Namespace', "Injects the XML Namespaces of prefix - uri mappings", 'PropertyDefinition', '', '', false, false, true, true, 'common', ''),
+ new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -730,33 +768,38 @@ export const CamelLanguageMetadata: ElementMeta[] = [
]),
new ElementMeta('jsonpath', 'JsonPathExpression', 'JSONPath', "Evaluates a JSONPath expression against a JSON message body.", 'language,json', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class name of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('suppressExceptions', 'Suppress Exceptions', "Whether to suppress exceptions such as PathNotFoundException.", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('allowSimple', 'Allow Simple', "Whether to allow in inlined Simple exceptions in the JSONPath expression", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('allowEasyPredicate', 'Allow Easy Predicate', "Whether to allow using the easy predicate parser to pre-parse predicates.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('writeAsString', 'Write As String', "Whether to write the output of each row/element as a JSON String value instead of a Map/POJO value.", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('unpackArray', 'Unpack Array', "Whether to unpack a single element json-array into an object.", 'boolean', '', 'false', false, false, false, false, '', ''),
- new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('option', 'Option', "To configure additional options on JSONPath. Multiple values can be separated by comma.", 'string', 'DEFAULT_PATH_LEAF_TO_NULL, ALWAYS_RETURN_LIST, AS_PATH_LIST, SUPPRESS_EXCEPTIONS, REQUIRE_PROPERTIES', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('hl7terser', 'Hl7TerserExpression', 'HL7 Terser', "Get the value of a HL7 message field specified by terse location specification syntax.", 'language,hl7', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('csimple', 'CSimpleExpression', 'CSimple', "Evaluate a compiled simple expression.", 'language,java', [
new PropertyMeta('expression', 'Expression', "The expression value in your chosen language syntax", 'string', '', '', true, false, false, false, '', ''),
- new PropertyMeta('resultType', 'Result Type', "Sets the class name of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('resultType', 'Result Type', "Sets the class of the result type (type from output)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('xtokenize', 'XMLTokenizerExpression', 'XML Tokenize', "Tokenize XML payloads.", 'language,core,xml', [
- new PropertyMeta('headerName', 'Header Name', "Name of header to tokenize instead of using the message body.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('mode', 'Mode', "The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to its child content t - extracting the text content of the specified element", 'string', 'i, w, u, t', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('group', 'Group', "To group N parts together", 'number', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('namespace', 'Namespace', "Injects the XML Namespaces of prefix - uri mappings", 'PropertyDefinition', '', '', false, false, true, true, 'common', ''),
+ new PropertyMeta('headerName', 'Header Name', "Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('propertyName', 'Property Name', "Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('trim', 'Trim', "Whether to trim the value to remove leading and trailing whitespaces and line breaks", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -766,6 +809,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('setProperty', 'SetPropertyDefinition', 'Set Property', "Sets a named property on the message exchange", 'eip,transformation', [
new PropertyMeta('name', 'Name', "Name of exchange property to set a new value. The simple language can be used to define a dynamic evaluated exchange property name to be used. Otherwise a constant name will be used.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('expression', 'Expression', "Expression to return the value of the message exchange property", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -788,15 +832,21 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('header', 'Header', "Adds a response header", 'ResponseHeaderDefinition', '', '', false, false, true, true, '', ''),
new PropertyMeta('examples', 'Examples', "Examples of response messages", 'RestPropertyDefinition', '', '', false, false, true, true, '', ''),
]),
+ new ElementMeta('refErrorHandler', 'RefErrorHandlerDefinition', 'Ref Error Handler', "References to an existing or custom error handler.", 'configuration,error', [
+ new PropertyMeta('ref', 'Ref', "References to an existing or custom error handler.", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
+ ]),
new ElementMeta('filter', 'FilterDefinition', 'Filter', "Filter out messages based using a predicate", 'eip,routing', [
new PropertyMeta('expression', 'Expression', "Expression to determine if the message should be filtered or not. If the expression returns an empty value or false then the message is filtered (dropped), otherwise the message is continued being routed.", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
new PropertyMeta('statusPropertyName', 'Status Property Name', "Name of exchange property to use for storing the status of the filtering. Setting this allows to know if the filter predicate evaluated as true or false.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
new ElementMeta('when', 'WhenDefinition', 'When', "Triggers a route when the expression evaluates to true", 'eip,routing', [
new PropertyMeta('expression', 'Expression', "Expression used as the predicate to evaluate whether this when should trigger and route the message or not.", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -806,6 +856,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('copy', 'Copy', "If the copy attribute is true, a copy of the input Exchange is used for each iteration. That means each iteration will start from a copy of the same message. By default loop will loop the same exchange all over, so each iteration may have different message content.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('doWhile', 'Do While', "Enables the while loop that loops until the predicate evaluates to false or null.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('breakOnShutdown', 'Break On Shutdown', "If the breakOnShutdown attribute is true, then the loop will not iterate until it reaches the end when Camel is shut down.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -813,6 +864,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('resumable', 'ResumableDefinition', 'Resumable', "Resume EIP to support resuming processing from last known offset.", 'eip,routing', [
new PropertyMeta('resumeStrategy', 'Resume Strategy', "Sets the resume strategy to use", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('intermittent', 'Intermittent', "Sets whether the offsets will be intermittently present or whether they must be present in every exchange", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -829,6 +881,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('otherwise', 'OtherwiseDefinition', 'Otherwise', "Route to be executed when all other choices evaluate to false", 'eip,routing', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -836,6 +889,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('removeProperties', 'RemovePropertiesDefinition', 'Remove Properties', "Removes message exchange properties whose name matches a specified pattern", 'eip,transformation', [
new PropertyMeta('pattern', 'Pattern', "Name or pattern of properties to remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('excludePattern', 'Exclude Pattern', "Name or pattern of properties to not remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -854,12 +908,14 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('producerApiDoc', 'Producer Api Doc', "Sets the location of the api document the REST producer will use to validate the REST uri and query parameters are valid accordingly to the api document. The location of the api document is loaded from classpath by default, but you can use file: or http: to refer to resources to load from file or http url.", 'string', '', '', false, false, false, false, 'producer,advanced', ''),
new PropertyMeta('contextPath', 'Context Path', "Sets a leading context-path the REST services will be using. This can be used when using components such as camel-servlet where the deployed web application is deployed using a context-path. Or for components such as camel-jetty or camel-netty-http that includes a HTTP server.", 'string', '', '', false, false, false, false, 'consumer', ''),
new PropertyMeta('apiContextPath', 'Api Context Path', "Sets a leading API context-path the REST API services will be using. This can be used when using components such as camel-servlet where the deployed web application is deployed using a context-path.", 'string', '', '', false, false, false, false, 'consumer', ''),
+ new PropertyMeta('apiContextRouteId', 'Api Context Route Id', "Sets the route id to use for the route that services the REST API. The route will by default use an auto assigned route id.", 'string', '', '', false, false, false, false, 'consumer,advanced', ''),
new PropertyMeta('apiVendorExtension', 'Api Vendor Extension', "Whether vendor extension is enabled in the Rest APIs. If enabled then Camel will include additional information as vendor extension (eg keys starting with x-) such as route ids, class names etc. Not all 3rd party API gateways and tools supports vendor-extensions when importing your API docs.", 'boolean', '', 'false', false, false, false, false, 'consumer,advanced', ''),
new PropertyMeta('hostNameResolver', 'Host Name Resolver', "If no hostname has been explicit configured, then this resolver is used to compute the hostname the REST service will be using.", 'string', 'all-local-ip, local-host-name, local-ip', 'allLocalIp', false, false, false, false, 'consumer,advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
new PropertyMeta('skipBindingOnErrorCode', 'Skip Binding On Error Code', "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('clientRequestValidation', 'Client Request Validation', "Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body [...]
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('inlineRoutes', 'Inline Routes', "Inline routes in rest-dsl which are linked using direct endpoints. By default, each service in Rest DSL is an individual route, meaning that you would have at least two routes per service (rest-dsl, and the route linked from rest-dsl). Enabling this allows Camel to optimize and inline this as a single route, however this requires to use direct endpoints, which must be unique per service. This option is default false.", 'boolean', [...]
new PropertyMeta('jsonDataFormat', 'Json Data Format', "Name of specific json data format to use. By default jackson will be used. Important: This option is only for setting a custom name of the data format, not to refer to an existing data format instance.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('xmlDataFormat', 'Xml Data Format', "Name of specific XML data format to use. By default jaxb will be used. Important: This option is only for setting a custom name of the data format, not to refer to an existing data format instance.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('componentProperty', 'Component Property', "Allows to configure as many additional properties for the rest component in use.", 'RestPropertyDefinition', '', '', false, false, true, true, 'advanced', ''),
@@ -877,6 +933,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('compensation', 'Compensation', "The compensation endpoint URI that must be called to compensate all changes done in the route. The route corresponding to the compensation URI must perform compensation and complete without error. If errors occur during compensation, the saga service may call again the compensation URI to retry.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('completion', 'Completion', "The completion endpoint URI that will be called when the Saga is completed successfully. The route corresponding to the completion URI must perform completion tasks and terminate without error. If errors occur during completion, the saga service may call again the completion URI to retry.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('option', 'Option', "Allows to save properties of the current exchange in order to re-use them in a compensation/completion callback route. Options are usually helpful e.g. to store and retrieve identifiers of objects that should be deleted in compensating actions. Option values will be transformed into input headers of the compensation/completion exchange.", 'PropertyExpressionDefinition', '', '', false, false, true, true, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -884,11 +941,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('removeHeaders', 'RemoveHeadersDefinition', 'Remove Headers', "Removes message headers whose name matches a specified pattern", 'eip,transformation', [
new PropertyMeta('pattern', 'Pattern', "Name or pattern of headers to remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('excludePattern', 'Exclude Pattern', "Name or patter of headers to not remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('setExchangePattern', 'SetExchangePatternDefinition', 'Set Exchange Pattern', "Sets the exchange pattern on the message exchange", 'configuration', [
new PropertyMeta('pattern', 'Pattern', "Sets the new exchange pattern of the Exchange to be used from this point forward", 'string', 'InOnly, InOut, InOptionalOut', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -902,6 +961,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('from', 'from', "from", 'FromDefinition', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('nodePrefixId', 'nodePrefixId', "nodePrefixId", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('precondition', 'precondition', "precondition", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('routeConfigurationId', 'routeConfigurationId', "routeConfigurationId", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('routePolicy', 'routePolicy', "routePolicy", 'string', '', '', false, false, false, false, '', ''),
@@ -933,11 +993,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('hl7terser', 'hl7terser', "hl7terser", 'Hl7TerserExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('joor', 'joor', "joor", 'JoorExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('jq', 'jq', "jq", 'JqExpression', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('js', 'js', "js", 'JavaScriptExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('jsonpath', 'jsonpath', "jsonpath", 'JsonPathExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('language', 'language', "language", 'LanguageExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('method', 'method', "method", 'MethodCallExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('mvel', 'mvel', "mvel", 'MvelExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('ognl', 'ognl', "ognl", 'OgnlExpression', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('python', 'python', "python", 'PythonExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('ref', 'ref', "ref", 'RefExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('simple', 'simple', "simple", 'SimpleExpression', '', '', false, false, false, true, '', ''),
new PropertyMeta('spel', 'spel', "spel", 'SpELExpression', '', '', false, false, false, true, '', ''),
@@ -947,6 +1009,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('xtokenize', 'xtokenize', "xtokenize", 'XMLTokenizerExpression', '', '', false, false, false, true, '', ''),
]),
new ElementMeta('intercept', 'InterceptDefinition', 'Intercept', "Intercepts a message at each step in the route", 'configuration', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -956,6 +1019,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('to', 'To', "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('type', 'Type', "Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('outType', 'Out Type', "Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
@@ -964,6 +1028,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
new PropertyMeta('apiDocs', 'Api Docs', "Whether to include or exclude this rest operation in API documentation. The default value is true.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('deprecated', 'Deprecated', "Marks this rest operation as deprecated in OpenApi documentation.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('routeId', 'Route Id', "Sets the id of the route", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('param', 'param', "param", 'ParamDefinition', '', '', false, false, true, true, '', ''),
@@ -984,6 +1049,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('cacheSize', 'Cache Size', "Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producer when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stoppe [...]
new PropertyMeta('ignoreInvalidEndpoint', 'Ignore Invalid Endpoint', "Ignore the invalidate endpoint exception when try to create a producer with that endpoint", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('allowOptimisedComponents', 'Allow Optimised Components', "Whether to allow components to optimise enricher if they are org.apache.camel.spi.SendDynamicAware .", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -995,6 +1061,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('executorService', 'Executor Service', "To use a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('useOriginalMessage', 'Use Original Message', "Will use the original input message body when an org.apache.camel.Exchange for this on completion. By default this feature is off.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('onWhen', 'On When', "Sets an additional predicate that should be true before the onCompletion is triggered. To be used for fine grained controlling whether a completion callback should be invoked or not", 'WhenDefinition', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1004,10 +1071,6 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('parameters', 'parameters', "parameters", 'object', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
- new ElementMeta('errorHandlerRef', 'ErrorHandlerRefDefinition', 'Error Handler Ref', "Dead letter channel error handler.", 'configuration,error', [
- new PropertyMeta('ref', 'Ref', "References to an existing or custom error handler.", 'string', '', '', false, false, false, false, '', ''),
- new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
- ]),
new ElementMeta('globalOption', 'GlobalOptionDefinition', 'Global Option', "Models a string key/value pair for configuring some global options on a Camel context such as max debug log length.", 'configuration', [
new PropertyMeta('key', 'Key', "Global option key", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('value', 'Value', "Global option value", 'string', '', '', true, false, false, false, '', ''),
@@ -1026,6 +1089,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('doFinally', 'FinallyDefinition', 'Do Finally', "Path traversed when a try, catch, finally block exits", 'error', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1044,6 +1108,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('resilience4jConfiguration', 'Resilience4j Configuration', "Configures the circuit breaker to use Resilience4j with the given configuration.", 'Resilience4jConfigurationDefinition', '', '', false, false, false, true, '', ''),
new PropertyMeta('faultToleranceConfiguration', 'Fault Tolerance Configuration', "Configures the circuit breaker to use MicroProfile Fault Tolerance with the given configuration.", 'FaultToleranceConfigurationDefinition', '', '', false, false, false, true, '', ''),
new PropertyMeta('configuration', 'Configuration', "Refers to a circuit breaker configuration (such as resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP.", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('onFallback', 'onFallback', "onFallback", 'OnFallbackDefinition', '', '', false, false, false, true, '', ''),
@@ -1052,6 +1117,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('templatedRoute', 'TemplatedRouteDefinition', 'Templated Route', "Defines a templated route (a route built from a route template)", 'configuration', [
new PropertyMeta('routeTemplateRef', 'Route Template Ref', "Sets the id of the route template to use to build the route.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('routeId', 'Route Id', "Sets the id of the route built from the route template.", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('prefixId', 'Prefix Id', "Sets a prefix to use for all node ids (not route id).", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('beans', 'beans', "beans", 'NamedBeanDefinition', '', '', false, false, true, true, '', ''),
new PropertyMeta('parameters', 'parameters', "parameters", 'TemplatedRouteParameterDefinition', '', '', false, false, true, true, '', ''),
]),
@@ -1080,6 +1146,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('asyncDelayed', 'Async Delayed', "Enables asynchronous delay which means the thread will not block while delaying.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('callerRunsWhenRejected', 'Caller Runs When Rejected', "Whether or not the caller should run the task when it was rejected by the thread pool. Is by default true", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('rejectExecution', 'Reject Execution', "Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit Is by default false", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1088,6 +1155,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('to', 'To', "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('type', 'Type', "Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('outType', 'Out Type', "Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
@@ -1096,6 +1164,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
new PropertyMeta('apiDocs', 'Api Docs', "Whether to include or exclude this rest operation in API documentation. The default value is true.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('deprecated', 'Deprecated', "Marks this rest operation as deprecated in OpenApi documentation.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('routeId', 'Route Id', "Sets the id of the route", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('param', 'param', "param", 'ParamDefinition', '', '', false, false, true, true, '', ''),
@@ -1120,6 +1189,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('marshal', 'MarshalDefinition', 'Marshal', "Marshals data into a specified format for transmission over a transport or component", 'dataformat,transformation', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('any23', 'any23', "any23", 'Any23DataFormat', '', '', false, false, false, true, '', ''),
@@ -1149,6 +1219,8 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('protobuf', 'protobuf', "protobuf", 'ProtobufDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('rss', 'rss', "rss", 'RssDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('soap', 'soap', "soap", 'SoapDataFormat', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('swiftMt', 'swiftMt', "swiftMt", 'SwiftMtDataFormat', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('swiftMx', 'swiftMx', "swiftMx", 'SwiftMxDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('syslog', 'syslog', "syslog", 'SyslogDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('tarFile', 'tarFile', "tarFile", 'TarFileDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('thrift', 'thrift', "thrift", 'ThriftDataFormat', '', '', false, false, false, true, '', ''),
@@ -1167,12 +1239,14 @@ export const CamelModelMetadata: ElementMeta[] = [
]),
new ElementMeta('policy', 'PolicyDefinition', 'Policy', "Defines a policy the route will use", 'configuration', [
new PropertyMeta('ref', 'Ref', "Sets a reference to use for lookup the policy in the registry.", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
new ElementMeta('unmarshal', 'UnmarshalDefinition', 'Unmarshal', "Converts the message data received from the wire into a format that Apache Camel processors can consume", 'dataformat,transformation', [
new PropertyMeta('allowNullBody', 'Allow Null Body', "Indicates whether null is allowed as value of a body to unmarshall.", 'boolean', '', 'false', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('any23', 'any23', "any23", 'Any23DataFormat', '', '', false, false, false, true, '', ''),
@@ -1202,6 +1276,8 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('protobuf', 'protobuf', "protobuf", 'ProtobufDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('rss', 'rss', "rss", 'RssDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('soap', 'soap', "soap", 'SoapDataFormat', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('swiftMt', 'swiftMt', "swiftMt", 'SwiftMtDataFormat', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('swiftMx', 'swiftMx', "swiftMx", 'SwiftMxDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('syslog', 'syslog', "syslog", 'SyslogDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('tarFile', 'tarFile', "tarFile", 'TarFileDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('thrift', 'thrift', "thrift", 'ThriftDataFormat', '', '', false, false, false, true, '', ''),
@@ -1222,11 +1298,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('ignoreInvalidEndpoint', 'Ignore Invalid Endpoint', "Ignore the invalidate endpoint exception when try to create a producer with that endpoint", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('allowOptimisedComponents', 'Allow Optimised Components', "Whether to allow components to optimise toD if they are org.apache.camel.spi.SendDynamicAware .", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('autoStartComponents', 'Auto Start Components', "Whether to auto startup components when toD is starting up.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('parameters', 'parameters', "parameters", 'object', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('pipeline', 'PipelineDefinition', 'Pipeline', "Routes the message to a sequence of processors.", 'eip,routing', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1241,6 +1319,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('to', 'To', "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('type', 'Type', "Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('outType', 'Out Type', "Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
@@ -1249,6 +1328,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
new PropertyMeta('apiDocs', 'Api Docs', "Whether to include or exclude this rest operation in API documentation. The default value is true.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('deprecated', 'Deprecated', "Marks this rest operation as deprecated in OpenApi documentation.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('routeId', 'Route Id', "Sets the id of the route", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('param', 'param', "param", 'ParamDefinition', '', '', false, false, true, true, '', ''),
@@ -1258,6 +1338,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('validate', 'ValidateDefinition', 'Validate', "Validates a message based on an expression", 'eip,transformation', [
new PropertyMeta('expression', 'Expression', "Expression to use for validation as a predicate. The expression should return either true or false. If returning false the message is invalid and an exception is thrown.", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
new PropertyMeta('predicateExceptionFactory', 'Predicate Exception Factory', "The bean id of custom PredicateExceptionFactory to use for creating the exception when the validation fails. By default, Camel will throw PredicateValidationException. By using a custom factory you can control which exception to throw instead.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1265,6 +1346,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('message', 'Message', "To create a new exception instance and use the given message as caused message (supports simple language)", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('exceptionType', 'Exception Type', "The class of the exception to create using the message.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('ref', 'Ref', "Reference to the exception instance to lookup from the registry to throw", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1297,12 +1379,14 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('when', 'When', "Sets the when nodes", 'WhenDefinition', '', '', false, false, true, true, '', ''),
new PropertyMeta('otherwise', 'Otherwise', "Sets the otherwise node", 'OtherwiseDefinition', '', '', false, false, false, true, '', ''),
new PropertyMeta('precondition', 'Precondition', "Indicates whether this Choice EIP is in precondition mode or not. If so its branches (when/otherwise) are evaluated during startup to keep at runtime only the branch that matched.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
new ElementMeta('whenSkipSendToEndpoint', 'WhenSkipSendToEndpointDefinition', 'When Skip Send To Endpoint', "Predicate to determine if the message should be sent or not to the endpoint, when using interceptSentToEndpoint.", 'configuration', [
new PropertyMeta('expression', 'Expression', "Expression used as the predicate to evaluate whether the message should be sent or not to the endpoint", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1314,17 +1398,20 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('sample', 'SamplingDefinition', 'Sample', "Extract a sample of the messages passing through a route", 'eip,routing', [
new PropertyMeta('samplePeriod', 'Sample Period', "Sets the sample period during which only a single Exchange will pass through.", 'string', '', '1000', false, false, false, false, '', ''),
new PropertyMeta('messageFrequency', 'Message Frequency', "Sets the sample message count which only a single Exchange will pass through after this many received.", 'number', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('sort', 'SortDefinition', 'Sort', "Sorts the contents of the message", 'eip,routing', [
new PropertyMeta('expression', 'Expression', "Optional expression to sort by something else than the message body", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
new PropertyMeta('comparator', 'Comparator', "Sets the comparator to use for sorting", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('to', 'ToDefinition', 'To', "Sends the message to a static endpoint", 'eip,routing', [
new PropertyMeta('uri', 'Uri', "Sets the uri of the endpoint to send to.", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('pattern', 'Pattern', "Sets the optional ExchangePattern used to invoke this endpoint", 'string', 'InOnly, InOut, InOptionalOut', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
@@ -1332,6 +1419,7 @@ export const CamelModelMetadata: ElementMeta[] = [
]),
new ElementMeta('inOut', 'InOutDefinition', 'In Out', "Marks the exchange pattern for the route to request/reply", 'eip,routing', [
new PropertyMeta('uri', 'Uri', "Sets the uri of the endpoint to send to.", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('parameters', 'parameters', "parameters", 'object', '', '', false, false, false, false, '', ''),
@@ -1339,6 +1427,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('doCatch', 'CatchDefinition', 'Do Catch', "Catches exceptions as part of a try, catch, finally block", 'error', [
new PropertyMeta('exception', 'Exception', "The exception(s) to catch.", 'string', '', '', false, false, true, true, '', ''),
new PropertyMeta('onWhen', 'On When', "Sets an additional predicate that should be true before the onCatch is triggered. To be used for fine grained controlling whether a thrown exception should be intercepted by this exception type or not.", 'WhenDefinition', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1349,6 +1438,7 @@ export const CamelModelMetadata: ElementMeta[] = [
]),
new ElementMeta('onFallback', 'OnFallbackDefinition', 'On Fallback', "Route to be executed when Circuit Breaker EIP executes fallback", 'eip,routing', [
new PropertyMeta('fallbackViaNetwork', 'Fallback Via Network', "Whether the fallback goes over the network. If the fallback will go over the network it is another possible point of failure. It is important to execute the fallback command on a separate thread-pool, otherwise if the main command were to become latent and fill the thread-pool this would prevent the fallback from running if the two commands share the same pool.", 'boolean', '', 'false', false, false, false, false, 'a [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1364,6 +1454,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('endpointTransformer', 'endpointTransformer', "endpointTransformer", 'EndpointTransformerDefinition', '', '', false, false, false, true, '', ''),
]),
new ElementMeta('loadBalance', 'LoadBalanceDefinition', 'Load Balance', "Balances message processing among a number of nodes", 'eip,routing', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('inheritErrorHandler', 'Inherit Error Handler', "Sets whether or not to inherit the configured error handler. The default value is true. You can use this to disable using the inherited error handler for a given DSL such as a load balancer where you want to use a custom error handler strategy.", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
@@ -1378,6 +1469,7 @@ export const CamelModelMetadata: ElementMeta[] = [
]),
new ElementMeta('process', 'ProcessDefinition', 'Process', "Calls a Camel processor", 'eip,endpoint', [
new PropertyMeta('ref', 'Ref', "Reference to the Processor to lookup in the registry to use. Can also be used for creating new beans by their class name by prefixing with #class, eg #class:com.foo.MyClassType. And it is also possible to refer to singleton beans by their type in the registry by prefixing with #type: syntax, eg #type:com.foo.MyClassType", 'string', '', '', true, false, false, false, '', 'org.apache.camel.Processor'),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1386,11 +1478,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('method', 'Method', "Sets the method name on the bean to use", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('beanType', 'Bean Type', "Sets the class name (fully qualified) of the bean to use", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('scope', 'Scope', "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('transacted', 'TransactedDefinition', 'Transacted', "Enables transaction on the route", 'configuration', [
new PropertyMeta('ref', 'Ref', "Sets a reference to use for lookup the policy in the registry.", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1429,17 +1523,20 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('timeout', 'Timeout', "Timeout in millis when polling from the external service. The timeout has influence about the poll enrich behavior. It basically operations in three different modes: negative value - Waits until a message is available and then returns it. Warning that this method could block indefinitely if no messages are available. 0 - Attempts to receive a message exchange immediately without waiting and returning null if a message exchange is not availa [...]
new PropertyMeta('cacheSize', 'Cache Size', "Sets the maximum size used by the org.apache.camel.spi.ConsumerCache which is used to cache and reuse consumers when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopp [...]
new PropertyMeta('ignoreInvalidEndpoint', 'Ignore Invalid Endpoint', "Ignore the invalidate endpoint exception when try to create a producer with that endpoint", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('pausable', 'PausableDefinition', 'Pausable', "Pausable EIP to support resuming processing from last known offset.", 'eip,routing', [
new PropertyMeta('consumerListener', 'Consumer Listener', "Sets the consumer listener to use", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('untilCheck', 'Until Check', "References to a java.util.function.Predicate to use for until checks. The predicate is responsible for evaluating whether the processing can resume or not. Such predicate should return true if the consumption can resume, or false otherwise. The exact point of when the predicate is called is dependent on the component, and it may be called on either one of the available events. Implementations should not assume the predicate to be cal [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('setBody', 'SetBodyDefinition', 'Set Body', "Sets the contents of the message body", 'eip,transformation', [
new PropertyMeta('expression', 'Expression', "Expression that returns the new body to use", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1449,10 +1546,12 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('filter', 'Filter', "Specify a filter to control what data gets merged data back from the claim check repository. The following syntax is supported: body - to aggregate the message body attachments - to aggregate all the message attachments headers - to aggregate all the message headers header:pattern - to aggregate all the message headers that matches the pattern. The following pattern rules are applied in this order: exact match, returns true wildcard match (pa [...]
new PropertyMeta('aggregationStrategy', 'Aggregation Strategy', "To use a custom AggregationStrategy instead of the default implementation. Notice you cannot use both custom aggregation strategy and configure data at the same time.", 'string', '', '', false, false, false, false, 'advanced', 'org.apache.camel.AggregationStrategy'),
new PropertyMeta('aggregationStrategyMethodName', 'Aggregation Strategy Method Name', "This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('step', 'StepDefinition', 'Step', "Routes the message to a sequence of processors which is grouped together as one logical name", 'eip,routing', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1485,11 +1584,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('discardOnAggregationFailure', 'Discard On Aggregation Failure', "Discards the aggregated message when aggregation failed (an exception was thrown from AggregationStrategy . This means the partly aggregated message is dropped and not sent out of the aggregator. This option cannot be used together with completionFromBatchConsumer.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('forceCompletionOnStop', 'Force Completion On Stop', "Indicates to complete all current aggregated exchanges when the context is stopped", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('completeAllOnStop', 'Complete All On Stop', "Indicates to wait to complete all current and partial (pending) aggregated exchanges when the context is stopped. This also means that we will wait for all pending exchanges which are stored in the aggregation repository to complete so the repository is empty before we can stop. You may want to enable this when using the memory based aggregation repository that is memory based only, and do not store data on disk. When [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
new ElementMeta('stop', 'StopDefinition', 'Stop', "Stops the processing of the current message", 'eip,routing', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1537,6 +1638,8 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('protobuf', 'protobuf', "protobuf", 'ProtobufDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('rss', 'rss', "rss", 'RssDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('soap', 'soap', "soap", 'SoapDataFormat', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('swiftMt', 'swiftMt', "swiftMt", 'SwiftMtDataFormat', '', '', false, false, false, true, '', ''),
+ new PropertyMeta('swiftMx', 'swiftMx', "swiftMx", 'SwiftMxDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('syslog', 'syslog', "syslog", 'SyslogDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('tarFile', 'tarFile', "tarFile", 'TarFileDataFormat', '', '', false, false, false, true, '', ''),
new PropertyMeta('thrift', 'thrift', "thrift", 'ThriftDataFormat', '', '', false, false, false, true, '', ''),
@@ -1568,12 +1671,14 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('executorService', 'Executor Service', "To use a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatically implied, and you do not have to enable that option as well.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('onPrepare', 'On Prepare', "Uses the Processor when preparing the org.apache.camel.Exchange to be sent. This can be used to deep-clone messages that should be sent, or any custom logic needed before the exchange is sent.", 'string', '', '', false, false, false, false, 'advanced', 'org.apache.camel.Processor'),
new PropertyMeta('shareUnitOfWork', 'Share Unit Of Work', "Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Splitter will by default not share unit of work between the parent exchange and each split exchange. This means each split exchange has its own individual unit of work.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
new ElementMeta('removeProperty', 'RemovePropertyDefinition', 'Remove Property', "Removes a named property from the message exchange", 'eip,transformation', [
new PropertyMeta('name', 'Name', "Name of property to remove.", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1593,6 +1698,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('onExceptionOccurredRef', 'On Exception Occurred Ref', "Sets a reference to a processor that should be processed just after an exception occurred. Can be used to perform custom logging about the occurred exception at the exact time it happened. Important: Any exception thrown from this processor will be ignored.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('useOriginalMessage', 'Use Original Message', "Will use the original input org.apache.camel.Message (original body and headers) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the [...]
new PropertyMeta('useOriginalBody', 'Use Original Body', "Will use the original input org.apache.camel.Message body (original body only) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the origina [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1609,6 +1715,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('executorService', 'Executor Service', "Refers to a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('onPrepare', 'On Prepare', "Uses the Processor when preparing the org.apache.camel.Exchange to be send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send.", 'string', '', '', false, false, false, false, 'advanced', 'org.apache.camel.Processor'),
new PropertyMeta('shareUnitOfWork', 'Share Unit Of Work', "Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Multicast will by default not share unit of work between the parent exchange and each multicasted exchange. This means each sub exchange has its own individual unit of work.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1663,6 +1770,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('to', 'To', "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('type', 'Type', "Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('outType', 'Out Type', "Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
@@ -1671,6 +1779,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
new PropertyMeta('apiDocs', 'Api Docs', "Whether to include or exclude this rest operation in API documentation. The default value is true.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('deprecated', 'Deprecated', "Marks this rest operation as deprecated in OpenApi documentation.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('routeId', 'Route Id', "Sets the id of the route", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('param', 'param', "param", 'ParamDefinition', '', '', false, false, true, true, '', ''),
@@ -1679,10 +1788,12 @@ export const CamelModelMetadata: ElementMeta[] = [
]),
new ElementMeta('transform', 'TransformDefinition', 'Transform', "Transforms the message body based on an expression", 'eip,transformation', [
new PropertyMeta('expression', 'Expression', "Expression to return the transformed message body (the new message body to use)", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('doTry', 'TryDefinition', 'Do Try', "Marks the beginning of a try, catch, finally block", 'error', [
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('doCatch', 'doCatch', "doCatch", 'CatchDefinition', '', '', false, false, true, true, '', ''),
@@ -1694,11 +1805,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('uriDelimiter', 'Uri Delimiter', "Sets the uri delimiter to use", 'string', '', ',', false, false, false, false, '', ''),
new PropertyMeta('ignoreInvalidEndpoints', 'Ignore Invalid Endpoints', "Ignore the invalidate endpoint exception when try to create a producer with that endpoint", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('cacheSize', 'Cache Size', "Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this routing slip, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prot [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('script', 'ScriptDefinition', 'Script', "Executes a script from a language which does not change the message body.", 'eip,transformation', [
new PropertyMeta('expression', 'Expression', "Expression to return the transformed message body (the new message body to use)", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1707,11 +1820,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('asyncDelayed', 'Async Delayed', "Enables asynchronous delay which means the thread will not block while delaying.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('callerRunsWhenRejected', 'Caller Runs When Rejected', "Whether or not the caller should run the task when it was rejected by the thread pool. Is by default true", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('executorService', 'Executor Service', "To use a custom Thread Pool if asyncDelay has been enabled.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('inOnly', 'InOnlyDefinition', 'In Only', "Marks the exchange pattern for the route to one way", 'eip,routing', [
new PropertyMeta('uri', 'Uri', "Sets the uri of the endpoint to send to.", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('parameters', 'parameters', "parameters", 'object', '', '', false, false, false, false, '', ''),
@@ -1735,6 +1850,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('ignoreInvalidEndpoint', 'Ignore Invalid Endpoint', "Ignore the invalidate endpoint exception when try to create a producer with that endpoint", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('allowOptimisedComponents', 'Allow Optimised Components', "Whether to allow components to optimise toD if they are org.apache.camel.spi.SendDynamicAware .", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('autoStartComponents', 'Auto Start Components', "Whether to auto startup components when toD is starting up.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('parameters', 'parameters', "parameters", 'object', '', '', false, false, false, false, '', ''),
@@ -1758,6 +1874,7 @@ export const CamelModelMetadata: ElementMeta[] = [
]),
new ElementMeta('interceptFrom', 'InterceptFromDefinition', 'Intercept From', "Intercepts incoming messages", 'configuration', [
new PropertyMeta('uri', 'Uri', "Intercept incoming messages from the uri or uri pattern. If this option is not configured, then all incoming messages is intercepted.", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -1794,12 +1911,14 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('completionEager', 'Completion Eager', "Sets whether to complete the idempotent consumer eager or when the exchange is done. If this option is true to complete eager, then the idempotent consumer will trigger its completion when the exchange reached the end of the block of the idempotent consumer pattern. So if the exchange is continued routed after the block ends, then whatever happens there does not affect the state. If this option is false (default) to not com [...]
new PropertyMeta('skipDuplicate', 'Skip Duplicate', "Sets whether to skip duplicates or not. The default behavior is to skip duplicates. A duplicate message would have the Exchange property org.apache.camel.Exchange#DUPLICATE_MESSAGE set to a Boolean#TRUE value. A none duplicate message will not have this property set.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('removeOnFailure', 'Remove On Failure', "Sets whether to remove or keep the key on failure. The default behavior is to remove the key on failure.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
]),
new ElementMeta('removeHeader', 'RemoveHeaderDefinition', 'Remove Header', "Removes a named header from the message", 'eip,transformation', [
new PropertyMeta('name', 'Name', "Name of header to remove", 'string', '', '', true, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1823,6 +1942,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('to', 'To', "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('type', 'Type', "Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('outType', 'Out Type', "Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
@@ -1831,6 +1951,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
new PropertyMeta('apiDocs', 'Api Docs', "Whether to include or exclude this rest operation in API documentation. The default value is true.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('deprecated', 'Deprecated', "Marks this rest operation as deprecated in OpenApi documentation.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('routeId', 'Route Id', "Sets the id of the route", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('param', 'param', "param", 'ParamDefinition', '', '', false, false, true, true, '', ''),
@@ -1841,11 +1962,13 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('message', 'Message', "Message to use in rollback exception", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('markRollbackOnly', 'Mark Rollback Only', "Mark the transaction for rollback only (cannot be overruled to commit)", 'boolean', '', 'false', false, false, false, false, '', ''),
new PropertyMeta('markRollbackOnlyLast', 'Mark Rollback Only Last', "Mark only last sub transaction for rollback only. When using sub transactions (if the transaction manager support this)", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
new ElementMeta('resequence', 'ResequenceDefinition', 'Resequence', "Resequences (re-order) messages based on an expression", 'eip,routing', [
new PropertyMeta('expression', 'Expression', "Expression to use for re-ordering the messages, such as a header with a sequence number", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('batchConfig', 'batchConfig', "batchConfig", 'BatchResequencerConfig', '', '', false, false, false, true, '', ''),
@@ -1857,6 +1980,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('uriDelimiter', 'Uri Delimiter', "Sets the uri delimiter to use", 'string', '', ',', false, false, false, false, '', ''),
new PropertyMeta('ignoreInvalidEndpoints', 'Ignore Invalid Endpoints', "Ignore the invalidate endpoint exception when try to create a producer with that endpoint", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('cacheSize', 'Cache Size', "Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this dynamic router, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as pr [...]
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1865,6 +1989,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('to', 'To', "The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('type', 'Type', "Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('outType', 'Out Type', "Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
@@ -1873,6 +1998,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('enableCors', 'enableCors', "enableCors", 'boolean', '', '', false, false, false, false, '', ''),
new PropertyMeta('apiDocs', 'Api Docs', "Whether to include or exclude this rest operation in API documentation. The default value is true.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('deprecated', 'Deprecated', "Marks this rest operation as deprecated in OpenApi documentation.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('routeId', 'Route Id', "Sets the id of the route", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('param', 'param', "param", 'ParamDefinition', '', '', false, false, true, true, '', ''),
@@ -1885,6 +2011,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('logName', 'Log Name', "Sets the name of the logger", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('marker', 'Marker', "To use slf4j marker", 'string', '', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('logger', 'Logger', "To refer to a custom logger instance to lookup from the registry.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1904,6 +2031,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('onPrepare', 'On Prepare', "Uses the Processor when preparing the org.apache.camel.Exchange to be used send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send.", 'string', '', '', false, false, false, false, 'advanced', 'org.apache.camel.Processor'),
new PropertyMeta('cacheSize', 'Cache Size', "Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this recipient list, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as pr [...]
new PropertyMeta('shareUnitOfWork', 'Share Unit Of Work', "Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Recipient List will by default not share unit of work between the parent exchange and each recipient exchange. This means each sub exchange has its own individual unit of work.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -1911,6 +2039,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('path', 'Path', "Path of the rest service, such as /foo", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('consumes', 'Consumes', "To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('produces', 'Produces', "To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('bindingMode', 'Binding Mode', "Sets the binding mode to use. This option will override what may be configured on a parent level The default value is auto", 'string', 'off, auto, json, xml, json_xml', 'off', false, false, false, false, '', ''),
new PropertyMeta('skipBindingOnErrorCode', 'Skip Binding On Error Code', "Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('clientRequestValidation', 'Client Request Validation', "Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body [...]
@@ -1960,6 +2089,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('serviceChooserRef', 'Service Chooser Ref', "Sets a reference to a custom ServiceChooser to use.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('loadBalancerRef', 'Load Balancer Ref', "Sets a reference to a custom ServiceLoadBalancer to use.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('expressionRef', 'Expression Ref', "Set a reference to a custom Expression to use.", 'string', '', '', false, false, false, false, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('blacklistServiceFilter', 'blacklistServiceFilter', "blacklistServiceFilter", 'BlacklistServiceCallServiceFilterConfiguration', '', '', false, false, false, true, '', ''),
@@ -1994,6 +2124,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('threadName', 'Thread Name', "Sets the thread name to use.", 'string', '', 'Threads', false, false, false, false, '', ''),
new PropertyMeta('rejectedPolicy', 'Rejected Policy', "Sets the handler for tasks which cannot be executed by the thread pool.", 'string', 'Abort, CallerRuns, DiscardOldest, Discard', '', false, false, false, false, 'advanced', ''),
new PropertyMeta('callerRunsWhenRejected', 'Caller Runs When Rejected', "Whether or not to use as caller runs as fallback when a task is rejected being added to the thread pool (when its full). This is only used as fallback if no rejectedPolicy has been configured, or the thread pool has no configured rejection handler. Is by default true", 'string', '', 'true', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -2001,6 +2132,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('type', 'Type', "The java type to convert to", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('mandatory', 'Mandatory', "When mandatory then the conversion must return a value (cannot be null), if this is not possible then NoTypeConversionAvailableException is thrown. Setting this to false could mean conversion is not possible and the value is null.", 'boolean', '', 'true', false, false, false, false, 'advanced', ''),
new PropertyMeta('charset', 'Charset', "To use a specific charset when converting", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -2012,6 +2144,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new PropertyMeta('uri', 'Uri', "Intercept sending to the uri or uri pattern.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('skipSendToOriginalEndpoint', 'Skip Send To Original Endpoint', "If set to true then the message is not sent to the original endpoint. By default (false) the message is both intercepted and then sent to the original endpoint.", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('afterUri', 'After Uri', "After sending to the endpoint then send the message to this uri which allows to process its result.", 'string', '', '', false, false, false, false, 'advanced', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('steps', 'steps', "steps", 'CamelElement', '', '', false, false, true, true, '', ''),
@@ -2029,6 +2162,7 @@ export const CamelModelMetadata: ElementMeta[] = [
new ElementMeta('setHeader', 'SetHeaderDefinition', 'Set Header', "Sets the value of a message header", 'eip,transformation', [
new PropertyMeta('name', 'Name', "Name of message header to set a new value The simple language can be used to define a dynamic evaluated header name to be used. Otherwise a constant name will be used.", 'string', '', '', true, false, false, false, '', ''),
new PropertyMeta('expression', 'Expression', "Expression to return the value of the header", 'ExpressionDefinition', '', '', true, false, false, true, '', ''),
+ new PropertyMeta('disabled', 'Disabled', "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
new PropertyMeta('id', 'Id', "Sets the id of this node", 'string', '', '', false, false, false, false, '', ''),
new PropertyMeta('description', 'Description', "Sets the description of this node", 'string', '', '', false, false, false, false, '', ''),
]),
@@ -2074,6 +2208,7 @@ export const SensitiveKeys: string[] = [
"systemid",
"oauthappsecret",
"secretkey",
+ "webhookverifytoken",
"privatekeypassword",
"login",
"sourceblobaccesskey",
diff --git a/karavan-demo/jms-to-kafka/docs/README.md b/karavan-demo/jms-to-kafka/docs/README.md
index fe4365e..7e29e14 100644
--- a/karavan-demo/jms-to-kafka/docs/README.md
+++ b/karavan-demo/jms-to-kafka/docs/README.md
@@ -26,7 +26,7 @@ docker-compose up
### Start integration
```
-jbang -Dcamel.jbang.version=3.18.4 camel@apache/camel run *
+jbang -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel run *
```
### Publish payment to JMS
diff --git a/karavan-generator/pom.xml b/karavan-generator/pom.xml
index db275d0..692b07a 100644
--- a/karavan-generator/pom.xml
+++ b/karavan-generator/pom.xml
@@ -31,7 +31,7 @@
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>2.14.0.Final</quarkus.platform.version>
<surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
- <version.camel-core>3.18.4</version.camel-core>
+ <version.camel-core>3.20.0-SNAPSHOT</version.camel-core>
<version.camel-kamelet>0.10.0</version.camel-kamelet>
</properties>
<dependencyManagement>
diff --git a/karavan-operator/src/main/resources/quarkus-builder-script-kubernetes.sh b/karavan-operator/src/main/resources/quarkus-builder-script-kubernetes.sh
index d7eacb0..91d4aa3 100644
--- a/karavan-operator/src/main/resources/quarkus-builder-script-kubernetes.sh
+++ b/karavan-operator/src/main/resources/quarkus-builder-script-kubernetes.sh
@@ -14,7 +14,7 @@ fi
cd ${CHECKOUT_DIR}/$(inputs.params.project)
-entrypoint -Dcamel.jbang.version=3.18.4 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
+entrypoint -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
export LAST_COMMIT=$(git rev-parse --short HEAD)
export DATE=$(date '+%Y%m%d%H%M%S')
diff --git a/karavan-operator/src/main/resources/quarkus-builder-script-openshift.sh b/karavan-operator/src/main/resources/quarkus-builder-script-openshift.sh
index df60581..6fbb623 100644
--- a/karavan-operator/src/main/resources/quarkus-builder-script-openshift.sh
+++ b/karavan-operator/src/main/resources/quarkus-builder-script-openshift.sh
@@ -14,7 +14,7 @@ fi
cd ${CHECKOUT_DIR}/$(inputs.params.project)
-entrypoint -Dcamel.jbang.version=3.18.4 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
+entrypoint -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
export LAST_COMMIT=$(git rev-parse --short HEAD)
export DATE=$(date '+%Y%m%d%H%M%S')
diff --git a/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh b/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh
index 5643b34..63a6e71 100644
--- a/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh
+++ b/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh
@@ -14,7 +14,7 @@ fi
cd ${CHECKOUT_DIR}/$(inputs.params.project)
-entrypoint -Dcamel.jbang.version=3.18.4 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
+entrypoint -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
export LAST_COMMIT=$(git rev-parse --short HEAD)
export DATE=$(date '+%Y%m%d%H%M%S')
diff --git a/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh b/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh
index b2a9824..50b1fb6 100644
--- a/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh
+++ b/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh
@@ -14,7 +14,7 @@ fi
cd ${CHECKOUT_DIR}/$(inputs.params.project)
-entrypoint -Dcamel.jbang.version=3.18.4 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
+entrypoint -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR}
export LAST_COMMIT=$(git rev-parse --short HEAD)
export DATE=$(date '+%Y%m%d%H%M%S')
diff --git a/karavan-vscode/CHANGELOG.md b/karavan-vscode/CHANGELOG.md
index 60166af..656e01b 100644
--- a/karavan-vscode/CHANGELOG.md
+++ b/karavan-vscode/CHANGELOG.md
@@ -1,6 +1,7 @@
# Changelog
## 3.18.6
+0. Camel 3.20.0
1. Export to Quarkus and Springboot application in VS Code
2. Deploy to Kubernetes and Openshift from VS Code
3. Kamelets 0.10.0
diff --git a/karavan-vscode/README.md b/karavan-vscode/README.md
index d5416d6..9e0962b 100644
--- a/karavan-vscode/README.md
+++ b/karavan-vscode/README.md
@@ -72,7 +72,7 @@ Build-in catalogues:
* Run using CLI
```shell
- jbang -Dcamel.jbang.version=3.18.4 camel@apache/camel run $INTEGRATION.yaml --max-messages=10 --logging-level=info
+ jbang -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel run $INTEGRATION.yaml --max-messages=10 --logging-level=info
```
## Export integration to Maven project
@@ -82,7 +82,7 @@ Build-in catalogues:
* Export using CLI
```shell
- jbang -Dcamel.jbang.version=3.18.4 camel@apache/camel export --directory=export
+ jbang -Dcamel.jbang.version=3.20.0-SNAPSHOT camel@apache/camel export --directory=export
```
# Issues
diff --git a/karavan-vscode/package.json b/karavan-vscode/package.json
index a97e674..82af3ab 100644
--- a/karavan-vscode/package.json
+++ b/karavan-vscode/package.json
@@ -64,7 +64,7 @@
"properties": {
"camel.version": {
"type": "string",
- "default": "3.18.4",
+ "default": "3.20.0-SNAPSHOT",
"description": "Camel version",
"scope": "machine",
"order": 10
[camel-karavan] 02/03: Unused ui element
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit c1b1a56668bcba62cd18e5468cbc74519bc37c61
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Thu Dec 15 15:19:55 2022 -0500
Unused ui element
---
karavan-app/src/main/webui/src/projects/ProjectInfo.tsx | 2 --
1 file changed, 2 deletions(-)
diff --git a/karavan-app/src/main/webui/src/projects/ProjectInfo.tsx b/karavan-app/src/main/webui/src/projects/ProjectInfo.tsx
index 19ae678..bd76f0a 100644
--- a/karavan-app/src/main/webui/src/projects/ProjectInfo.tsx
+++ b/karavan-app/src/main/webui/src/projects/ProjectInfo.tsx
@@ -282,7 +282,6 @@ export class ProjectInfo extends React.Component<Props, State> {
getHealthPanel(env: string) {
const status = this.state.camelStatus;
- const registryStatus = status?.registryStatus;
const routesStatus = status?.routesStatus;
const consumersStatus = status?.consumerStatus;
const contextStatus = status?.contextStatus;
@@ -294,7 +293,6 @@ export class ProjectInfo extends React.Component<Props, State> {
<Label icon={this.getStatusIcon(contextStatus)} color={this.getStatusColor(contextStatus)}>Context</Label>
<Label icon={this.getStatusIcon(consumersStatus)} color={this.getStatusColor(consumersStatus)}>Consumers</Label>
<Label icon={this.getStatusIcon(routesStatus)} color={this.getStatusColor(routesStatus)}>Routes</Label>
- <Label icon={this.getStatusIcon(registryStatus)} color={this.getStatusColor(registryStatus)}>Registry</Label>
</LabelGroup>
)
}
[camel-karavan] 01/03: Spring-boot stuff for #561
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit b3ce9d81811845b7f779d58246a0ffdbd12b1a6c
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Thu Dec 15 15:19:35 2022 -0500
Spring-boot stuff for #561
---
.../src/main/resources/spring-boot-builder-script-kubernetes.sh | 2 +-
.../src/main/resources/spring-boot-builder-script-openshift.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh b/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh
index 8f0f17f..5643b34 100644
--- a/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh
+++ b/karavan-operator/src/main/resources/spring-boot-builder-script-kubernetes.sh
@@ -24,4 +24,4 @@ export NAMESPACE=$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace)
/opt/mvnd/bin/mvnd package k8s:build k8s:resource k8s:apply \
-Pkubernetes \
-Djkube.namespace=${NAMESPACE} \
- -Djkube.generator.name=image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/$NAME:${DATE} \
\ No newline at end of file
+ -Djkube.generator.name=${IMAGE_REGISTRY}/${NAMESPACE}/$NAME:${DATE} \
\ No newline at end of file
diff --git a/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh b/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh
index 6330fd5..b2a9824 100644
--- a/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh
+++ b/karavan-operator/src/main/resources/spring-boot-builder-script-openshift.sh
@@ -24,4 +24,4 @@ export NAMESPACE=$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace)
/opt/mvnd/bin/mvnd package oc:build oc:resource oc:apply \
-Popenshift \
-Djkube.namespace=${NAMESPACE} \
- -Djkube.generator.name=image-registry.openshift-image-registry.svc:5000/${NAMESPACE}/$NAME:${DATE} \
+ -Djkube.generator.name=${IMAGE_REGISTRY}/${NAMESPACE}/$NAME:${DATE} \