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


The following commit(s) were added to refs/heads/main by this push:
     new 064a5285 Upgrade genarator #861
064a5285 is described below

commit 064a52852c563e6f68e02ec458efa977ee54e247
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Mon Aug 14 09:31:18 2023 -0400

    Upgrade genarator #861
---
 karavan-core/src/core/api/CamelDefinitionApi.ts    |  7 ++--
 .../src/core/api/CamelDefinitionYamlStep.ts        |  9 ++++-
 karavan-core/src/core/model/CamelDefinition.ts     | 15 ++++----
 karavan-core/src/core/model/CamelMetadata.ts       | 43 +++++++++++++---------
 karavan-generator/pom.xml                          |  2 +-
 5 files changed, 46 insertions(+), 30 deletions(-)

diff --git a/karavan-core/src/core/api/CamelDefinitionApi.ts 
b/karavan-core/src/core/api/CamelDefinitionApi.ts
index 25f97b4e..be175a50 100644
--- a/karavan-core/src/core/api/CamelDefinitionApi.ts
+++ b/karavan-core/src/core/api/CamelDefinitionApi.ts
@@ -1301,9 +1301,6 @@ export class CamelDefinitionApi {
     }
 
     static createSetExchangePatternDefinition = (element: any): 
SetExchangePatternDefinition => { 
-        if (element && typeof element === 'string') {
-            element = {pattern: element};
-        }
         const def = element ? new SetExchangePatternDefinition({...element}) : 
new SetExchangePatternDefinition();
         def.uuid = element?.uuid ? element.uuid : def.uuid; 
         return def;
@@ -2076,6 +2073,9 @@ export class CamelDefinitionApi {
         if (element?.mimeMultipart !== undefined) { 
             def.mimeMultipart = 
CamelDefinitionApi.createMimeMultipartDataFormat(element.mimeMultipart); 
         }
+        if (element?.parquetAvro !== undefined) { 
+            def.parquetAvro = 
CamelDefinitionApi.createParquetAvroDataFormat(element.parquetAvro); 
+        }
         if (element?.pgp !== undefined) { 
             def.pgp = CamelDefinitionApi.createPGPDataFormat(element.pgp); 
         }
@@ -3421,6 +3421,7 @@ export class CamelDefinitionApi {
             case 'PGPDataFormat': return 
CamelDefinitionApi.createPGPDataFormat(newBody);
             case 'UniVocityCsvDataFormat': return 
CamelDefinitionApi.createUniVocityCsvDataFormat(newBody);
             case 'SyslogDataFormat': return 
CamelDefinitionApi.createSyslogDataFormat(newBody);
+            case 'ParquetAvroDataFormat': return 
CamelDefinitionApi.createParquetAvroDataFormat(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 ec3d1e1e..6979b247 100644
--- a/karavan-core/src/core/api/CamelDefinitionYamlStep.ts
+++ b/karavan-core/src/core/api/CamelDefinitionYamlStep.ts
@@ -2127,7 +2127,7 @@ export class CamelDefinitionYamlStep {
     }
 
     static readSetExchangePatternDefinition = (element: any): 
SetExchangePatternDefinition => {
-        if (element && typeof element === 'string') element = {pattern: 
element};
+        
         let def = element ? new SetExchangePatternDefinition({...element}) : 
new SetExchangePatternDefinition();
 
         return def;
@@ -3395,6 +3395,13 @@ export class CamelDefinitionYamlStep {
                def.jaxb = 
CamelDefinitionYamlStep.readJaxbDataFormat(element.jaxb); 
             } 
         } 
+        if (element?.parquetAvro !== undefined) { 
+            if (Array.isArray(element.parquetAvro)) { 
+               def.parquetAvro = 
CamelDefinitionYamlStep.readParquetAvroDataFormat(element.parquetAvro[0]); 
+            } else { 
+               def.parquetAvro = 
CamelDefinitionYamlStep.readParquetAvroDataFormat(element.parquetAvro); 
+            } 
+        } 
         if (element?.rss !== undefined) { 
             if (Array.isArray(element.rss)) { 
                def.rss = 
CamelDefinitionYamlStep.readRssDataFormat(element.rss[0]); 
diff --git a/karavan-core/src/core/model/CamelDefinition.ts 
b/karavan-core/src/core/model/CamelDefinition.ts
index 5aa13156..3fcfc972 100644
--- a/karavan-core/src/core/model/CamelDefinition.ts
+++ b/karavan-core/src/core/model/CamelDefinition.ts
@@ -213,7 +213,7 @@ export class CircuitBreakerDefinition extends CamelElement {
 
 export class ClaimCheckDefinition extends CamelElement {
     stepName?: string = 'claimCheck';
-    operation: string = '';
+    operation?: string;
     key?: string;
     filter?: string;
     aggregationStrategy?: string;
@@ -990,7 +990,7 @@ export class RemovePropertyDefinition extends CamelElement {
 
 export class ResequenceDefinition extends CamelElement {
     stepName?: string = 'resequence';
-    expression: ExpressionDefinition = new ExpressionDefinition();
+    expression?: ExpressionDefinition;
     disabled?: boolean;
     id?: string = 'resequence-' + uuidv4().substring(0,4);
     description?: string;
@@ -1272,7 +1272,7 @@ export class SetBodyDefinition extends CamelElement {
 
 export class SetExchangePatternDefinition extends CamelElement {
     stepName?: string = 'setExchangePattern';
-    pattern: string = '';
+    pattern?: string;
     disabled?: boolean;
     id?: string = 'setExchangePattern-' + uuidv4().substring(0,4);
     description?: string;
@@ -2146,7 +2146,7 @@ export class Base64DataFormat extends CamelElement {
 
 export class BindyDataFormat extends CamelElement {
     dataFormatName?: string = 'bindy';
-    type: string = '';
+    type?: string;
     classType?: string;
     allowEmptyStream?: boolean;
     unwrapSingleInstance?: boolean;
@@ -2267,6 +2267,7 @@ export class DataFormatsDefinition extends CamelElement {
     jsonApi?: JsonApiDataFormat;
     lzf?: LZFDataFormat;
     mimeMultipart?: MimeMultipartDataFormat;
+    parquetAvro?: ParquetAvroDataFormat | string;
     pgp?: PGPDataFormat;
     protobuf?: ProtobufDataFormat | string;
     rss?: RssDataFormat;
@@ -2547,10 +2548,10 @@ export class PGPDataFormat extends CamelElement {
 }
 
 export class ParquetAvroDataFormat extends CamelElement {
-    dataFormatName?: string = 'parquetAvroDataFormat';
+    dataFormatName?: string = 'parquetAvro';
     compressionCodecName?: string;
-    id?: string = 'parquetAvroDataFormat-' + uuidv4().substring(0,4);
     unmarshalType?: string;
+    id?: string = 'parquetAvro-' + uuidv4().substring(0,4);
     public constructor(init?: Partial<ParquetAvroDataFormat>) {
         super('ParquetAvroDataFormat');
         Object.assign(this, init);
@@ -3528,7 +3529,7 @@ export class OpenIdConnectDefinition extends CamelElement 
{
 export class ParamDefinition extends CamelElement {
     stepName?: string = 'param';
     name: string = '';
-    type: string = '';
+    type?: string;
     defaultValue?: string;
     required?: boolean;
     collectionFormat?: string;
diff --git a/karavan-core/src/core/model/CamelMetadata.ts 
b/karavan-core/src/core/model/CamelMetadata.ts
index 1d1f0fe1..53f40d25 100644
--- a/karavan-core/src/core/model/CamelMetadata.ts
+++ b/karavan-core/src/core/model/CamelMetadata.ts
@@ -111,6 +111,7 @@ export const DataFormats: [string, string, string][] = [
     ['jsonApi','JSonApi',"Marshal and unmarshal JSON:API resources using 
JSONAPI-Converter library."],
     ['lzf','LZF Deflate Compression',"Compress and decompress streams using 
LZF deflate algorithm."],
     ['mimeMultipart','MIME Multipart',"Marshal Camel messages with attachments 
into MIME-Multipart messages and back."],
+    ['parquetAvro','Parquet File',"Parquet Avro serialization and 
de-serialization."],
     ['pgp','PGP',"Encrypt and decrypt messages using Java Cryptographic 
Extension (JCE) and PGP."],
     ['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."],
@@ -506,6 +507,11 @@ export const CamelDataFormatMetadata: ElementMeta[] = [
     new ElementMeta('syslog', 'SyslogDataFormat', 'Syslog', "Marshall 
SyslogMessages to RFC3164 and RFC5424 messages and back.", 
'dataformat,transformation,monitoring', [
         new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', 
false, false, false, false, '', ''),
     ]),
+    new ElementMeta('parquetAvro', 'ParquetAvroDataFormat', 'Parquet File', 
"Parquet Avro serialization and de-serialization.", 
'dataformat,transformation,file', [
+        new PropertyMeta('compressionCodecName', 'Compression Codec Name', 
"Compression codec to use when marshalling.", 'string', '', 'GZIP', false, 
false, false, false, '', ''),
+        new PropertyMeta('unmarshalType', 'Unmarshal Type', "Class to use when 
(un)marshalling. If omitted, parquet files are converted into Avro's 
GenericRecords for unmarshalling and input objects are assumed as 
GenericRecords for marshalling.", 'string', '', '', false, false, false, false, 
'', ''),
+        new PropertyMeta('id', 'Id', "The id of this node", 'string', '', '', 
false, false, false, false, '', ''),
+    ]),
     new ElementMeta('fhirXml', 'FhirXmlDataFormat', 'FHIR XML', "Marshall and 
unmarshall FHIR objects to/from XML.", 'dataformat,transformation,hl7,xml', [
         new PropertyMeta('fhirVersion', 'Fhir Version', "The version of FHIR 
to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5", 'string', 
'DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5', 'R4', false, false, false, 
false, '', ''),
         new PropertyMeta('fhirContext', 'Fhir Context', "To use a custom fhir 
context. Reference to object of type ca.uhn.fhir.context.FhirContext", 
'string', '', '', false, false, false, false, 'advanced', ''),
@@ -1039,7 +1045,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('aggregationStrategyMethodAllowNull', 'Aggregation 
Strategy Method Allow Null', "If this option is false then the aggregate method 
is not used if there was no data to enrich. If this option is true then null 
values is used as the oldExchange (when no data to enrich), when using POJOs as 
the AggregationStrategy.", 'string', '', '', false, false, false, false, 
'advanced', ''),
         new PropertyMeta('aggregateOnException', 'Aggregate On Exception', "If 
this option is false then the aggregate method is not used if there was an 
exception thrown while trying to retrieve the data to enrich from the resource. 
Setting this option to true allows end users to control what to do if there was 
an exception in the aggregate method. For example to suppress the exception or 
set a custom message body etc.", 'boolean', '', 'false', false, false, false, 
false, 'advanced', ''),
         new PropertyMeta('shareUnitOfWork', 'Share Unit Of Work', "Shares the 
org.apache.camel.spi.UnitOfWork with the parent and the resource exchange. 
Enrich will by default not share unit of work between the parent exchange and 
the resource exchange. This means the resource exchange has its own individual 
unit of work.", '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 
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('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 off 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('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', ''),
@@ -1052,7 +1058,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('onFailureOnly', 'On Failure Only', "Will only 
synchronize when the org.apache.camel.Exchange ended with failure (exception or 
FAULT message).", 'boolean', '', 'false', false, false, false, false, '', ''),
         new PropertyMeta('parallelProcessing', 'Parallel Processing', "If 
enabled then the on completion process will run asynchronously by a separate 
thread from a thread pool. By default this is false, meaning the on completion 
process will run synchronously using the same caller thread as from the 
route.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
         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('useOriginalMessage', 'Use Original Message', "Will 
use the original input message body when an org.apache.camel.Exchange for this 
on completion. The original input message is defensively copied, and the copied 
message body is converted to org.apache.camel.StreamCache if possible (stream 
caching is enabled, can be disabled globally or on the original route), to 
ensure the body can be read when the original message is being used later. If 
the body is converted to  [...]
         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, '', ''),
@@ -1173,8 +1179,8 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('loggerRef', 'Logger Ref', "References to a logger to 
use as logger for the error handler", 'string', '', '', false, false, false, 
false, 'advanced', ''),
         new PropertyMeta('level', 'Level', "Logging level to use when using 
the logging error handler type.", 'string', 'TRACE, DEBUG, INFO, WARN, ERROR, 
OFF', 'ERROR', false, false, false, false, 'advanced', ''),
         new PropertyMeta('logName', 'Log Name', "Name of the logger to use for 
the logging error handler", '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('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('onRedeliveryRef', 'On Redelivery Ref', "Sets a 
reference to a processor that should be processed before a redelivery attempt. 
Can be used to change the org.apache.camel.Exchange before its being 
redelivered.", 'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
         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', 'org.apache.camel.Processor'),
         new PropertyMeta('onPrepareFailureRef', 'On Prepare Failure Ref', 
"Sets a reference to a processor to prepare the org.apache.camel.Exchange 
before handled by the failure processor / dead letter channel. This allows for 
example to enrich the message before sending to a dead letter queue.", 
'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
@@ -1288,7 +1294,7 @@ export const CamelModelMetadata: ElementMeta[] = [
     new ElementMeta('toD', 'ToDynamicDefinition', 'To D', "Sends the message 
to a dynamic endpoint", 'eip,routing', [
         new PropertyMeta('uri', 'Uri', "The uri of the endpoint to send to. 
The uri can be dynamic computed using the 
org.apache.camel.language.simple.SimpleLanguage expression.", 'string', '', '', 
true, false, false, false, '', ''),
         new PropertyMeta('pattern', 'Pattern', "Sets the optional 
ExchangePattern used to invoke this endpoint", 'string', 'InOnly, InOut', '', 
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 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('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 off caching 
by setting this to -1, which allows Camel to not cache both the producers and 
endpoints; they are regarded as p [...]
         new PropertyMeta('ignoreInvalidEndpoint', 'Ignore Invalid Endpoint', 
"Whether to ignore invalid endpoint URIs and skip sending the message.", 
'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', ''),
@@ -1522,7 +1528,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('aggregationStrategyMethodAllowNull', 'Aggregation 
Strategy Method Allow Null', "If this option is false then the aggregate method 
is not used if there was no data to enrich. If this option is true then null 
values is used as the oldExchange (when no data to enrich), when using POJOs as 
the AggregationStrategy.", 'string', '', '', false, false, false, false, 
'advanced', ''),
         new PropertyMeta('aggregateOnException', 'Aggregate On Exception', "If 
this option is false then the aggregate method is not used if there was an 
exception thrown while trying to retrieve the data to enrich from the resource. 
Setting this option to true allows end users to control what to do if there was 
an exception in the aggregate method. For example to suppress the exception or 
set a custom message body etc.", 'boolean', '', 'false', false, false, false, 
false, 'advanced', ''),
         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('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 off 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 stop [...]
         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, '', ''),
@@ -1634,6 +1640,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('jsonApi', 'jsonApi', "jsonApi", 'JsonApiDataFormat', 
'', '', false, false, false, true, '', ''),
         new PropertyMeta('lzf', 'lzf', "lzf", 'LZFDataFormat', '', '', false, 
false, false, true, '', ''),
         new PropertyMeta('mimeMultipart', 'mimeMultipart', "mimeMultipart", 
'MimeMultipartDataFormat', '', '', false, false, false, true, '', ''),
+        new PropertyMeta('parquetAvro', 'parquetAvro', "parquetAvro", 
'ParquetAvroDataFormat', '', '', false, false, false, true, '', ''),
         new PropertyMeta('pgp', 'pgp', "pgp", 'PGPDataFormat', '', '', false, 
false, false, true, '', ''),
         new PropertyMeta('protobuf', 'protobuf', "protobuf", 
'ProtobufDataFormat', '', '', false, false, false, true, '', ''),
         new PropertyMeta('rss', 'rss', "rss", 'RssDataFormat', '', '', false, 
false, false, true, '', ''),
@@ -1696,8 +1703,8 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('continued', 'Continued', "Sets whether the exchange 
should handle and continue routing from the point of failure. If this option is 
enabled then its considered handled as well.", 
'ExpressionSubElementDefinition', '', '', false, false, false, true, 
'advanced', ''),
         new PropertyMeta('onRedeliveryRef', 'On Redelivery Ref', "Sets a 
reference to a processor that should be processed before a redelivery attempt. 
Can be used to change the org.apache.camel.Exchange before its being 
redelivered.", 'string', '', '', false, false, false, false, 'advanced', ''),
         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('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, '', ''),
@@ -1755,8 +1762,8 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('loggerRef', 'Logger Ref', "References to a logger to 
use as logger for the error handler", 'string', '', '', false, false, false, 
false, 'advanced', ''),
         new PropertyMeta('level', 'Level', "Logging level to use when using 
the logging error handler type.", 'string', 'TRACE, DEBUG, INFO, WARN, ERROR, 
OFF', 'ERROR', false, false, false, false, 'advanced', ''),
         new PropertyMeta('logName', 'Log Name', "Name of the logger to use for 
the logging error handler", '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('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('onRedeliveryRef', 'On Redelivery Ref', "Sets a 
reference to a processor that should be processed before a redelivery attempt. 
Can be used to change the org.apache.camel.Exchange before its being 
redelivered.", 'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
         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', 'org.apache.camel.Processor'),
         new PropertyMeta('onPrepareFailureRef', 'On Prepare Failure Ref', 
"Sets a reference to a processor to prepare the org.apache.camel.Exchange 
before handled by the failure processor / dead letter channel. This allows for 
example to enrich the message before sending to a dead letter queue.", 
'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
@@ -1807,7 +1814,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('expression', 'Expression', "Expression to define the 
routing slip, which defines which endpoints to route the message in a pipeline 
style. Notice the expression is evaluated once, if you want a more dynamic 
style, then the dynamic router eip is a better choice.", 
'ExpressionDefinition', '', '', true, false, false, true, '', ''),
         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('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 off caching by setting 
this to -1, which allows Camel to not cache both the producers and endpoints; 
they are regarded as pro [...]
         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, '', ''),
@@ -1842,7 +1849,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('executorService', 'Executor Service', "Uses a custom 
thread pool", 'string', '', '', false, false, false, false, 'advanced', ''),
         new PropertyMeta('uri', 'Uri', "The uri of the endpoint to send to. 
The uri can be dynamic computed using the 
org.apache.camel.language.simple.SimpleLanguage expression.", 'string', '', '', 
true, false, false, false, '', ''),
         new PropertyMeta('pattern', 'Pattern', "Sets the optional 
ExchangePattern used to invoke this endpoint", 'string', 'InOnly, InOut', '', 
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 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('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 off caching 
by setting this to -1, which allows Camel to not cache both the producers and 
endpoints; they are regarded as p [...]
         new PropertyMeta('ignoreInvalidEndpoint', 'Ignore Invalid Endpoint', 
"Whether to ignore invalid endpoint URIs and skip sending the message.", 
'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', ''),
@@ -1881,8 +1888,8 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('loggerRef', 'Logger Ref', "References to a logger to 
use as logger for the error handler", 'string', '', '', false, false, false, 
false, 'advanced', ''),
         new PropertyMeta('level', 'Level', "Logging level to use when using 
the logging error handler type.", 'string', 'TRACE, DEBUG, INFO, WARN, ERROR, 
OFF', 'ERROR', false, false, false, false, 'advanced', ''),
         new PropertyMeta('logName', 'Log Name', "Name of the logger to use for 
the logging error handler", '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('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('onRedeliveryRef', 'On Redelivery Ref', "Sets a 
reference to a processor that should be processed before a redelivery attempt. 
Can be used to change the org.apache.camel.Exchange before its being 
redelivered.", 'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
         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', 'org.apache.camel.Processor'),
         new PropertyMeta('onPrepareFailureRef', 'On Prepare Failure Ref', 
"Sets a reference to a processor to prepare the org.apache.camel.Exchange 
before handled by the failure processor / dead letter channel. This allows for 
example to enrich the message before sending to a dead letter queue.", 
'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
@@ -1975,7 +1982,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('expression', 'Expression', "Expression to call that 
returns the endpoint(s) to route to in the dynamic routing. Important: The 
expression will be called in a while loop fashion, until the expression returns 
null which means the dynamic router is finished.", 'ExpressionDefinition', '', 
'', true, false, false, true, '', ''),
         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('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 off caching 
by setting this to -1, which allows Camel to not cache both the producers and 
endpoints; they are regarded as p [...]
         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, '', ''),
@@ -2026,7 +2033,7 @@ export const CamelModelMetadata: ElementMeta[] = [
         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('streaming', 'Streaming', "If enabled then Camel will 
process replies out-of-order, eg in the order they come back. If disabled, 
Camel will process replies in the same order as defined by the recipient 
list.", 'boolean', '', 'false', false, false, false, false, 'advanced', ''),
         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('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 off caching 
by setting this to -1, which allows Camel to not cache both the producers and 
endpoints; they are regarded as p [...]
         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, '', ''),
@@ -2063,8 +2070,8 @@ export const CamelModelMetadata: ElementMeta[] = [
         new PropertyMeta('loggerRef', 'Logger Ref', "References to a logger to 
use as logger for the error handler", 'string', '', '', false, false, false, 
false, 'advanced', ''),
         new PropertyMeta('level', 'Level', "Logging level to use when using 
the logging error handler type.", 'string', 'TRACE, DEBUG, INFO, WARN, ERROR, 
OFF', 'ERROR', false, false, false, false, 'advanced', ''),
         new PropertyMeta('logName', 'Log Name', "Name of the logger to use for 
the logging error handler", '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('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('onRedeliveryRef', 'On Redelivery Ref', "Sets a 
reference to a processor that should be processed before a redelivery attempt. 
Can be used to change the org.apache.camel.Exchange before its being 
redelivered.", 'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
         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', 'org.apache.camel.Processor'),
         new PropertyMeta('onPrepareFailureRef', 'On Prepare Failure Ref', 
"Sets a reference to a processor to prepare the org.apache.camel.Exchange 
before handled by the failure processor / dead letter channel. This allows for 
example to enrich the message before sending to a dead letter queue.", 
'string', '', '', false, false, false, false, 'advanced', 
'org.apache.camel.Processor'),
diff --git a/karavan-generator/pom.xml b/karavan-generator/pom.xml
index 1768b671..1cd63bc6 100644
--- a/karavan-generator/pom.xml
+++ b/karavan-generator/pom.xml
@@ -28,7 +28,7 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <surefire-plugin.version>3.0.0-M5</surefire-plugin.version>
-        <version.camel-core>4.0.0-RC2</version.camel-core>
+        <version.camel-core>4.0.0</version.camel-core>
         <version.camel-kamelet>4.0.0-RC1</version.camel-kamelet>
         <version.vertx>4.4.3</version.vertx>
     </properties>

Reply via email to