karavan-core 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bebelrc +3 -0
- package/.mocharc.json +11 -0
- package/.prettierignore +9 -0
- package/.prettierrc +14 -0
- package/package.json +62 -0
- package/src/core/api/CamelDefinitionApi.ts +3271 -0
- package/src/core/api/CamelDefinitionApiExt.ts +757 -0
- package/src/core/api/CamelDefinitionYaml.ts +412 -0
- package/src/core/api/CamelDefinitionYamlStep.ts +4733 -0
- package/src/core/api/CamelDisplayUtil.ts +143 -0
- package/src/core/api/CamelUtil.ts +360 -0
- package/src/core/api/ComponentApi.ts +368 -0
- package/src/core/api/KameletApi.ts +147 -0
- package/src/core/api/MainConfigurationApi.ts +47 -0
- package/src/core/api/ProjectModelApi.ts +75 -0
- package/src/core/api/SpiBeanApi.ts +104 -0
- package/src/core/api/TemplateApi.ts +58 -0
- package/src/core/api/TopologyUtils.ts +392 -0
- package/src/core/api/VariableUtil.ts +104 -0
- package/src/core/model/CamelDefinition.ts +3783 -0
- package/src/core/model/CamelMetadata.ts +2714 -0
- package/src/core/model/ComponentModels.ts +106 -0
- package/src/core/model/IntegrationDefinition.ts +188 -0
- package/src/core/model/KameletModels.ts +223 -0
- package/src/core/model/MainConfigurationModel.ts +37 -0
- package/src/core/model/ProjectModel.ts +43 -0
- package/src/core/model/SpiBeanModels.ts +53 -0
- package/src/core/model/TopologyDefinition.ts +117 -0
- package/test/addStep.spec.ts +124 -0
- package/test/addStep1.yaml +27 -0
- package/test/allowableValues.camel.yaml +19 -0
- package/test/allowableValues.spec.ts +30 -0
- package/test/avro-serialize-action.kamelet.yaml +70 -0
- package/test/beans.spec.ts +92 -0
- package/test/beans1.yaml +36 -0
- package/test/beans2.yaml +42 -0
- package/test/beans3.yaml +7 -0
- package/test/checkRequired.spec.ts +53 -0
- package/test/circuitBreaker.spec.ts +57 -0
- package/test/circuitBreaker.yaml +19 -0
- package/test/cloneDefinition.spec.ts +106 -0
- package/test/createKamelet.spec.ts +38 -0
- package/test/cxf.json +615 -0
- package/test/cxf.spec.ts +44 -0
- package/test/cxf.yaml +15 -0
- package/test/deleteStep.spec.ts +74 -0
- package/test/demo.spec.ts +49 -0
- package/test/demo.yaml +32 -0
- package/test/doCatchOnWhen.camel.yaml +20 -0
- package/test/doCatchOnWhen.spec.ts +36 -0
- package/test/errorHandler.spec.ts +38 -0
- package/test/errorHandler1.yaml +27 -0
- package/test/expression.spec.ts +55 -0
- package/test/findStep.spec.ts +112 -0
- package/test/findStep.yaml +65 -0
- package/test/getElementProperties.spec.ts +32 -0
- package/test/getElementPropertiesByName.spec.ts +31 -0
- package/test/getExpressionLanguage.spec.ts +40 -0
- package/test/hasElementWithId.camel.yaml +98 -0
- package/test/hasElementWithId.spec.ts +57 -0
- package/test/hasElementWithId1.camel.yaml +16 -0
- package/test/hasElementWithIdError.camel.yaml +98 -0
- package/test/integration.spec.ts +60 -0
- package/test/integration1.yaml +24 -0
- package/test/integration2.yaml +23 -0
- package/test/integrationToYaml.spec.ts +51 -0
- package/test/intercept.spec.ts +62 -0
- package/test/intercept.yaml +19 -0
- package/test/is-not-integration.yaml +5114 -0
- package/test/isIntegration.spec.ts +45 -0
- package/test/kamelet.spec.ts +61 -0
- package/test/metadata/components.json +697 -0
- package/test/metadata/kamelets.yaml +23414 -0
- package/test/metadata/spiBeans.json +3094 -0
- package/test/multiObjectProperties.spec.ts +46 -0
- package/test/multiObjectProperties1.yaml +19 -0
- package/test/multiple.spec.ts +38 -0
- package/test/multiple.yaml +29 -0
- package/test/openapi.spec.ts +48 -0
- package/test/openapi.yaml +7 -0
- package/test/placeholder.spec.ts +32 -0
- package/test/placeholder.yaml +133 -0
- package/test/plain-try-catch.yaml +31 -0
- package/test/plain.spec.ts +72 -0
- package/test/plain1.yaml +22 -0
- package/test/plain2.yaml +13 -0
- package/test/plain3.yaml +5 -0
- package/test/plain4.yaml +5 -0
- package/test/postgresql-source.kamelet.yaml +113 -0
- package/test/restConfigDsl.yaml +15 -0
- package/test/restDsl.spec.ts +83 -0
- package/test/restDsl.yaml +29 -0
- package/test/routes.spec.ts +37 -0
- package/test/routes1.yaml +31 -0
- package/test/supported-components.json +1221 -0
- package/test/supportedComponents.spec.ts +34 -0
- package/test/template1.AggregationStrategy.java +21 -0
- package/test/template1.Processor.java +13 -0
- package/test/template2.AggregationStrategy.java +21 -0
- package/test/template2.Processor.java +13 -0
- package/test/templateApi.spec.ts +45 -0
- package/test/timer-source.kamelet.yaml +75 -0
- package/test/tod.spec.ts +31 -0
- package/test/tod.yaml +9 -0
- package/test/topology.spec.ts +51 -0
- package/test/topology1.camel.yaml +56 -0
- package/test/topology2.camel.yaml +44 -0
- package/test/topology3.camel.yaml +27 -0
- package/test/tsconfig.testing.json +14 -0
- package/test/updateStep.spec.ts +72 -0
- package/test/variable1.camel.yaml +42 -0
- package/test/variable2.camel.yaml +42 -0
- package/test/variables.spec.ts +34 -0
- package/tsconfig.json +34 -0
@@ -0,0 +1,3783 @@
|
|
1
|
+
/*
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one or more
|
3
|
+
* contributor license agreements. See the NOTICE file distributed with
|
4
|
+
* this work for additional information regarding copyright ownership.
|
5
|
+
* The ASF licenses this file to You under the Apache License, Version 2.0
|
6
|
+
* (the "License"); you may not use this file except in compliance with
|
7
|
+
* the License. You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Generated by karavan build tools - do NOT edit this file!
|
20
|
+
*/
|
21
|
+
import {v4 as uuidv4} from 'uuid';
|
22
|
+
import {CamelElement} from "./IntegrationDefinition";
|
23
|
+
export class ProcessorDefinition extends CamelElement {
|
24
|
+
stepName?: string = 'processor';
|
25
|
+
aggregate?: AggregateDefinition;
|
26
|
+
bean?: BeanDefinition | string;
|
27
|
+
doCatch?: CatchDefinition;
|
28
|
+
choice?: ChoiceDefinition;
|
29
|
+
circuitBreaker?: CircuitBreakerDefinition;
|
30
|
+
claimCheck?: ClaimCheckDefinition;
|
31
|
+
convertBodyTo?: ConvertBodyDefinition | string;
|
32
|
+
convertHeaderTo?: ConvertHeaderDefinition;
|
33
|
+
convertVariableTo?: ConvertVariableDefinition;
|
34
|
+
delay?: DelayDefinition;
|
35
|
+
dynamicRouter?: DynamicRouterDefinition;
|
36
|
+
enrich?: EnrichDefinition;
|
37
|
+
filter?: FilterDefinition;
|
38
|
+
doFinally?: FinallyDefinition;
|
39
|
+
idempotentConsumer?: IdempotentConsumerDefinition;
|
40
|
+
kamelet?: KameletDefinition | string;
|
41
|
+
loadBalance?: LoadBalanceDefinition;
|
42
|
+
log?: LogDefinition | string;
|
43
|
+
loop?: LoopDefinition;
|
44
|
+
marshal?: MarshalDefinition;
|
45
|
+
multicast?: MulticastDefinition;
|
46
|
+
onFallback?: OnFallbackDefinition;
|
47
|
+
otherwise?: OtherwiseDefinition;
|
48
|
+
pausable?: PausableDefinition;
|
49
|
+
pipeline?: PipelineDefinition;
|
50
|
+
policy?: PolicyDefinition;
|
51
|
+
poll?: PollDefinition | string;
|
52
|
+
pollEnrich?: PollEnrichDefinition;
|
53
|
+
process?: ProcessDefinition;
|
54
|
+
recipientList?: RecipientListDefinition;
|
55
|
+
removeHeader?: RemoveHeaderDefinition | string;
|
56
|
+
removeHeaders?: RemoveHeadersDefinition | string;
|
57
|
+
removeProperties?: RemovePropertiesDefinition | string;
|
58
|
+
removeProperty?: RemovePropertyDefinition | string;
|
59
|
+
removeVariable?: RemoveVariableDefinition | string;
|
60
|
+
resequence?: ResequenceDefinition;
|
61
|
+
resumable?: ResumableDefinition;
|
62
|
+
rollback?: RollbackDefinition | string;
|
63
|
+
routingSlip?: RoutingSlipDefinition | string;
|
64
|
+
saga?: SagaDefinition;
|
65
|
+
sample?: SamplingDefinition | string;
|
66
|
+
script?: ScriptDefinition;
|
67
|
+
setBody?: SetBodyDefinition;
|
68
|
+
setExchangePattern?: SetExchangePatternDefinition | string;
|
69
|
+
setHeader?: SetHeaderDefinition;
|
70
|
+
setHeaders?: SetHeadersDefinition;
|
71
|
+
setProperty?: SetPropertyDefinition;
|
72
|
+
setVariable?: SetVariableDefinition;
|
73
|
+
setVariables?: SetVariablesDefinition;
|
74
|
+
sort?: SortDefinition;
|
75
|
+
split?: SplitDefinition;
|
76
|
+
step?: StepDefinition;
|
77
|
+
stop?: StopDefinition;
|
78
|
+
threads?: ThreadsDefinition;
|
79
|
+
throttle?: ThrottleDefinition;
|
80
|
+
throwException?: ThrowExceptionDefinition;
|
81
|
+
to?: string;
|
82
|
+
toD?: string;
|
83
|
+
transacted?: TransactedDefinition;
|
84
|
+
transform?: TransformDefinition;
|
85
|
+
doTry?: TryDefinition;
|
86
|
+
unmarshal?: UnmarshalDefinition;
|
87
|
+
validate?: ValidateDefinition;
|
88
|
+
when?: WhenDefinition;
|
89
|
+
whenSkipSendToEndpoint?: WhenSkipSendToEndpointDefinition;
|
90
|
+
wireTap?: WireTapDefinition;
|
91
|
+
langChain4j?: LangChain4jTokenizerDefinition;
|
92
|
+
public constructor(init?: Partial<ProcessorDefinition>) {
|
93
|
+
super('ProcessorDefinition');
|
94
|
+
Object.assign(this, init);
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
export class BeansDeserializer extends CamelElement {
|
99
|
+
|
100
|
+
public constructor(init?: Partial<BeansDeserializer>) {
|
101
|
+
super('BeansDeserializer');
|
102
|
+
Object.assign(this, init);
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
export class ErrorHandlerDeserializer extends CamelElement {
|
107
|
+
deadLetterChannel?: DeadLetterChannelDefinition;
|
108
|
+
defaultErrorHandler?: DefaultErrorHandlerDefinition;
|
109
|
+
jtaTransactionErrorHandler?: JtaTransactionErrorHandlerDefinition;
|
110
|
+
noErrorHandler?: NoErrorHandlerDefinition;
|
111
|
+
refErrorHandler?: RefErrorHandlerDefinition | string;
|
112
|
+
springTransactionErrorHandler?: SpringTransactionErrorHandlerDefinition;
|
113
|
+
id?: string = 'errorHandlerDeserializer-' + uuidv4().substring(0,4);
|
114
|
+
public constructor(init?: Partial<ErrorHandlerDeserializer>) {
|
115
|
+
super('ErrorHandlerDeserializer');
|
116
|
+
Object.assign(this, init);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
|
120
|
+
export class OutputAwareFromDefinition extends CamelElement {
|
121
|
+
stepName?: string = 'outputAwareFrom';
|
122
|
+
description?: string;
|
123
|
+
id?: string = 'outputAwareFrom-' + uuidv4().substring(0,4);
|
124
|
+
parameters?: any = {};
|
125
|
+
steps: CamelElement[] = [];
|
126
|
+
uri: string = '';
|
127
|
+
variableReceive?: string;
|
128
|
+
public constructor(init?: Partial<OutputAwareFromDefinition>) {
|
129
|
+
super('OutputAwareFromDefinition');
|
130
|
+
Object.assign(this, init);
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
export class AggregateDefinition extends CamelElement {
|
135
|
+
stepName?: string = 'aggregate';
|
136
|
+
id?: string = 'aggregate-' + uuidv4().substring(0,4);
|
137
|
+
description?: string;
|
138
|
+
disabled?: boolean;
|
139
|
+
correlationExpression?: ExpressionSubElementDefinition;
|
140
|
+
completionPredicate?: ExpressionSubElementDefinition;
|
141
|
+
completionTimeoutExpression?: ExpressionSubElementDefinition;
|
142
|
+
completionSizeExpression?: ExpressionSubElementDefinition;
|
143
|
+
optimisticLockRetryPolicy?: OptimisticLockRetryPolicyDefinition;
|
144
|
+
parallelProcessing?: boolean;
|
145
|
+
optimisticLocking?: boolean;
|
146
|
+
executorService?: string;
|
147
|
+
timeoutCheckerExecutorService?: string;
|
148
|
+
aggregateController?: string;
|
149
|
+
aggregationRepository?: string;
|
150
|
+
aggregationStrategy: string = '';
|
151
|
+
aggregationStrategyMethodName?: string;
|
152
|
+
aggregationStrategyMethodAllowNull?: boolean;
|
153
|
+
completionSize?: number;
|
154
|
+
completionInterval?: string;
|
155
|
+
completionTimeout?: string;
|
156
|
+
completionTimeoutCheckerInterval?: string;
|
157
|
+
completionFromBatchConsumer?: boolean;
|
158
|
+
completionOnNewCorrelationGroup?: boolean;
|
159
|
+
eagerCheckCompletion?: boolean;
|
160
|
+
ignoreInvalidCorrelationKeys?: boolean;
|
161
|
+
closeCorrelationKeyOnCompletion?: number;
|
162
|
+
discardOnCompletionTimeout?: boolean;
|
163
|
+
discardOnAggregationFailure?: boolean;
|
164
|
+
forceCompletionOnStop?: boolean;
|
165
|
+
completeAllOnStop?: boolean;
|
166
|
+
steps?: CamelElement[] = [];
|
167
|
+
public constructor(init?: Partial<AggregateDefinition>) {
|
168
|
+
super('AggregateDefinition');
|
169
|
+
Object.assign(this, init);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
export class BeanDefinition extends CamelElement {
|
174
|
+
stepName?: string = 'bean';
|
175
|
+
id?: string = 'bean-' + uuidv4().substring(0,4);
|
176
|
+
description?: string;
|
177
|
+
disabled?: boolean;
|
178
|
+
ref?: string;
|
179
|
+
method?: string;
|
180
|
+
beanType?: string;
|
181
|
+
scope?: string;
|
182
|
+
public constructor(init?: Partial<BeanDefinition>) {
|
183
|
+
super('BeanDefinition');
|
184
|
+
Object.assign(this, init);
|
185
|
+
}
|
186
|
+
}
|
187
|
+
|
188
|
+
export class BeanFactoryDefinition extends CamelElement {
|
189
|
+
stepName?: string = 'beanFactory';
|
190
|
+
name: string = '';
|
191
|
+
type: string = '';
|
192
|
+
initMethod?: string;
|
193
|
+
destroyMethod?: string;
|
194
|
+
factoryMethod?: string;
|
195
|
+
factoryBean?: string;
|
196
|
+
builderClass?: string;
|
197
|
+
builderMethod?: string;
|
198
|
+
scriptLanguage?: string;
|
199
|
+
constructors?: any = {};
|
200
|
+
properties?: any = {};
|
201
|
+
script?: string;
|
202
|
+
public constructor(init?: Partial<BeanFactoryDefinition>) {
|
203
|
+
super('BeanFactoryDefinition');
|
204
|
+
Object.assign(this, init);
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
export class CatchDefinition extends CamelElement {
|
209
|
+
stepName?: string = 'doCatch';
|
210
|
+
id?: string = 'doCatch-' + uuidv4().substring(0,4);
|
211
|
+
description?: string;
|
212
|
+
disabled?: boolean;
|
213
|
+
exception?: string[] = [];
|
214
|
+
onWhen?: WhenDefinition;
|
215
|
+
steps?: CamelElement[] = [];
|
216
|
+
public constructor(init?: Partial<CatchDefinition>) {
|
217
|
+
super('CatchDefinition');
|
218
|
+
Object.assign(this, init);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
export class ChoiceDefinition extends CamelElement {
|
223
|
+
stepName?: string = 'choice';
|
224
|
+
id?: string = 'choice-' + uuidv4().substring(0,4);
|
225
|
+
description?: string;
|
226
|
+
disabled?: boolean;
|
227
|
+
when?: WhenDefinition[] = [];
|
228
|
+
otherwise?: OtherwiseDefinition;
|
229
|
+
precondition?: boolean;
|
230
|
+
public constructor(init?: Partial<ChoiceDefinition>) {
|
231
|
+
super('ChoiceDefinition');
|
232
|
+
Object.assign(this, init);
|
233
|
+
}
|
234
|
+
}
|
235
|
+
|
236
|
+
export class CircuitBreakerDefinition extends CamelElement {
|
237
|
+
stepName?: string = 'circuitBreaker';
|
238
|
+
id?: string = 'circuitBreaker-' + uuidv4().substring(0,4);
|
239
|
+
description?: string;
|
240
|
+
disabled?: boolean;
|
241
|
+
configuration?: string;
|
242
|
+
resilience4jConfiguration?: Resilience4jConfigurationDefinition;
|
243
|
+
faultToleranceConfiguration?: FaultToleranceConfigurationDefinition;
|
244
|
+
onFallback?: OnFallbackDefinition;
|
245
|
+
steps?: CamelElement[] = [];
|
246
|
+
public constructor(init?: Partial<CircuitBreakerDefinition>) {
|
247
|
+
super('CircuitBreakerDefinition');
|
248
|
+
Object.assign(this, init);
|
249
|
+
}
|
250
|
+
}
|
251
|
+
|
252
|
+
export class ClaimCheckDefinition extends CamelElement {
|
253
|
+
stepName?: string = 'claimCheck';
|
254
|
+
id?: string = 'claimCheck-' + uuidv4().substring(0,4);
|
255
|
+
description?: string;
|
256
|
+
disabled?: boolean;
|
257
|
+
operation?: string;
|
258
|
+
key?: string;
|
259
|
+
filter?: string;
|
260
|
+
aggregationStrategy?: string;
|
261
|
+
aggregationStrategyMethodName?: string;
|
262
|
+
public constructor(init?: Partial<ClaimCheckDefinition>) {
|
263
|
+
super('ClaimCheckDefinition');
|
264
|
+
Object.assign(this, init);
|
265
|
+
}
|
266
|
+
}
|
267
|
+
|
268
|
+
export class ContextScanDefinition extends CamelElement {
|
269
|
+
stepName?: string = 'contextScan';
|
270
|
+
includeNonSingletons?: boolean;
|
271
|
+
excludes?: string[] = [];
|
272
|
+
includes?: string[] = [];
|
273
|
+
public constructor(init?: Partial<ContextScanDefinition>) {
|
274
|
+
super('ContextScanDefinition');
|
275
|
+
Object.assign(this, init);
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
export class ConvertBodyDefinition extends CamelElement {
|
280
|
+
stepName?: string = 'convertBodyTo';
|
281
|
+
id?: string = 'convertBodyTo-' + uuidv4().substring(0,4);
|
282
|
+
description?: string;
|
283
|
+
disabled?: boolean;
|
284
|
+
type: string = '';
|
285
|
+
mandatory?: boolean;
|
286
|
+
charset?: string;
|
287
|
+
public constructor(init?: Partial<ConvertBodyDefinition>) {
|
288
|
+
super('ConvertBodyDefinition');
|
289
|
+
Object.assign(this, init);
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
export class ConvertHeaderDefinition extends CamelElement {
|
294
|
+
stepName?: string = 'convertHeaderTo';
|
295
|
+
id?: string = 'convertHeaderTo-' + uuidv4().substring(0,4);
|
296
|
+
description?: string;
|
297
|
+
disabled?: boolean;
|
298
|
+
name: string = '';
|
299
|
+
type: string = '';
|
300
|
+
toName?: string;
|
301
|
+
mandatory?: boolean;
|
302
|
+
charset?: string;
|
303
|
+
public constructor(init?: Partial<ConvertHeaderDefinition>) {
|
304
|
+
super('ConvertHeaderDefinition');
|
305
|
+
Object.assign(this, init);
|
306
|
+
}
|
307
|
+
}
|
308
|
+
|
309
|
+
export class ConvertVariableDefinition extends CamelElement {
|
310
|
+
stepName?: string = 'convertVariableTo';
|
311
|
+
id?: string = 'convertVariableTo-' + uuidv4().substring(0,4);
|
312
|
+
description?: string;
|
313
|
+
disabled?: boolean;
|
314
|
+
name: string = '';
|
315
|
+
type: string = '';
|
316
|
+
toName?: string;
|
317
|
+
mandatory?: boolean;
|
318
|
+
charset?: string;
|
319
|
+
public constructor(init?: Partial<ConvertVariableDefinition>) {
|
320
|
+
super('ConvertVariableDefinition');
|
321
|
+
Object.assign(this, init);
|
322
|
+
}
|
323
|
+
}
|
324
|
+
|
325
|
+
export class DataFormatDefinition extends CamelElement {
|
326
|
+
stepName?: string = 'dataFormat';
|
327
|
+
id?: string = 'dataFormat-' + uuidv4().substring(0,4);
|
328
|
+
public constructor(init?: Partial<DataFormatDefinition>) {
|
329
|
+
super('DataFormatDefinition');
|
330
|
+
Object.assign(this, init);
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
export class DelayDefinition extends CamelElement {
|
335
|
+
stepName?: string = 'delay';
|
336
|
+
id?: string = 'delay-' + uuidv4().substring(0,4);
|
337
|
+
description?: string;
|
338
|
+
disabled?: boolean;
|
339
|
+
expression?: ExpressionDefinition;
|
340
|
+
asyncDelayed?: boolean;
|
341
|
+
callerRunsWhenRejected?: boolean;
|
342
|
+
executorService?: string;
|
343
|
+
public constructor(init?: Partial<DelayDefinition>) {
|
344
|
+
super('DelayDefinition');
|
345
|
+
Object.assign(this, init);
|
346
|
+
}
|
347
|
+
}
|
348
|
+
|
349
|
+
export class DynamicRouterDefinition extends CamelElement {
|
350
|
+
stepName?: string = 'dynamicRouter';
|
351
|
+
id?: string = 'dynamicRouter-' + uuidv4().substring(0,4);
|
352
|
+
description?: string;
|
353
|
+
disabled?: boolean;
|
354
|
+
expression?: ExpressionDefinition;
|
355
|
+
uriDelimiter?: string;
|
356
|
+
ignoreInvalidEndpoints?: boolean;
|
357
|
+
cacheSize?: number;
|
358
|
+
public constructor(init?: Partial<DynamicRouterDefinition>) {
|
359
|
+
super('DynamicRouterDefinition');
|
360
|
+
Object.assign(this, init);
|
361
|
+
}
|
362
|
+
}
|
363
|
+
|
364
|
+
export class EnrichDefinition extends CamelElement {
|
365
|
+
stepName?: string = 'enrich';
|
366
|
+
id?: string = 'enrich-' + uuidv4().substring(0,4);
|
367
|
+
description?: string;
|
368
|
+
disabled?: boolean;
|
369
|
+
expression?: ExpressionDefinition;
|
370
|
+
variableSend?: string;
|
371
|
+
variableReceive?: string;
|
372
|
+
aggregationStrategy?: string;
|
373
|
+
aggregationStrategyMethodName?: string;
|
374
|
+
aggregationStrategyMethodAllowNull?: string;
|
375
|
+
aggregateOnException?: boolean;
|
376
|
+
shareUnitOfWork?: boolean;
|
377
|
+
cacheSize?: number;
|
378
|
+
ignoreInvalidEndpoint?: boolean;
|
379
|
+
allowOptimisedComponents?: boolean;
|
380
|
+
autoStartComponents?: boolean;
|
381
|
+
public constructor(init?: Partial<EnrichDefinition>) {
|
382
|
+
super('EnrichDefinition');
|
383
|
+
Object.assign(this, init);
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
export class ErrorHandlerDefinition extends CamelElement {
|
388
|
+
stepName?: string = 'errorHandler';
|
389
|
+
id?: string = 'errorHandler-' + uuidv4().substring(0,4);
|
390
|
+
deadLetterChannel?: DeadLetterChannelDefinition;
|
391
|
+
defaultErrorHandler?: DefaultErrorHandlerDefinition;
|
392
|
+
jtaTransactionErrorHandler?: JtaTransactionErrorHandlerDefinition;
|
393
|
+
noErrorHandler?: NoErrorHandlerDefinition;
|
394
|
+
refErrorHandler?: RefErrorHandlerDefinition | string;
|
395
|
+
springTransactionErrorHandler?: SpringTransactionErrorHandlerDefinition;
|
396
|
+
public constructor(init?: Partial<ErrorHandlerDefinition>) {
|
397
|
+
super('ErrorHandlerDefinition');
|
398
|
+
Object.assign(this, init);
|
399
|
+
}
|
400
|
+
}
|
401
|
+
|
402
|
+
export class ExpressionSubElementDefinition extends CamelElement {
|
403
|
+
stepName?: string = 'expressionSubElement';
|
404
|
+
constant?: ConstantExpression | string;
|
405
|
+
csimple?: CSimpleExpression | string;
|
406
|
+
datasonnet?: DatasonnetExpression | string;
|
407
|
+
exchangeProperty?: ExchangePropertyExpression | string;
|
408
|
+
groovy?: GroovyExpression | string;
|
409
|
+
header?: HeaderExpression | string;
|
410
|
+
hl7terser?: Hl7TerserExpression | string;
|
411
|
+
java?: JavaExpression | string;
|
412
|
+
jq?: JqExpression | string;
|
413
|
+
js?: JavaScriptExpression | string;
|
414
|
+
jsonpath?: JsonPathExpression | string;
|
415
|
+
language?: LanguageExpression;
|
416
|
+
method?: MethodCallExpression | string;
|
417
|
+
mvel?: MvelExpression | string;
|
418
|
+
ognl?: OgnlExpression | string;
|
419
|
+
python?: PythonExpression | string;
|
420
|
+
ref?: RefExpression | string;
|
421
|
+
simple?: SimpleExpression | string;
|
422
|
+
spel?: SpELExpression | string;
|
423
|
+
tokenize?: TokenizerExpression | string;
|
424
|
+
variable?: VariableExpression | string;
|
425
|
+
wasm?: WasmExpression | string;
|
426
|
+
xpath?: XPathExpression | string;
|
427
|
+
xquery?: XQueryExpression | string;
|
428
|
+
xtokenize?: XMLTokenizerExpression | string;
|
429
|
+
public constructor(init?: Partial<ExpressionSubElementDefinition>) {
|
430
|
+
super('ExpressionSubElementDefinition');
|
431
|
+
Object.assign(this, init);
|
432
|
+
}
|
433
|
+
}
|
434
|
+
|
435
|
+
export class FaultToleranceConfigurationDefinition extends CamelElement {
|
436
|
+
stepName?: string = 'faultToleranceConfiguration';
|
437
|
+
id?: string = 'faultToleranceConfiguration-' + uuidv4().substring(0,4);
|
438
|
+
circuitBreaker?: string;
|
439
|
+
delay?: string;
|
440
|
+
successThreshold?: number;
|
441
|
+
requestVolumeThreshold?: number;
|
442
|
+
failureRatio?: number;
|
443
|
+
timeoutEnabled?: boolean;
|
444
|
+
timeoutDuration?: string;
|
445
|
+
timeoutPoolSize?: number;
|
446
|
+
timeoutScheduledExecutorService?: string;
|
447
|
+
bulkheadEnabled?: boolean;
|
448
|
+
bulkheadMaxConcurrentCalls?: number;
|
449
|
+
bulkheadWaitingTaskQueue?: number;
|
450
|
+
bulkheadExecutorService?: string;
|
451
|
+
public constructor(init?: Partial<FaultToleranceConfigurationDefinition>) {
|
452
|
+
super('FaultToleranceConfigurationDefinition');
|
453
|
+
Object.assign(this, init);
|
454
|
+
}
|
455
|
+
}
|
456
|
+
|
457
|
+
export class FilterDefinition extends CamelElement {
|
458
|
+
stepName?: string = 'filter';
|
459
|
+
id?: string = 'filter-' + uuidv4().substring(0,4);
|
460
|
+
description?: string;
|
461
|
+
disabled?: boolean;
|
462
|
+
expression?: ExpressionDefinition;
|
463
|
+
statusPropertyName?: string;
|
464
|
+
steps?: CamelElement[] = [];
|
465
|
+
public constructor(init?: Partial<FilterDefinition>) {
|
466
|
+
super('FilterDefinition');
|
467
|
+
Object.assign(this, init);
|
468
|
+
}
|
469
|
+
}
|
470
|
+
|
471
|
+
export class FinallyDefinition extends CamelElement {
|
472
|
+
stepName?: string = 'doFinally';
|
473
|
+
id?: string = 'doFinally-' + uuidv4().substring(0,4);
|
474
|
+
description?: string;
|
475
|
+
disabled?: boolean;
|
476
|
+
steps?: CamelElement[] = [];
|
477
|
+
public constructor(init?: Partial<FinallyDefinition>) {
|
478
|
+
super('FinallyDefinition');
|
479
|
+
Object.assign(this, init);
|
480
|
+
}
|
481
|
+
}
|
482
|
+
|
483
|
+
export class FromDefinition extends CamelElement {
|
484
|
+
stepName?: string = 'from';
|
485
|
+
id?: string = 'from-' + uuidv4().substring(0,4);
|
486
|
+
description?: string;
|
487
|
+
uri: string = '';
|
488
|
+
variableReceive?: string;
|
489
|
+
parameters?: any = {};
|
490
|
+
steps: CamelElement[] = [];
|
491
|
+
public constructor(init?: Partial<FromDefinition>) {
|
492
|
+
super('FromDefinition');
|
493
|
+
Object.assign(this, init);
|
494
|
+
}
|
495
|
+
}
|
496
|
+
|
497
|
+
export class GlobalOptionDefinition extends CamelElement {
|
498
|
+
stepName?: string = 'globalOption';
|
499
|
+
key: string = '';
|
500
|
+
value: string = '';
|
501
|
+
public constructor(init?: Partial<GlobalOptionDefinition>) {
|
502
|
+
super('GlobalOptionDefinition');
|
503
|
+
Object.assign(this, init);
|
504
|
+
}
|
505
|
+
}
|
506
|
+
|
507
|
+
export class GlobalOptionsDefinition extends CamelElement {
|
508
|
+
stepName?: string = 'globalOptions';
|
509
|
+
globalOption?: GlobalOptionDefinition[] = [];
|
510
|
+
public constructor(init?: Partial<GlobalOptionsDefinition>) {
|
511
|
+
super('GlobalOptionsDefinition');
|
512
|
+
Object.assign(this, init);
|
513
|
+
}
|
514
|
+
}
|
515
|
+
|
516
|
+
export class IdempotentConsumerDefinition extends CamelElement {
|
517
|
+
stepName?: string = 'idempotentConsumer';
|
518
|
+
id?: string = 'idempotentConsumer-' + uuidv4().substring(0,4);
|
519
|
+
description?: string;
|
520
|
+
disabled?: boolean;
|
521
|
+
expression?: ExpressionDefinition;
|
522
|
+
idempotentRepository: string = '';
|
523
|
+
eager?: boolean;
|
524
|
+
completionEager?: boolean;
|
525
|
+
skipDuplicate?: boolean;
|
526
|
+
removeOnFailure?: boolean;
|
527
|
+
steps?: CamelElement[] = [];
|
528
|
+
public constructor(init?: Partial<IdempotentConsumerDefinition>) {
|
529
|
+
super('IdempotentConsumerDefinition');
|
530
|
+
Object.assign(this, init);
|
531
|
+
}
|
532
|
+
}
|
533
|
+
|
534
|
+
export class InputTypeDefinition extends CamelElement {
|
535
|
+
stepName?: string = 'inputType';
|
536
|
+
id?: string = 'inputType-' + uuidv4().substring(0,4);
|
537
|
+
description?: string;
|
538
|
+
urn: string = '';
|
539
|
+
validate?: boolean;
|
540
|
+
public constructor(init?: Partial<InputTypeDefinition>) {
|
541
|
+
super('InputTypeDefinition');
|
542
|
+
Object.assign(this, init);
|
543
|
+
}
|
544
|
+
}
|
545
|
+
|
546
|
+
export class InterceptDefinition extends CamelElement {
|
547
|
+
stepName?: string = 'intercept';
|
548
|
+
id?: string = 'intercept-' + uuidv4().substring(0,4);
|
549
|
+
description?: string;
|
550
|
+
disabled?: boolean;
|
551
|
+
steps?: CamelElement[] = [];
|
552
|
+
public constructor(init?: Partial<InterceptDefinition>) {
|
553
|
+
super('InterceptDefinition');
|
554
|
+
Object.assign(this, init);
|
555
|
+
}
|
556
|
+
}
|
557
|
+
|
558
|
+
export class InterceptFromDefinition extends CamelElement {
|
559
|
+
stepName?: string = 'interceptFrom';
|
560
|
+
id?: string = 'interceptFrom-' + uuidv4().substring(0,4);
|
561
|
+
description?: string;
|
562
|
+
disabled?: boolean;
|
563
|
+
uri?: string;
|
564
|
+
steps?: CamelElement[] = [];
|
565
|
+
public constructor(init?: Partial<InterceptFromDefinition>) {
|
566
|
+
super('InterceptFromDefinition');
|
567
|
+
Object.assign(this, init);
|
568
|
+
}
|
569
|
+
}
|
570
|
+
|
571
|
+
export class InterceptSendToEndpointDefinition extends CamelElement {
|
572
|
+
stepName?: string = 'interceptSendToEndpoint';
|
573
|
+
id?: string = 'interceptSendToEndpoint-' + uuidv4().substring(0,4);
|
574
|
+
description?: string;
|
575
|
+
disabled?: boolean;
|
576
|
+
uri: string = '';
|
577
|
+
skipSendToOriginalEndpoint?: string;
|
578
|
+
afterUri?: string;
|
579
|
+
steps?: CamelElement[] = [];
|
580
|
+
public constructor(init?: Partial<InterceptSendToEndpointDefinition>) {
|
581
|
+
super('InterceptSendToEndpointDefinition');
|
582
|
+
Object.assign(this, init);
|
583
|
+
}
|
584
|
+
}
|
585
|
+
|
586
|
+
export class KameletDefinition extends CamelElement {
|
587
|
+
stepName?: string = 'kamelet';
|
588
|
+
name: string = '';
|
589
|
+
parameters?: any = {};
|
590
|
+
public constructor(init?: Partial<KameletDefinition>) {
|
591
|
+
super('KameletDefinition');
|
592
|
+
Object.assign(this, init);
|
593
|
+
}
|
594
|
+
}
|
595
|
+
|
596
|
+
export class LoadBalanceDefinition extends CamelElement {
|
597
|
+
stepName?: string = 'loadBalance';
|
598
|
+
id?: string = 'loadBalance-' + uuidv4().substring(0,4);
|
599
|
+
description?: string;
|
600
|
+
disabled?: boolean;
|
601
|
+
inheritErrorHandler?: boolean;
|
602
|
+
customLoadBalancer?: CustomLoadBalancerDefinition | string;
|
603
|
+
failoverLoadBalancer?: FailoverLoadBalancerDefinition;
|
604
|
+
randomLoadBalancer?: RandomLoadBalancerDefinition;
|
605
|
+
roundRobinLoadBalancer?: RoundRobinLoadBalancerDefinition;
|
606
|
+
stickyLoadBalancer?: StickyLoadBalancerDefinition;
|
607
|
+
topicLoadBalancer?: TopicLoadBalancerDefinition;
|
608
|
+
weightedLoadBalancer?: WeightedLoadBalancerDefinition;
|
609
|
+
steps?: CamelElement[] = [];
|
610
|
+
public constructor(init?: Partial<LoadBalanceDefinition>) {
|
611
|
+
super('LoadBalanceDefinition');
|
612
|
+
Object.assign(this, init);
|
613
|
+
}
|
614
|
+
}
|
615
|
+
|
616
|
+
export class LogDefinition extends CamelElement {
|
617
|
+
stepName?: string = 'log';
|
618
|
+
id?: string = 'log-' + uuidv4().substring(0,4);
|
619
|
+
description?: string;
|
620
|
+
disabled?: boolean;
|
621
|
+
message: string = '';
|
622
|
+
loggingLevel?: string;
|
623
|
+
logName?: string;
|
624
|
+
marker?: string;
|
625
|
+
logger?: string;
|
626
|
+
public constructor(init?: Partial<LogDefinition>) {
|
627
|
+
super('LogDefinition');
|
628
|
+
Object.assign(this, init);
|
629
|
+
}
|
630
|
+
}
|
631
|
+
|
632
|
+
export class LoopDefinition extends CamelElement {
|
633
|
+
stepName?: string = 'loop';
|
634
|
+
id?: string = 'loop-' + uuidv4().substring(0,4);
|
635
|
+
description?: string;
|
636
|
+
disabled?: boolean;
|
637
|
+
expression?: ExpressionDefinition;
|
638
|
+
copy?: boolean;
|
639
|
+
doWhile?: boolean;
|
640
|
+
breakOnShutdown?: boolean;
|
641
|
+
steps?: CamelElement[] = [];
|
642
|
+
public constructor(init?: Partial<LoopDefinition>) {
|
643
|
+
super('LoopDefinition');
|
644
|
+
Object.assign(this, init);
|
645
|
+
}
|
646
|
+
}
|
647
|
+
|
648
|
+
export class MarshalDefinition extends CamelElement {
|
649
|
+
stepName?: string = 'marshal';
|
650
|
+
id?: string = 'marshal-' + uuidv4().substring(0,4);
|
651
|
+
description?: string;
|
652
|
+
disabled?: boolean;
|
653
|
+
variableSend?: string;
|
654
|
+
variableReceive?: string;
|
655
|
+
asn1?: ASN1DataFormat | string;
|
656
|
+
avro?: AvroDataFormat | string;
|
657
|
+
barcode?: BarcodeDataFormat;
|
658
|
+
base64?: Base64DataFormat;
|
659
|
+
beanio?: BeanioDataFormat;
|
660
|
+
bindy?: BindyDataFormat;
|
661
|
+
cbor?: CBORDataFormat;
|
662
|
+
crypto?: CryptoDataFormat;
|
663
|
+
csv?: CsvDataFormat | string;
|
664
|
+
custom?: CustomDataFormat | string;
|
665
|
+
fhirJson?: FhirJsonDataFormat;
|
666
|
+
fhirXml?: FhirXmlDataFormat;
|
667
|
+
flatpack?: FlatpackDataFormat;
|
668
|
+
grok?: GrokDataFormat;
|
669
|
+
gzipDeflater?: GzipDeflaterDataFormat;
|
670
|
+
hl7?: HL7DataFormat;
|
671
|
+
ical?: IcalDataFormat;
|
672
|
+
jacksonXml?: JacksonXMLDataFormat;
|
673
|
+
jaxb?: JaxbDataFormat;
|
674
|
+
json?: JsonDataFormat;
|
675
|
+
jsonApi?: JsonApiDataFormat;
|
676
|
+
lzf?: LZFDataFormat;
|
677
|
+
mimeMultipart?: MimeMultipartDataFormat;
|
678
|
+
parquetAvro?: ParquetAvroDataFormat | string;
|
679
|
+
pgp?: PGPDataFormat;
|
680
|
+
protobuf?: ProtobufDataFormat | string;
|
681
|
+
rss?: RssDataFormat;
|
682
|
+
soap?: SoapDataFormat | string;
|
683
|
+
swiftMt?: SwiftMtDataFormat | string;
|
684
|
+
swiftMx?: SwiftMxDataFormat;
|
685
|
+
syslog?: SyslogDataFormat;
|
686
|
+
tarFile?: TarFileDataFormat;
|
687
|
+
thrift?: ThriftDataFormat | string;
|
688
|
+
tidyMarkup?: TidyMarkupDataFormat;
|
689
|
+
univocityCsv?: UniVocityCsvDataFormat;
|
690
|
+
univocityFixed?: UniVocityFixedDataFormat;
|
691
|
+
univocityTsv?: UniVocityTsvDataFormat;
|
692
|
+
xmlSecurity?: XMLSecurityDataFormat;
|
693
|
+
yaml?: YAMLDataFormat;
|
694
|
+
zipDeflater?: ZipDeflaterDataFormat;
|
695
|
+
zipFile?: ZipFileDataFormat;
|
696
|
+
public constructor(init?: Partial<MarshalDefinition>) {
|
697
|
+
super('MarshalDefinition');
|
698
|
+
Object.assign(this, init);
|
699
|
+
}
|
700
|
+
}
|
701
|
+
|
702
|
+
export class MulticastDefinition extends CamelElement {
|
703
|
+
stepName?: string = 'multicast';
|
704
|
+
id?: string = 'multicast-' + uuidv4().substring(0,4);
|
705
|
+
description?: string;
|
706
|
+
disabled?: boolean;
|
707
|
+
aggregationStrategy?: string;
|
708
|
+
aggregationStrategyMethodName?: string;
|
709
|
+
aggregationStrategyMethodAllowNull?: boolean;
|
710
|
+
parallelAggregate?: boolean;
|
711
|
+
parallelProcessing?: boolean;
|
712
|
+
synchronous?: boolean;
|
713
|
+
streaming?: boolean;
|
714
|
+
stopOnException?: boolean;
|
715
|
+
timeout?: string;
|
716
|
+
executorService?: string;
|
717
|
+
onPrepare?: string;
|
718
|
+
shareUnitOfWork?: boolean;
|
719
|
+
steps?: CamelElement[] = [];
|
720
|
+
public constructor(init?: Partial<MulticastDefinition>) {
|
721
|
+
super('MulticastDefinition');
|
722
|
+
Object.assign(this, init);
|
723
|
+
}
|
724
|
+
}
|
725
|
+
|
726
|
+
export class OnCompletionDefinition extends CamelElement {
|
727
|
+
stepName?: string = 'onCompletion';
|
728
|
+
id?: string = 'onCompletion-' + uuidv4().substring(0,4);
|
729
|
+
description?: string;
|
730
|
+
disabled?: boolean;
|
731
|
+
mode?: string;
|
732
|
+
onCompleteOnly?: boolean;
|
733
|
+
onFailureOnly?: boolean;
|
734
|
+
parallelProcessing?: boolean;
|
735
|
+
executorService?: string;
|
736
|
+
useOriginalMessage?: boolean;
|
737
|
+
onWhen?: WhenDefinition;
|
738
|
+
steps?: CamelElement[] = [];
|
739
|
+
public constructor(init?: Partial<OnCompletionDefinition>) {
|
740
|
+
super('OnCompletionDefinition');
|
741
|
+
Object.assign(this, init);
|
742
|
+
}
|
743
|
+
}
|
744
|
+
|
745
|
+
export class OnExceptionDefinition extends CamelElement {
|
746
|
+
stepName?: string = 'onException';
|
747
|
+
id?: string = 'onException-' + uuidv4().substring(0,4);
|
748
|
+
description?: string;
|
749
|
+
disabled?: boolean;
|
750
|
+
exception?: string[] = [];
|
751
|
+
onWhen?: WhenDefinition;
|
752
|
+
retryWhile?: ExpressionSubElementDefinition;
|
753
|
+
redeliveryPolicy?: RedeliveryPolicyDefinition;
|
754
|
+
redeliveryPolicyRef?: string;
|
755
|
+
handled?: ExpressionSubElementDefinition;
|
756
|
+
continued?: ExpressionSubElementDefinition;
|
757
|
+
onRedeliveryRef?: string;
|
758
|
+
onExceptionOccurredRef?: string;
|
759
|
+
useOriginalMessage?: boolean;
|
760
|
+
useOriginalBody?: boolean;
|
761
|
+
steps?: CamelElement[] = [];
|
762
|
+
public constructor(init?: Partial<OnExceptionDefinition>) {
|
763
|
+
super('OnExceptionDefinition');
|
764
|
+
Object.assign(this, init);
|
765
|
+
}
|
766
|
+
}
|
767
|
+
|
768
|
+
export class OnFallbackDefinition extends CamelElement {
|
769
|
+
stepName?: string = 'onFallback';
|
770
|
+
id?: string = 'onFallback-' + uuidv4().substring(0,4);
|
771
|
+
description?: string;
|
772
|
+
disabled?: boolean;
|
773
|
+
fallbackViaNetwork?: boolean;
|
774
|
+
steps?: CamelElement[] = [];
|
775
|
+
public constructor(init?: Partial<OnFallbackDefinition>) {
|
776
|
+
super('OnFallbackDefinition');
|
777
|
+
Object.assign(this, init);
|
778
|
+
}
|
779
|
+
}
|
780
|
+
|
781
|
+
export class OptimisticLockRetryPolicyDefinition extends CamelElement {
|
782
|
+
stepName?: string = 'optimisticLockRetryPolicy';
|
783
|
+
maximumRetries?: number;
|
784
|
+
retryDelay?: string;
|
785
|
+
maximumRetryDelay?: string;
|
786
|
+
exponentialBackOff?: boolean;
|
787
|
+
randomBackOff?: boolean;
|
788
|
+
public constructor(init?: Partial<OptimisticLockRetryPolicyDefinition>) {
|
789
|
+
super('OptimisticLockRetryPolicyDefinition');
|
790
|
+
Object.assign(this, init);
|
791
|
+
}
|
792
|
+
}
|
793
|
+
|
794
|
+
export class OtherwiseDefinition extends CamelElement {
|
795
|
+
stepName?: string = 'otherwise';
|
796
|
+
id?: string = 'otherwise-' + uuidv4().substring(0,4);
|
797
|
+
description?: string;
|
798
|
+
disabled?: boolean;
|
799
|
+
steps?: CamelElement[] = [];
|
800
|
+
public constructor(init?: Partial<OtherwiseDefinition>) {
|
801
|
+
super('OtherwiseDefinition');
|
802
|
+
Object.assign(this, init);
|
803
|
+
}
|
804
|
+
}
|
805
|
+
|
806
|
+
export class OutputDefinition extends CamelElement {
|
807
|
+
stepName?: string = 'output';
|
808
|
+
description?: string;
|
809
|
+
disabled?: boolean;
|
810
|
+
id?: string = 'output-' + uuidv4().substring(0,4);
|
811
|
+
steps?: CamelElement[] = [];
|
812
|
+
public constructor(init?: Partial<OutputDefinition>) {
|
813
|
+
super('OutputDefinition');
|
814
|
+
Object.assign(this, init);
|
815
|
+
}
|
816
|
+
}
|
817
|
+
|
818
|
+
export class OutputTypeDefinition extends CamelElement {
|
819
|
+
stepName?: string = 'outputType';
|
820
|
+
id?: string = 'outputType-' + uuidv4().substring(0,4);
|
821
|
+
description?: string;
|
822
|
+
urn: string = '';
|
823
|
+
validate?: boolean;
|
824
|
+
public constructor(init?: Partial<OutputTypeDefinition>) {
|
825
|
+
super('OutputTypeDefinition');
|
826
|
+
Object.assign(this, init);
|
827
|
+
}
|
828
|
+
}
|
829
|
+
|
830
|
+
export class PackageScanDefinition extends CamelElement {
|
831
|
+
stepName?: string = 'packageScan';
|
832
|
+
package?: string[] = [];
|
833
|
+
excludes?: string[] = [];
|
834
|
+
includes?: string[] = [];
|
835
|
+
public constructor(init?: Partial<PackageScanDefinition>) {
|
836
|
+
super('PackageScanDefinition');
|
837
|
+
Object.assign(this, init);
|
838
|
+
}
|
839
|
+
}
|
840
|
+
|
841
|
+
export class PausableDefinition extends CamelElement {
|
842
|
+
stepName?: string = 'pausable';
|
843
|
+
id?: string = 'pausable-' + uuidv4().substring(0,4);
|
844
|
+
description?: string;
|
845
|
+
disabled?: boolean;
|
846
|
+
consumerListener: string = '';
|
847
|
+
untilCheck: string = '';
|
848
|
+
public constructor(init?: Partial<PausableDefinition>) {
|
849
|
+
super('PausableDefinition');
|
850
|
+
Object.assign(this, init);
|
851
|
+
}
|
852
|
+
}
|
853
|
+
|
854
|
+
export class PipelineDefinition extends CamelElement {
|
855
|
+
stepName?: string = 'pipeline';
|
856
|
+
id?: string = 'pipeline-' + uuidv4().substring(0,4);
|
857
|
+
description?: string;
|
858
|
+
disabled?: boolean;
|
859
|
+
steps?: CamelElement[] = [];
|
860
|
+
public constructor(init?: Partial<PipelineDefinition>) {
|
861
|
+
super('PipelineDefinition');
|
862
|
+
Object.assign(this, init);
|
863
|
+
}
|
864
|
+
}
|
865
|
+
|
866
|
+
export class PolicyDefinition extends CamelElement {
|
867
|
+
stepName?: string = 'policy';
|
868
|
+
id?: string = 'policy-' + uuidv4().substring(0,4);
|
869
|
+
description?: string;
|
870
|
+
disabled?: boolean;
|
871
|
+
ref: string = '';
|
872
|
+
steps?: CamelElement[] = [];
|
873
|
+
public constructor(init?: Partial<PolicyDefinition>) {
|
874
|
+
super('PolicyDefinition');
|
875
|
+
Object.assign(this, init);
|
876
|
+
}
|
877
|
+
}
|
878
|
+
|
879
|
+
export class PollDefinition extends CamelElement {
|
880
|
+
stepName?: string = 'poll';
|
881
|
+
id?: string = 'poll-' + uuidv4().substring(0,4);
|
882
|
+
description?: string;
|
883
|
+
disabled?: boolean;
|
884
|
+
variableReceive?: string;
|
885
|
+
uri: string = '';
|
886
|
+
timeout?: string;
|
887
|
+
parameters?: any = {};
|
888
|
+
public constructor(init?: Partial<PollDefinition>) {
|
889
|
+
super('PollDefinition');
|
890
|
+
Object.assign(this, init);
|
891
|
+
}
|
892
|
+
}
|
893
|
+
|
894
|
+
export class PollEnrichDefinition extends CamelElement {
|
895
|
+
stepName?: string = 'pollEnrich';
|
896
|
+
id?: string = 'pollEnrich-' + uuidv4().substring(0,4);
|
897
|
+
description?: string;
|
898
|
+
disabled?: boolean;
|
899
|
+
expression?: ExpressionDefinition;
|
900
|
+
variableReceive?: string;
|
901
|
+
aggregationStrategy?: string;
|
902
|
+
aggregationStrategyMethodName?: string;
|
903
|
+
aggregationStrategyMethodAllowNull?: string;
|
904
|
+
aggregateOnException?: boolean;
|
905
|
+
timeout?: string;
|
906
|
+
cacheSize?: number;
|
907
|
+
ignoreInvalidEndpoint?: boolean;
|
908
|
+
autoStartComponents?: boolean;
|
909
|
+
public constructor(init?: Partial<PollEnrichDefinition>) {
|
910
|
+
super('PollEnrichDefinition');
|
911
|
+
Object.assign(this, init);
|
912
|
+
}
|
913
|
+
}
|
914
|
+
|
915
|
+
export class ProcessDefinition extends CamelElement {
|
916
|
+
stepName?: string = 'process';
|
917
|
+
id?: string = 'process-' + uuidv4().substring(0,4);
|
918
|
+
description?: string;
|
919
|
+
disabled?: boolean;
|
920
|
+
ref: string = '';
|
921
|
+
public constructor(init?: Partial<ProcessDefinition>) {
|
922
|
+
super('ProcessDefinition');
|
923
|
+
Object.assign(this, init);
|
924
|
+
}
|
925
|
+
}
|
926
|
+
|
927
|
+
export class PropertyDefinition extends CamelElement {
|
928
|
+
stepName?: string = 'property';
|
929
|
+
key: string = '';
|
930
|
+
value: string = '';
|
931
|
+
public constructor(init?: Partial<PropertyDefinition>) {
|
932
|
+
super('PropertyDefinition');
|
933
|
+
Object.assign(this, init);
|
934
|
+
}
|
935
|
+
}
|
936
|
+
|
937
|
+
export class PropertyExpressionDefinition extends CamelElement {
|
938
|
+
stepName?: string = 'propertyExpression';
|
939
|
+
key: string = '';
|
940
|
+
expression?: ExpressionDefinition;
|
941
|
+
public constructor(init?: Partial<PropertyExpressionDefinition>) {
|
942
|
+
super('PropertyExpressionDefinition');
|
943
|
+
Object.assign(this, init);
|
944
|
+
}
|
945
|
+
}
|
946
|
+
|
947
|
+
export class RecipientListDefinition extends CamelElement {
|
948
|
+
stepName?: string = 'recipientList';
|
949
|
+
id?: string = 'recipientList-' + uuidv4().substring(0,4);
|
950
|
+
description?: string;
|
951
|
+
disabled?: boolean;
|
952
|
+
expression?: ExpressionDefinition;
|
953
|
+
delimiter?: string;
|
954
|
+
aggregationStrategy?: string;
|
955
|
+
aggregationStrategyMethodName?: string;
|
956
|
+
aggregationStrategyMethodAllowNull?: boolean;
|
957
|
+
parallelAggregate?: boolean;
|
958
|
+
parallelProcessing?: boolean;
|
959
|
+
synchronous?: boolean;
|
960
|
+
timeout?: string;
|
961
|
+
executorService?: string;
|
962
|
+
stopOnException?: boolean;
|
963
|
+
ignoreInvalidEndpoints?: boolean;
|
964
|
+
streaming?: boolean;
|
965
|
+
onPrepare?: string;
|
966
|
+
cacheSize?: number;
|
967
|
+
shareUnitOfWork?: boolean;
|
968
|
+
public constructor(init?: Partial<RecipientListDefinition>) {
|
969
|
+
super('RecipientListDefinition');
|
970
|
+
Object.assign(this, init);
|
971
|
+
}
|
972
|
+
}
|
973
|
+
|
974
|
+
export class RedeliveryPolicyDefinition extends CamelElement {
|
975
|
+
stepName?: string = 'redeliveryPolicy';
|
976
|
+
id?: string = 'redeliveryPolicy-' + uuidv4().substring(0,4);
|
977
|
+
maximumRedeliveries?: number;
|
978
|
+
redeliveryDelay?: string;
|
979
|
+
asyncDelayedRedelivery?: boolean;
|
980
|
+
backOffMultiplier?: number;
|
981
|
+
useExponentialBackOff?: boolean;
|
982
|
+
collisionAvoidanceFactor?: number;
|
983
|
+
useCollisionAvoidance?: boolean;
|
984
|
+
maximumRedeliveryDelay?: string;
|
985
|
+
retriesExhaustedLogLevel?: string;
|
986
|
+
retryAttemptedLogLevel?: string;
|
987
|
+
retryAttemptedLogInterval?: number;
|
988
|
+
logRetryAttempted?: boolean;
|
989
|
+
logStackTrace?: boolean;
|
990
|
+
logRetryStackTrace?: boolean;
|
991
|
+
logHandled?: boolean;
|
992
|
+
logNewException?: boolean;
|
993
|
+
logContinued?: boolean;
|
994
|
+
logExhausted?: boolean;
|
995
|
+
logExhaustedMessageHistory?: boolean;
|
996
|
+
logExhaustedMessageBody?: boolean;
|
997
|
+
disableRedelivery?: boolean;
|
998
|
+
delayPattern?: string;
|
999
|
+
allowRedeliveryWhileStopping?: boolean;
|
1000
|
+
exchangeFormatterRef?: string;
|
1001
|
+
public constructor(init?: Partial<RedeliveryPolicyDefinition>) {
|
1002
|
+
super('RedeliveryPolicyDefinition');
|
1003
|
+
Object.assign(this, init);
|
1004
|
+
}
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
export class RemoveHeaderDefinition extends CamelElement {
|
1008
|
+
stepName?: string = 'removeHeader';
|
1009
|
+
id?: string = 'removeHeader-' + uuidv4().substring(0,4);
|
1010
|
+
description?: string;
|
1011
|
+
disabled?: boolean;
|
1012
|
+
name: string = '';
|
1013
|
+
public constructor(init?: Partial<RemoveHeaderDefinition>) {
|
1014
|
+
super('RemoveHeaderDefinition');
|
1015
|
+
Object.assign(this, init);
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
export class RemoveHeadersDefinition extends CamelElement {
|
1020
|
+
stepName?: string = 'removeHeaders';
|
1021
|
+
id?: string = 'removeHeaders-' + uuidv4().substring(0,4);
|
1022
|
+
description?: string;
|
1023
|
+
disabled?: boolean;
|
1024
|
+
pattern: string = '';
|
1025
|
+
excludePattern?: string;
|
1026
|
+
public constructor(init?: Partial<RemoveHeadersDefinition>) {
|
1027
|
+
super('RemoveHeadersDefinition');
|
1028
|
+
Object.assign(this, init);
|
1029
|
+
}
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
export class RemovePropertiesDefinition extends CamelElement {
|
1033
|
+
stepName?: string = 'removeProperties';
|
1034
|
+
id?: string = 'removeProperties-' + uuidv4().substring(0,4);
|
1035
|
+
description?: string;
|
1036
|
+
disabled?: boolean;
|
1037
|
+
pattern: string = '';
|
1038
|
+
excludePattern?: string;
|
1039
|
+
public constructor(init?: Partial<RemovePropertiesDefinition>) {
|
1040
|
+
super('RemovePropertiesDefinition');
|
1041
|
+
Object.assign(this, init);
|
1042
|
+
}
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
export class RemovePropertyDefinition extends CamelElement {
|
1046
|
+
stepName?: string = 'removeProperty';
|
1047
|
+
id?: string = 'removeProperty-' + uuidv4().substring(0,4);
|
1048
|
+
description?: string;
|
1049
|
+
disabled?: boolean;
|
1050
|
+
name: string = '';
|
1051
|
+
public constructor(init?: Partial<RemovePropertyDefinition>) {
|
1052
|
+
super('RemovePropertyDefinition');
|
1053
|
+
Object.assign(this, init);
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
export class RemoveVariableDefinition extends CamelElement {
|
1058
|
+
stepName?: string = 'removeVariable';
|
1059
|
+
id?: string = 'removeVariable-' + uuidv4().substring(0,4);
|
1060
|
+
description?: string;
|
1061
|
+
disabled?: boolean;
|
1062
|
+
name: string = '';
|
1063
|
+
public constructor(init?: Partial<RemoveVariableDefinition>) {
|
1064
|
+
super('RemoveVariableDefinition');
|
1065
|
+
Object.assign(this, init);
|
1066
|
+
}
|
1067
|
+
}
|
1068
|
+
|
1069
|
+
export class ResequenceDefinition extends CamelElement {
|
1070
|
+
stepName?: string = 'resequence';
|
1071
|
+
id?: string = 'resequence-' + uuidv4().substring(0,4);
|
1072
|
+
description?: string;
|
1073
|
+
disabled?: boolean;
|
1074
|
+
expression?: ExpressionDefinition;
|
1075
|
+
batchConfig?: BatchResequencerConfig;
|
1076
|
+
streamConfig?: StreamResequencerConfig;
|
1077
|
+
steps?: CamelElement[] = [];
|
1078
|
+
public constructor(init?: Partial<ResequenceDefinition>) {
|
1079
|
+
super('ResequenceDefinition');
|
1080
|
+
Object.assign(this, init);
|
1081
|
+
}
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
export class Resilience4jConfigurationDefinition extends CamelElement {
|
1085
|
+
stepName?: string = 'resilience4jConfiguration';
|
1086
|
+
id?: string = 'resilience4jConfiguration-' + uuidv4().substring(0,4);
|
1087
|
+
circuitBreaker?: string;
|
1088
|
+
config?: string;
|
1089
|
+
failureRateThreshold?: number;
|
1090
|
+
permittedNumberOfCallsInHalfOpenState?: number;
|
1091
|
+
throwExceptionWhenHalfOpenOrOpenState?: boolean;
|
1092
|
+
slidingWindowSize?: number;
|
1093
|
+
slidingWindowType?: string;
|
1094
|
+
minimumNumberOfCalls?: number;
|
1095
|
+
writableStackTraceEnabled?: boolean;
|
1096
|
+
waitDurationInOpenState?: number;
|
1097
|
+
automaticTransitionFromOpenToHalfOpenEnabled?: boolean;
|
1098
|
+
slowCallRateThreshold?: number;
|
1099
|
+
slowCallDurationThreshold?: number;
|
1100
|
+
bulkheadEnabled?: boolean;
|
1101
|
+
bulkheadMaxConcurrentCalls?: number;
|
1102
|
+
bulkheadMaxWaitDuration?: number;
|
1103
|
+
timeoutEnabled?: boolean;
|
1104
|
+
timeoutExecutorService?: string;
|
1105
|
+
timeoutDuration?: number;
|
1106
|
+
timeoutCancelRunningFuture?: boolean;
|
1107
|
+
recordException?: string[] = [];
|
1108
|
+
ignoreException?: string[] = [];
|
1109
|
+
public constructor(init?: Partial<Resilience4jConfigurationDefinition>) {
|
1110
|
+
super('Resilience4jConfigurationDefinition');
|
1111
|
+
Object.assign(this, init);
|
1112
|
+
}
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
export class RestContextRefDefinition extends CamelElement {
|
1116
|
+
stepName?: string = 'restContextRef';
|
1117
|
+
ref: string = '';
|
1118
|
+
public constructor(init?: Partial<RestContextRefDefinition>) {
|
1119
|
+
super('RestContextRefDefinition');
|
1120
|
+
Object.assign(this, init);
|
1121
|
+
}
|
1122
|
+
}
|
1123
|
+
|
1124
|
+
export class ResumableDefinition extends CamelElement {
|
1125
|
+
stepName?: string = 'resumable';
|
1126
|
+
id?: string = 'resumable-' + uuidv4().substring(0,4);
|
1127
|
+
description?: string;
|
1128
|
+
disabled?: boolean;
|
1129
|
+
resumeStrategy: string = '';
|
1130
|
+
loggingLevel?: string;
|
1131
|
+
intermittent?: boolean;
|
1132
|
+
public constructor(init?: Partial<ResumableDefinition>) {
|
1133
|
+
super('ResumableDefinition');
|
1134
|
+
Object.assign(this, init);
|
1135
|
+
}
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
export class RollbackDefinition extends CamelElement {
|
1139
|
+
stepName?: string = 'rollback';
|
1140
|
+
id?: string = 'rollback-' + uuidv4().substring(0,4);
|
1141
|
+
description?: string;
|
1142
|
+
disabled?: boolean;
|
1143
|
+
message?: string;
|
1144
|
+
markRollbackOnly?: boolean;
|
1145
|
+
markRollbackOnlyLast?: boolean;
|
1146
|
+
public constructor(init?: Partial<RollbackDefinition>) {
|
1147
|
+
super('RollbackDefinition');
|
1148
|
+
Object.assign(this, init);
|
1149
|
+
}
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
export class RouteBuilderDefinition extends CamelElement {
|
1153
|
+
stepName?: string = 'routeBuilder';
|
1154
|
+
id?: string = 'routeBuilder-' + uuidv4().substring(0,4);
|
1155
|
+
ref: string = '';
|
1156
|
+
public constructor(init?: Partial<RouteBuilderDefinition>) {
|
1157
|
+
super('RouteBuilderDefinition');
|
1158
|
+
Object.assign(this, init);
|
1159
|
+
}
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
export class RouteConfigurationContextRefDefinition extends CamelElement {
|
1163
|
+
stepName?: string = 'routeConfigurationContextRef';
|
1164
|
+
ref: string = '';
|
1165
|
+
public constructor(init?: Partial<RouteConfigurationContextRefDefinition>) {
|
1166
|
+
super('RouteConfigurationContextRefDefinition');
|
1167
|
+
Object.assign(this, init);
|
1168
|
+
}
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
export class RouteConfigurationDefinition extends CamelElement {
|
1172
|
+
stepName?: string = 'routeConfiguration';
|
1173
|
+
id?: string;
|
1174
|
+
description?: string;
|
1175
|
+
errorHandler?: ErrorHandlerDefinition;
|
1176
|
+
intercept?: InterceptDefinition[] = [];
|
1177
|
+
interceptFrom?: InterceptFromDefinition[] = [];
|
1178
|
+
interceptSendToEndpoint?: InterceptSendToEndpointDefinition[] = [];
|
1179
|
+
onException?: OnExceptionDefinition[] = [];
|
1180
|
+
onCompletion?: OnCompletionDefinition[] = [];
|
1181
|
+
precondition?: string;
|
1182
|
+
public constructor(init?: Partial<RouteConfigurationDefinition>) {
|
1183
|
+
super('RouteConfigurationDefinition');
|
1184
|
+
Object.assign(this, init);
|
1185
|
+
}
|
1186
|
+
}
|
1187
|
+
|
1188
|
+
export class RouteContextRefDefinition extends CamelElement {
|
1189
|
+
stepName?: string = 'routeContextRef';
|
1190
|
+
ref: string = '';
|
1191
|
+
public constructor(init?: Partial<RouteContextRefDefinition>) {
|
1192
|
+
super('RouteContextRefDefinition');
|
1193
|
+
Object.assign(this, init);
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
|
1197
|
+
export class RouteDefinition extends CamelElement {
|
1198
|
+
stepName?: string = 'route';
|
1199
|
+
id?: string = 'route-' + uuidv4().substring(0,4);
|
1200
|
+
description?: string;
|
1201
|
+
group?: string;
|
1202
|
+
nodePrefixId?: string;
|
1203
|
+
routeConfigurationId?: string;
|
1204
|
+
autoStartup?: boolean;
|
1205
|
+
startupOrder?: number;
|
1206
|
+
streamCache?: boolean;
|
1207
|
+
trace?: boolean;
|
1208
|
+
messageHistory?: boolean;
|
1209
|
+
logMask?: boolean;
|
1210
|
+
errorHandlerRef?: string;
|
1211
|
+
shutdownRoute?: string;
|
1212
|
+
shutdownRunningTask?: string;
|
1213
|
+
precondition?: string;
|
1214
|
+
errorHandler?: ErrorHandlerDefinition;
|
1215
|
+
inputType?: InputTypeDefinition;
|
1216
|
+
outputType?: OutputTypeDefinition;
|
1217
|
+
from: FromDefinition = new FromDefinition();
|
1218
|
+
public constructor(init?: Partial<RouteDefinition>) {
|
1219
|
+
super('RouteDefinition');
|
1220
|
+
Object.assign(this, init);
|
1221
|
+
}
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
export class RouteTemplateDefinition extends CamelElement {
|
1225
|
+
stepName?: string = 'routeTemplate';
|
1226
|
+
id: string = 'routeTemplate-' + uuidv4().substring(0,4);
|
1227
|
+
description?: string;
|
1228
|
+
route?: RouteDefinition;
|
1229
|
+
beans?: BeanFactoryDefinition[] = [];
|
1230
|
+
from?: FromDefinition;
|
1231
|
+
parameters?: RouteTemplateParameterDefinition[] = [];
|
1232
|
+
public constructor(init?: Partial<RouteTemplateDefinition>) {
|
1233
|
+
super('RouteTemplateDefinition');
|
1234
|
+
Object.assign(this, init);
|
1235
|
+
}
|
1236
|
+
}
|
1237
|
+
|
1238
|
+
export class RouteTemplateParameterDefinition extends CamelElement {
|
1239
|
+
stepName?: string = 'routeTemplateParameter';
|
1240
|
+
defaultValue?: string;
|
1241
|
+
description?: string;
|
1242
|
+
name: string = '';
|
1243
|
+
required?: boolean;
|
1244
|
+
public constructor(init?: Partial<RouteTemplateParameterDefinition>) {
|
1245
|
+
super('RouteTemplateParameterDefinition');
|
1246
|
+
Object.assign(this, init);
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
export class RoutingSlipDefinition extends CamelElement {
|
1251
|
+
stepName?: string = 'routingSlip';
|
1252
|
+
id?: string = 'routingSlip-' + uuidv4().substring(0,4);
|
1253
|
+
description?: string;
|
1254
|
+
disabled?: boolean;
|
1255
|
+
expression?: ExpressionDefinition;
|
1256
|
+
uriDelimiter?: string;
|
1257
|
+
ignoreInvalidEndpoints?: boolean;
|
1258
|
+
cacheSize?: number;
|
1259
|
+
public constructor(init?: Partial<RoutingSlipDefinition>) {
|
1260
|
+
super('RoutingSlipDefinition');
|
1261
|
+
Object.assign(this, init);
|
1262
|
+
}
|
1263
|
+
}
|
1264
|
+
|
1265
|
+
export class SagaActionUriDefinition extends CamelElement {
|
1266
|
+
stepName?: string = 'sagaActionUri';
|
1267
|
+
description?: string;
|
1268
|
+
disabled?: boolean;
|
1269
|
+
id?: string = 'sagaActionUri-' + uuidv4().substring(0,4);
|
1270
|
+
parameters?: any = {};
|
1271
|
+
uri: string = '';
|
1272
|
+
public constructor(init?: Partial<SagaActionUriDefinition>) {
|
1273
|
+
super('SagaActionUriDefinition');
|
1274
|
+
Object.assign(this, init);
|
1275
|
+
}
|
1276
|
+
}
|
1277
|
+
|
1278
|
+
export class SagaDefinition extends CamelElement {
|
1279
|
+
stepName?: string = 'saga';
|
1280
|
+
id?: string = 'saga-' + uuidv4().substring(0,4);
|
1281
|
+
description?: string;
|
1282
|
+
disabled?: boolean;
|
1283
|
+
sagaService?: string;
|
1284
|
+
propagation?: string;
|
1285
|
+
completionMode?: string;
|
1286
|
+
timeout?: string;
|
1287
|
+
compensation?: string;
|
1288
|
+
completion?: string;
|
1289
|
+
option?: PropertyExpressionDefinition[] = [];
|
1290
|
+
steps?: CamelElement[] = [];
|
1291
|
+
public constructor(init?: Partial<SagaDefinition>) {
|
1292
|
+
super('SagaDefinition');
|
1293
|
+
Object.assign(this, init);
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
export class SamplingDefinition extends CamelElement {
|
1298
|
+
stepName?: string = 'sample';
|
1299
|
+
id?: string = 'sample-' + uuidv4().substring(0,4);
|
1300
|
+
description?: string;
|
1301
|
+
disabled?: boolean;
|
1302
|
+
samplePeriod?: string;
|
1303
|
+
messageFrequency?: number;
|
1304
|
+
public constructor(init?: Partial<SamplingDefinition>) {
|
1305
|
+
super('SamplingDefinition');
|
1306
|
+
Object.assign(this, init);
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
export class ScriptDefinition extends CamelElement {
|
1311
|
+
stepName?: string = 'script';
|
1312
|
+
id?: string = 'script-' + uuidv4().substring(0,4);
|
1313
|
+
description?: string;
|
1314
|
+
disabled?: boolean;
|
1315
|
+
expression?: ExpressionDefinition;
|
1316
|
+
public constructor(init?: Partial<ScriptDefinition>) {
|
1317
|
+
super('ScriptDefinition');
|
1318
|
+
Object.assign(this, init);
|
1319
|
+
}
|
1320
|
+
}
|
1321
|
+
|
1322
|
+
export class SetBodyDefinition extends CamelElement {
|
1323
|
+
stepName?: string = 'setBody';
|
1324
|
+
id?: string = 'setBody-' + uuidv4().substring(0,4);
|
1325
|
+
description?: string;
|
1326
|
+
disabled?: boolean;
|
1327
|
+
expression?: ExpressionDefinition;
|
1328
|
+
public constructor(init?: Partial<SetBodyDefinition>) {
|
1329
|
+
super('SetBodyDefinition');
|
1330
|
+
Object.assign(this, init);
|
1331
|
+
}
|
1332
|
+
}
|
1333
|
+
|
1334
|
+
export class SetExchangePatternDefinition extends CamelElement {
|
1335
|
+
stepName?: string = 'setExchangePattern';
|
1336
|
+
id?: string = 'setExchangePattern-' + uuidv4().substring(0,4);
|
1337
|
+
description?: string;
|
1338
|
+
disabled?: boolean;
|
1339
|
+
pattern?: string;
|
1340
|
+
public constructor(init?: Partial<SetExchangePatternDefinition>) {
|
1341
|
+
super('SetExchangePatternDefinition');
|
1342
|
+
Object.assign(this, init);
|
1343
|
+
}
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
export class SetHeaderDefinition extends CamelElement {
|
1347
|
+
stepName?: string = 'setHeader';
|
1348
|
+
id?: string = 'setHeader-' + uuidv4().substring(0,4);
|
1349
|
+
description?: string;
|
1350
|
+
disabled?: boolean;
|
1351
|
+
name: string = '';
|
1352
|
+
expression?: ExpressionDefinition;
|
1353
|
+
public constructor(init?: Partial<SetHeaderDefinition>) {
|
1354
|
+
super('SetHeaderDefinition');
|
1355
|
+
Object.assign(this, init);
|
1356
|
+
}
|
1357
|
+
}
|
1358
|
+
|
1359
|
+
export class SetHeadersDefinition extends CamelElement {
|
1360
|
+
stepName?: string = 'setHeaders';
|
1361
|
+
id?: string = 'setHeaders-' + uuidv4().substring(0,4);
|
1362
|
+
description?: string;
|
1363
|
+
disabled?: boolean;
|
1364
|
+
headers?: SetHeaderDefinition[] = [];
|
1365
|
+
public constructor(init?: Partial<SetHeadersDefinition>) {
|
1366
|
+
super('SetHeadersDefinition');
|
1367
|
+
Object.assign(this, init);
|
1368
|
+
}
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
export class SetPropertyDefinition extends CamelElement {
|
1372
|
+
stepName?: string = 'setProperty';
|
1373
|
+
id?: string = 'setProperty-' + uuidv4().substring(0,4);
|
1374
|
+
description?: string;
|
1375
|
+
disabled?: boolean;
|
1376
|
+
name: string = '';
|
1377
|
+
expression?: ExpressionDefinition;
|
1378
|
+
public constructor(init?: Partial<SetPropertyDefinition>) {
|
1379
|
+
super('SetPropertyDefinition');
|
1380
|
+
Object.assign(this, init);
|
1381
|
+
}
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
export class SetVariableDefinition extends CamelElement {
|
1385
|
+
stepName?: string = 'setVariable';
|
1386
|
+
id?: string = 'setVariable-' + uuidv4().substring(0,4);
|
1387
|
+
description?: string;
|
1388
|
+
disabled?: boolean;
|
1389
|
+
name: string = '';
|
1390
|
+
expression?: ExpressionDefinition;
|
1391
|
+
public constructor(init?: Partial<SetVariableDefinition>) {
|
1392
|
+
super('SetVariableDefinition');
|
1393
|
+
Object.assign(this, init);
|
1394
|
+
}
|
1395
|
+
}
|
1396
|
+
|
1397
|
+
export class SetVariablesDefinition extends CamelElement {
|
1398
|
+
stepName?: string = 'setVariables';
|
1399
|
+
id?: string = 'setVariables-' + uuidv4().substring(0,4);
|
1400
|
+
description?: string;
|
1401
|
+
disabled?: boolean;
|
1402
|
+
variables?: SetVariableDefinition[] = [];
|
1403
|
+
public constructor(init?: Partial<SetVariablesDefinition>) {
|
1404
|
+
super('SetVariablesDefinition');
|
1405
|
+
Object.assign(this, init);
|
1406
|
+
}
|
1407
|
+
}
|
1408
|
+
|
1409
|
+
export class SortDefinition extends CamelElement {
|
1410
|
+
stepName?: string = 'sort';
|
1411
|
+
id?: string = 'sort-' + uuidv4().substring(0,4);
|
1412
|
+
description?: string;
|
1413
|
+
disabled?: boolean;
|
1414
|
+
expression?: ExpressionDefinition;
|
1415
|
+
comparator?: string;
|
1416
|
+
public constructor(init?: Partial<SortDefinition>) {
|
1417
|
+
super('SortDefinition');
|
1418
|
+
Object.assign(this, init);
|
1419
|
+
}
|
1420
|
+
}
|
1421
|
+
|
1422
|
+
export class SplitDefinition extends CamelElement {
|
1423
|
+
stepName?: string = 'split';
|
1424
|
+
id?: string = 'split-' + uuidv4().substring(0,4);
|
1425
|
+
description?: string;
|
1426
|
+
disabled?: boolean;
|
1427
|
+
expression?: ExpressionDefinition;
|
1428
|
+
delimiter?: string;
|
1429
|
+
aggregationStrategy?: string;
|
1430
|
+
aggregationStrategyMethodName?: string;
|
1431
|
+
aggregationStrategyMethodAllowNull?: boolean;
|
1432
|
+
parallelAggregate?: boolean;
|
1433
|
+
parallelProcessing?: boolean;
|
1434
|
+
synchronous?: boolean;
|
1435
|
+
streaming?: boolean;
|
1436
|
+
stopOnException?: boolean;
|
1437
|
+
timeout?: string;
|
1438
|
+
executorService?: string;
|
1439
|
+
onPrepare?: string;
|
1440
|
+
shareUnitOfWork?: boolean;
|
1441
|
+
steps?: CamelElement[] = [];
|
1442
|
+
public constructor(init?: Partial<SplitDefinition>) {
|
1443
|
+
super('SplitDefinition');
|
1444
|
+
Object.assign(this, init);
|
1445
|
+
}
|
1446
|
+
}
|
1447
|
+
|
1448
|
+
export class StepDefinition extends CamelElement {
|
1449
|
+
stepName?: string = 'step';
|
1450
|
+
id?: string = 'step-' + uuidv4().substring(0,4);
|
1451
|
+
description?: string;
|
1452
|
+
disabled?: boolean;
|
1453
|
+
steps?: CamelElement[] = [];
|
1454
|
+
public constructor(init?: Partial<StepDefinition>) {
|
1455
|
+
super('StepDefinition');
|
1456
|
+
Object.assign(this, init);
|
1457
|
+
}
|
1458
|
+
}
|
1459
|
+
|
1460
|
+
export class StopDefinition extends CamelElement {
|
1461
|
+
stepName?: string = 'stop';
|
1462
|
+
id?: string = 'stop-' + uuidv4().substring(0,4);
|
1463
|
+
description?: string;
|
1464
|
+
disabled?: boolean;
|
1465
|
+
public constructor(init?: Partial<StopDefinition>) {
|
1466
|
+
super('StopDefinition');
|
1467
|
+
Object.assign(this, init);
|
1468
|
+
}
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
export class TemplatedRouteDefinition extends CamelElement {
|
1472
|
+
stepName?: string = 'templatedRoute';
|
1473
|
+
routeTemplateRef: string = '';
|
1474
|
+
routeId?: string;
|
1475
|
+
prefixId?: string;
|
1476
|
+
beans?: BeanFactoryDefinition[] = [];
|
1477
|
+
parameters?: TemplatedRouteParameterDefinition[] = [];
|
1478
|
+
public constructor(init?: Partial<TemplatedRouteDefinition>) {
|
1479
|
+
super('TemplatedRouteDefinition');
|
1480
|
+
Object.assign(this, init);
|
1481
|
+
}
|
1482
|
+
}
|
1483
|
+
|
1484
|
+
export class TemplatedRouteParameterDefinition extends CamelElement {
|
1485
|
+
stepName?: string = 'templatedRouteParameter';
|
1486
|
+
name: string = '';
|
1487
|
+
value: string = '';
|
1488
|
+
public constructor(init?: Partial<TemplatedRouteParameterDefinition>) {
|
1489
|
+
super('TemplatedRouteParameterDefinition');
|
1490
|
+
Object.assign(this, init);
|
1491
|
+
}
|
1492
|
+
}
|
1493
|
+
|
1494
|
+
export class ThreadPoolProfileDefinition extends CamelElement {
|
1495
|
+
stepName?: string = 'threadPoolProfile';
|
1496
|
+
id?: string = 'threadPoolProfile-' + uuidv4().substring(0,4);
|
1497
|
+
description?: string;
|
1498
|
+
defaultProfile?: boolean;
|
1499
|
+
poolSize?: number;
|
1500
|
+
maxPoolSize?: number;
|
1501
|
+
keepAliveTime?: number;
|
1502
|
+
timeUnit?: string;
|
1503
|
+
maxQueueSize?: number;
|
1504
|
+
allowCoreThreadTimeOut?: boolean;
|
1505
|
+
rejectedPolicy?: string;
|
1506
|
+
public constructor(init?: Partial<ThreadPoolProfileDefinition>) {
|
1507
|
+
super('ThreadPoolProfileDefinition');
|
1508
|
+
Object.assign(this, init);
|
1509
|
+
}
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
export class ThreadsDefinition extends CamelElement {
|
1513
|
+
stepName?: string = 'threads';
|
1514
|
+
id?: string = 'threads-' + uuidv4().substring(0,4);
|
1515
|
+
description?: string;
|
1516
|
+
disabled?: boolean;
|
1517
|
+
executorService?: string;
|
1518
|
+
poolSize?: number;
|
1519
|
+
maxPoolSize?: number;
|
1520
|
+
keepAliveTime?: number;
|
1521
|
+
timeUnit?: string;
|
1522
|
+
maxQueueSize?: number;
|
1523
|
+
allowCoreThreadTimeOut?: boolean;
|
1524
|
+
threadName?: string;
|
1525
|
+
rejectedPolicy?: string;
|
1526
|
+
callerRunsWhenRejected?: string;
|
1527
|
+
public constructor(init?: Partial<ThreadsDefinition>) {
|
1528
|
+
super('ThreadsDefinition');
|
1529
|
+
Object.assign(this, init);
|
1530
|
+
}
|
1531
|
+
}
|
1532
|
+
|
1533
|
+
export class ThrottleDefinition extends CamelElement {
|
1534
|
+
stepName?: string = 'throttle';
|
1535
|
+
id?: string = 'throttle-' + uuidv4().substring(0,4);
|
1536
|
+
description?: string;
|
1537
|
+
disabled?: boolean;
|
1538
|
+
expression?: ExpressionDefinition;
|
1539
|
+
mode?: string;
|
1540
|
+
correlationExpression?: ExpressionSubElementDefinition;
|
1541
|
+
executorService?: string;
|
1542
|
+
asyncDelayed?: boolean;
|
1543
|
+
callerRunsWhenRejected?: boolean;
|
1544
|
+
rejectExecution?: boolean;
|
1545
|
+
timePeriodMillis?: string;
|
1546
|
+
public constructor(init?: Partial<ThrottleDefinition>) {
|
1547
|
+
super('ThrottleDefinition');
|
1548
|
+
Object.assign(this, init);
|
1549
|
+
}
|
1550
|
+
}
|
1551
|
+
|
1552
|
+
export class ThrowExceptionDefinition extends CamelElement {
|
1553
|
+
stepName?: string = 'throwException';
|
1554
|
+
id?: string = 'throwException-' + uuidv4().substring(0,4);
|
1555
|
+
description?: string;
|
1556
|
+
disabled?: boolean;
|
1557
|
+
message?: string;
|
1558
|
+
exceptionType?: string;
|
1559
|
+
ref?: string;
|
1560
|
+
public constructor(init?: Partial<ThrowExceptionDefinition>) {
|
1561
|
+
super('ThrowExceptionDefinition');
|
1562
|
+
Object.assign(this, init);
|
1563
|
+
}
|
1564
|
+
}
|
1565
|
+
|
1566
|
+
export class ToDefinition extends CamelElement {
|
1567
|
+
stepName?: string = 'to';
|
1568
|
+
id?: string = 'to-' + uuidv4().substring(0,4);
|
1569
|
+
description?: string;
|
1570
|
+
disabled?: boolean;
|
1571
|
+
variableSend?: string;
|
1572
|
+
variableReceive?: string;
|
1573
|
+
uri: string = '';
|
1574
|
+
pattern?: string;
|
1575
|
+
parameters?: any = {};
|
1576
|
+
public constructor(init?: Partial<ToDefinition>) {
|
1577
|
+
super('ToDefinition');
|
1578
|
+
Object.assign(this, init);
|
1579
|
+
}
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
export class ToDynamicDefinition extends CamelElement {
|
1583
|
+
stepName?: string = 'toD';
|
1584
|
+
id?: string = 'toD-' + uuidv4().substring(0,4);
|
1585
|
+
description?: string;
|
1586
|
+
disabled?: boolean;
|
1587
|
+
uri: string = '';
|
1588
|
+
variableSend?: string;
|
1589
|
+
variableReceive?: string;
|
1590
|
+
pattern?: string;
|
1591
|
+
cacheSize?: number;
|
1592
|
+
ignoreInvalidEndpoint?: boolean;
|
1593
|
+
allowOptimisedComponents?: boolean;
|
1594
|
+
autoStartComponents?: boolean;
|
1595
|
+
parameters?: any = {};
|
1596
|
+
public constructor(init?: Partial<ToDynamicDefinition>) {
|
1597
|
+
super('ToDynamicDefinition');
|
1598
|
+
Object.assign(this, init);
|
1599
|
+
}
|
1600
|
+
}
|
1601
|
+
|
1602
|
+
export class TransactedDefinition extends CamelElement {
|
1603
|
+
stepName?: string = 'transacted';
|
1604
|
+
id?: string = 'transacted-' + uuidv4().substring(0,4);
|
1605
|
+
description?: string;
|
1606
|
+
disabled?: boolean;
|
1607
|
+
ref?: string;
|
1608
|
+
steps?: CamelElement[] = [];
|
1609
|
+
public constructor(init?: Partial<TransactedDefinition>) {
|
1610
|
+
super('TransactedDefinition');
|
1611
|
+
Object.assign(this, init);
|
1612
|
+
}
|
1613
|
+
}
|
1614
|
+
|
1615
|
+
export class TransformDefinition extends CamelElement {
|
1616
|
+
stepName?: string = 'transform';
|
1617
|
+
id?: string = 'transform-' + uuidv4().substring(0,4);
|
1618
|
+
description?: string;
|
1619
|
+
disabled?: boolean;
|
1620
|
+
expression?: ExpressionDefinition;
|
1621
|
+
fromType?: string;
|
1622
|
+
toType?: string;
|
1623
|
+
public constructor(init?: Partial<TransformDefinition>) {
|
1624
|
+
super('TransformDefinition');
|
1625
|
+
Object.assign(this, init);
|
1626
|
+
}
|
1627
|
+
}
|
1628
|
+
|
1629
|
+
export class TryDefinition extends CamelElement {
|
1630
|
+
stepName?: string = 'doTry';
|
1631
|
+
id?: string = 'doTry-' + uuidv4().substring(0,4);
|
1632
|
+
description?: string;
|
1633
|
+
disabled?: boolean;
|
1634
|
+
doCatch?: CatchDefinition[] = [];
|
1635
|
+
doFinally?: FinallyDefinition;
|
1636
|
+
steps?: CamelElement[] = [];
|
1637
|
+
public constructor(init?: Partial<TryDefinition>) {
|
1638
|
+
super('TryDefinition');
|
1639
|
+
Object.assign(this, init);
|
1640
|
+
}
|
1641
|
+
}
|
1642
|
+
|
1643
|
+
export class UnmarshalDefinition extends CamelElement {
|
1644
|
+
stepName?: string = 'unmarshal';
|
1645
|
+
id?: string = 'unmarshal-' + uuidv4().substring(0,4);
|
1646
|
+
description?: string;
|
1647
|
+
disabled?: boolean;
|
1648
|
+
variableSend?: string;
|
1649
|
+
variableReceive?: string;
|
1650
|
+
allowNullBody?: boolean;
|
1651
|
+
asn1?: ASN1DataFormat | string;
|
1652
|
+
avro?: AvroDataFormat | string;
|
1653
|
+
barcode?: BarcodeDataFormat;
|
1654
|
+
base64?: Base64DataFormat;
|
1655
|
+
beanio?: BeanioDataFormat;
|
1656
|
+
bindy?: BindyDataFormat;
|
1657
|
+
cbor?: CBORDataFormat;
|
1658
|
+
crypto?: CryptoDataFormat;
|
1659
|
+
csv?: CsvDataFormat | string;
|
1660
|
+
custom?: CustomDataFormat | string;
|
1661
|
+
fhirJson?: FhirJsonDataFormat;
|
1662
|
+
fhirXml?: FhirXmlDataFormat;
|
1663
|
+
flatpack?: FlatpackDataFormat;
|
1664
|
+
grok?: GrokDataFormat;
|
1665
|
+
gzipDeflater?: GzipDeflaterDataFormat;
|
1666
|
+
hl7?: HL7DataFormat;
|
1667
|
+
ical?: IcalDataFormat;
|
1668
|
+
jacksonXml?: JacksonXMLDataFormat;
|
1669
|
+
jaxb?: JaxbDataFormat;
|
1670
|
+
json?: JsonDataFormat;
|
1671
|
+
jsonApi?: JsonApiDataFormat;
|
1672
|
+
lzf?: LZFDataFormat;
|
1673
|
+
mimeMultipart?: MimeMultipartDataFormat;
|
1674
|
+
parquetAvro?: ParquetAvroDataFormat | string;
|
1675
|
+
pgp?: PGPDataFormat;
|
1676
|
+
protobuf?: ProtobufDataFormat | string;
|
1677
|
+
rss?: RssDataFormat;
|
1678
|
+
soap?: SoapDataFormat | string;
|
1679
|
+
swiftMt?: SwiftMtDataFormat | string;
|
1680
|
+
swiftMx?: SwiftMxDataFormat;
|
1681
|
+
syslog?: SyslogDataFormat;
|
1682
|
+
tarFile?: TarFileDataFormat;
|
1683
|
+
thrift?: ThriftDataFormat | string;
|
1684
|
+
tidyMarkup?: TidyMarkupDataFormat;
|
1685
|
+
univocityCsv?: UniVocityCsvDataFormat;
|
1686
|
+
univocityFixed?: UniVocityFixedDataFormat;
|
1687
|
+
univocityTsv?: UniVocityTsvDataFormat;
|
1688
|
+
xmlSecurity?: XMLSecurityDataFormat;
|
1689
|
+
yaml?: YAMLDataFormat;
|
1690
|
+
zipDeflater?: ZipDeflaterDataFormat;
|
1691
|
+
zipFile?: ZipFileDataFormat;
|
1692
|
+
public constructor(init?: Partial<UnmarshalDefinition>) {
|
1693
|
+
super('UnmarshalDefinition');
|
1694
|
+
Object.assign(this, init);
|
1695
|
+
}
|
1696
|
+
}
|
1697
|
+
|
1698
|
+
export class ValidateDefinition extends CamelElement {
|
1699
|
+
stepName?: string = 'validate';
|
1700
|
+
id?: string = 'validate-' + uuidv4().substring(0,4);
|
1701
|
+
description?: string;
|
1702
|
+
disabled?: boolean;
|
1703
|
+
expression?: ExpressionDefinition;
|
1704
|
+
predicateExceptionFactory?: string;
|
1705
|
+
public constructor(init?: Partial<ValidateDefinition>) {
|
1706
|
+
super('ValidateDefinition');
|
1707
|
+
Object.assign(this, init);
|
1708
|
+
}
|
1709
|
+
}
|
1710
|
+
|
1711
|
+
export class ValueDefinition extends CamelElement {
|
1712
|
+
stepName?: string = 'value';
|
1713
|
+
value?: string;
|
1714
|
+
public constructor(init?: Partial<ValueDefinition>) {
|
1715
|
+
super('ValueDefinition');
|
1716
|
+
Object.assign(this, init);
|
1717
|
+
}
|
1718
|
+
}
|
1719
|
+
|
1720
|
+
export class WhenDefinition extends CamelElement {
|
1721
|
+
stepName?: string = 'when';
|
1722
|
+
id?: string = 'when-' + uuidv4().substring(0,4);
|
1723
|
+
description?: string;
|
1724
|
+
disabled?: boolean;
|
1725
|
+
expression?: ExpressionDefinition;
|
1726
|
+
steps?: CamelElement[] = [];
|
1727
|
+
public constructor(init?: Partial<WhenDefinition>) {
|
1728
|
+
super('WhenDefinition');
|
1729
|
+
Object.assign(this, init);
|
1730
|
+
}
|
1731
|
+
}
|
1732
|
+
|
1733
|
+
export class WhenSkipSendToEndpointDefinition extends CamelElement {
|
1734
|
+
stepName?: string = 'whenSkipSendToEndpoint';
|
1735
|
+
id?: string = 'whenSkipSendToEndpoint-' + uuidv4().substring(0,4);
|
1736
|
+
description?: string;
|
1737
|
+
disabled?: boolean;
|
1738
|
+
expression?: ExpressionDefinition;
|
1739
|
+
steps?: CamelElement[] = [];
|
1740
|
+
public constructor(init?: Partial<WhenSkipSendToEndpointDefinition>) {
|
1741
|
+
super('WhenSkipSendToEndpointDefinition');
|
1742
|
+
Object.assign(this, init);
|
1743
|
+
}
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
export class WireTapDefinition extends CamelElement {
|
1747
|
+
stepName?: string = 'wireTap';
|
1748
|
+
id?: string = 'wireTap-' + uuidv4().substring(0,4);
|
1749
|
+
description?: string;
|
1750
|
+
disabled?: boolean;
|
1751
|
+
copy?: boolean;
|
1752
|
+
dynamicUri?: boolean;
|
1753
|
+
onPrepare?: string;
|
1754
|
+
executorService?: string;
|
1755
|
+
uri: string = '';
|
1756
|
+
variableSend?: string;
|
1757
|
+
variableReceive?: string;
|
1758
|
+
pattern?: string;
|
1759
|
+
cacheSize?: number;
|
1760
|
+
ignoreInvalidEndpoint?: boolean;
|
1761
|
+
allowOptimisedComponents?: boolean;
|
1762
|
+
autoStartComponents?: boolean;
|
1763
|
+
parameters?: any = {};
|
1764
|
+
public constructor(init?: Partial<WireTapDefinition>) {
|
1765
|
+
super('WireTapDefinition');
|
1766
|
+
Object.assign(this, init);
|
1767
|
+
}
|
1768
|
+
}
|
1769
|
+
|
1770
|
+
export class BeanConstructorDefinition extends CamelElement {
|
1771
|
+
stepName?: string = 'beanConstructor';
|
1772
|
+
index?: number;
|
1773
|
+
value: string = '';
|
1774
|
+
public constructor(init?: Partial<BeanConstructorDefinition>) {
|
1775
|
+
super('BeanConstructorDefinition');
|
1776
|
+
Object.assign(this, init);
|
1777
|
+
}
|
1778
|
+
}
|
1779
|
+
|
1780
|
+
export class BeanConstructorsDefinition extends CamelElement {
|
1781
|
+
stepName?: string = 'beanConstructors';
|
1782
|
+
_constructor?: BeanConstructorDefinition[] = [];
|
1783
|
+
public constructor(init?: Partial<BeanConstructorsDefinition>) {
|
1784
|
+
super('BeanConstructorsDefinition');
|
1785
|
+
Object.assign(this, init);
|
1786
|
+
}
|
1787
|
+
}
|
1788
|
+
|
1789
|
+
export class BeanPropertiesDefinition extends CamelElement {
|
1790
|
+
stepName?: string = 'properties';
|
1791
|
+
property?: BeanPropertyDefinition[] = [];
|
1792
|
+
public constructor(init?: Partial<BeanPropertiesDefinition>) {
|
1793
|
+
super('BeanPropertiesDefinition');
|
1794
|
+
Object.assign(this, init);
|
1795
|
+
}
|
1796
|
+
}
|
1797
|
+
|
1798
|
+
export class BeanPropertyDefinition extends CamelElement {
|
1799
|
+
stepName?: string = 'beanProperty';
|
1800
|
+
key?: string;
|
1801
|
+
properties?: BeanPropertiesDefinition;
|
1802
|
+
value?: string;
|
1803
|
+
public constructor(init?: Partial<BeanPropertyDefinition>) {
|
1804
|
+
super('BeanPropertyDefinition');
|
1805
|
+
Object.assign(this, init);
|
1806
|
+
}
|
1807
|
+
}
|
1808
|
+
|
1809
|
+
export class ComponentScanDefinition extends CamelElement {
|
1810
|
+
stepName?: string = 'componentScan';
|
1811
|
+
basePackage?: string;
|
1812
|
+
public constructor(init?: Partial<ComponentScanDefinition>) {
|
1813
|
+
super('ComponentScanDefinition');
|
1814
|
+
Object.assign(this, init);
|
1815
|
+
}
|
1816
|
+
}
|
1817
|
+
|
1818
|
+
export class BatchResequencerConfig extends CamelElement {
|
1819
|
+
batchSize?: number;
|
1820
|
+
batchTimeout?: string;
|
1821
|
+
allowDuplicates?: boolean;
|
1822
|
+
reverse?: boolean;
|
1823
|
+
ignoreInvalidExchanges?: boolean;
|
1824
|
+
public constructor(init?: Partial<BatchResequencerConfig>) {
|
1825
|
+
super('BatchResequencerConfig');
|
1826
|
+
Object.assign(this, init);
|
1827
|
+
}
|
1828
|
+
}
|
1829
|
+
|
1830
|
+
export class StreamResequencerConfig extends CamelElement {
|
1831
|
+
capacity?: number;
|
1832
|
+
timeout?: string;
|
1833
|
+
deliveryAttemptInterval?: string;
|
1834
|
+
ignoreInvalidExchanges?: boolean;
|
1835
|
+
rejectOld?: boolean;
|
1836
|
+
comparator?: string;
|
1837
|
+
public constructor(init?: Partial<StreamResequencerConfig>) {
|
1838
|
+
super('StreamResequencerConfig');
|
1839
|
+
Object.assign(this, init);
|
1840
|
+
}
|
1841
|
+
}
|
1842
|
+
|
1843
|
+
export class ASN1DataFormat extends CamelElement {
|
1844
|
+
dataFormatName?: string = 'asn1';
|
1845
|
+
id?: string = 'asn1-' + uuidv4().substring(0,4);
|
1846
|
+
unmarshalType?: string;
|
1847
|
+
usingIterator?: boolean;
|
1848
|
+
public constructor(init?: Partial<ASN1DataFormat>) {
|
1849
|
+
super('ASN1DataFormat');
|
1850
|
+
Object.assign(this, init);
|
1851
|
+
}
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
export class AvroDataFormat extends CamelElement {
|
1855
|
+
dataFormatName?: string = 'avro';
|
1856
|
+
id?: string = 'avro-' + uuidv4().substring(0,4);
|
1857
|
+
instanceClassName?: string;
|
1858
|
+
library?: string;
|
1859
|
+
objectMapper?: string;
|
1860
|
+
useDefaultObjectMapper?: boolean;
|
1861
|
+
unmarshalType?: string;
|
1862
|
+
jsonView?: string;
|
1863
|
+
include?: string;
|
1864
|
+
allowJmsType?: boolean;
|
1865
|
+
collectionType?: string;
|
1866
|
+
useList?: boolean;
|
1867
|
+
moduleClassNames?: string;
|
1868
|
+
moduleRefs?: string;
|
1869
|
+
enableFeatures?: string;
|
1870
|
+
disableFeatures?: string;
|
1871
|
+
allowUnmarshallType?: boolean;
|
1872
|
+
timezone?: string;
|
1873
|
+
autoDiscoverObjectMapper?: boolean;
|
1874
|
+
contentTypeHeader?: boolean;
|
1875
|
+
schemaResolver?: string;
|
1876
|
+
autoDiscoverSchemaResolver?: boolean;
|
1877
|
+
public constructor(init?: Partial<AvroDataFormat>) {
|
1878
|
+
super('AvroDataFormat');
|
1879
|
+
Object.assign(this, init);
|
1880
|
+
}
|
1881
|
+
}
|
1882
|
+
|
1883
|
+
export class BarcodeDataFormat extends CamelElement {
|
1884
|
+
dataFormatName?: string = 'barcode';
|
1885
|
+
id?: string = 'barcode-' + uuidv4().substring(0,4);
|
1886
|
+
barcodeFormat?: string;
|
1887
|
+
imageType?: string;
|
1888
|
+
width?: number;
|
1889
|
+
height?: number;
|
1890
|
+
public constructor(init?: Partial<BarcodeDataFormat>) {
|
1891
|
+
super('BarcodeDataFormat');
|
1892
|
+
Object.assign(this, init);
|
1893
|
+
}
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
export class Base64DataFormat extends CamelElement {
|
1897
|
+
dataFormatName?: string = 'base64';
|
1898
|
+
id?: string = 'base64-' + uuidv4().substring(0,4);
|
1899
|
+
lineLength?: number;
|
1900
|
+
lineSeparator?: string;
|
1901
|
+
urlSafe?: boolean;
|
1902
|
+
public constructor(init?: Partial<Base64DataFormat>) {
|
1903
|
+
super('Base64DataFormat');
|
1904
|
+
Object.assign(this, init);
|
1905
|
+
}
|
1906
|
+
}
|
1907
|
+
|
1908
|
+
export class BeanioDataFormat extends CamelElement {
|
1909
|
+
dataFormatName?: string = 'beanio';
|
1910
|
+
id?: string = 'beanio-' + uuidv4().substring(0,4);
|
1911
|
+
mapping: string = '';
|
1912
|
+
streamName: string = '';
|
1913
|
+
ignoreUnidentifiedRecords?: boolean;
|
1914
|
+
ignoreUnexpectedRecords?: boolean;
|
1915
|
+
ignoreInvalidRecords?: boolean;
|
1916
|
+
encoding?: string;
|
1917
|
+
beanReaderErrorHandlerType?: string;
|
1918
|
+
unmarshalSingleObject?: boolean;
|
1919
|
+
public constructor(init?: Partial<BeanioDataFormat>) {
|
1920
|
+
super('BeanioDataFormat');
|
1921
|
+
Object.assign(this, init);
|
1922
|
+
}
|
1923
|
+
}
|
1924
|
+
|
1925
|
+
export class BindyDataFormat extends CamelElement {
|
1926
|
+
dataFormatName?: string = 'bindy';
|
1927
|
+
id?: string = 'bindy-' + uuidv4().substring(0,4);
|
1928
|
+
type?: string;
|
1929
|
+
classType?: string;
|
1930
|
+
allowEmptyStream?: boolean;
|
1931
|
+
unwrapSingleInstance?: boolean;
|
1932
|
+
locale?: string;
|
1933
|
+
public constructor(init?: Partial<BindyDataFormat>) {
|
1934
|
+
super('BindyDataFormat');
|
1935
|
+
Object.assign(this, init);
|
1936
|
+
}
|
1937
|
+
}
|
1938
|
+
|
1939
|
+
export class CBORDataFormat extends CamelElement {
|
1940
|
+
dataFormatName?: string = 'cbor';
|
1941
|
+
id?: string = 'cbor-' + uuidv4().substring(0,4);
|
1942
|
+
objectMapper?: string;
|
1943
|
+
useDefaultObjectMapper?: boolean;
|
1944
|
+
unmarshalType?: string;
|
1945
|
+
collectionType?: string;
|
1946
|
+
useList?: boolean;
|
1947
|
+
allowUnmarshallType?: boolean;
|
1948
|
+
prettyPrint?: boolean;
|
1949
|
+
allowJmsType?: boolean;
|
1950
|
+
enableFeatures?: string;
|
1951
|
+
disableFeatures?: string;
|
1952
|
+
public constructor(init?: Partial<CBORDataFormat>) {
|
1953
|
+
super('CBORDataFormat');
|
1954
|
+
Object.assign(this, init);
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
|
1958
|
+
export class CryptoDataFormat extends CamelElement {
|
1959
|
+
dataFormatName?: string = 'crypto';
|
1960
|
+
id?: string = 'crypto-' + uuidv4().substring(0,4);
|
1961
|
+
algorithm?: string;
|
1962
|
+
keyRef?: string;
|
1963
|
+
cryptoProvider?: string;
|
1964
|
+
initVectorRef?: string;
|
1965
|
+
algorithmParameterRef?: string;
|
1966
|
+
bufferSize?: number;
|
1967
|
+
macAlgorithm?: string;
|
1968
|
+
shouldAppendHMAC?: boolean;
|
1969
|
+
inline?: boolean;
|
1970
|
+
public constructor(init?: Partial<CryptoDataFormat>) {
|
1971
|
+
super('CryptoDataFormat');
|
1972
|
+
Object.assign(this, init);
|
1973
|
+
}
|
1974
|
+
}
|
1975
|
+
|
1976
|
+
export class CsvDataFormat extends CamelElement {
|
1977
|
+
dataFormatName?: string = 'csv';
|
1978
|
+
id?: string = 'csv-' + uuidv4().substring(0,4);
|
1979
|
+
formatRef?: string;
|
1980
|
+
formatName?: string;
|
1981
|
+
commentMarkerDisabled?: boolean;
|
1982
|
+
commentMarker?: string;
|
1983
|
+
delimiter?: string;
|
1984
|
+
escapeDisabled?: boolean;
|
1985
|
+
escape?: string;
|
1986
|
+
headerDisabled?: boolean;
|
1987
|
+
header?: string[] = [];
|
1988
|
+
allowMissingColumnNames?: boolean;
|
1989
|
+
ignoreEmptyLines?: boolean;
|
1990
|
+
ignoreSurroundingSpaces?: boolean;
|
1991
|
+
nullStringDisabled?: boolean;
|
1992
|
+
nullString?: string;
|
1993
|
+
quoteDisabled?: boolean;
|
1994
|
+
quote?: string;
|
1995
|
+
recordSeparatorDisabled?: string;
|
1996
|
+
recordSeparator?: string;
|
1997
|
+
skipHeaderRecord?: boolean;
|
1998
|
+
quoteMode?: string;
|
1999
|
+
ignoreHeaderCase?: boolean;
|
2000
|
+
trim?: boolean;
|
2001
|
+
trailingDelimiter?: boolean;
|
2002
|
+
marshallerFactoryRef?: string;
|
2003
|
+
lazyLoad?: boolean;
|
2004
|
+
useMaps?: boolean;
|
2005
|
+
useOrderedMaps?: boolean;
|
2006
|
+
recordConverterRef?: string;
|
2007
|
+
captureHeaderRecord?: boolean;
|
2008
|
+
public constructor(init?: Partial<CsvDataFormat>) {
|
2009
|
+
super('CsvDataFormat');
|
2010
|
+
Object.assign(this, init);
|
2011
|
+
}
|
2012
|
+
}
|
2013
|
+
|
2014
|
+
export class CustomDataFormat extends CamelElement {
|
2015
|
+
dataFormatName?: string = 'custom';
|
2016
|
+
id?: string = 'custom-' + uuidv4().substring(0,4);
|
2017
|
+
ref: string = '';
|
2018
|
+
public constructor(init?: Partial<CustomDataFormat>) {
|
2019
|
+
super('CustomDataFormat');
|
2020
|
+
Object.assign(this, init);
|
2021
|
+
}
|
2022
|
+
}
|
2023
|
+
|
2024
|
+
export class DataFormatsDefinition extends CamelElement {
|
2025
|
+
stepName?: string = 'dataFormats';
|
2026
|
+
asn1?: ASN1DataFormat | string;
|
2027
|
+
avro?: AvroDataFormat | string;
|
2028
|
+
barcode?: BarcodeDataFormat;
|
2029
|
+
base64?: Base64DataFormat;
|
2030
|
+
beanio?: BeanioDataFormat;
|
2031
|
+
bindy?: BindyDataFormat;
|
2032
|
+
cbor?: CBORDataFormat;
|
2033
|
+
crypto?: CryptoDataFormat;
|
2034
|
+
csv?: CsvDataFormat | string;
|
2035
|
+
custom?: CustomDataFormat | string;
|
2036
|
+
fhirJson?: FhirJsonDataFormat;
|
2037
|
+
fhirXml?: FhirXmlDataFormat;
|
2038
|
+
flatpack?: FlatpackDataFormat;
|
2039
|
+
grok?: GrokDataFormat;
|
2040
|
+
gzipDeflater?: GzipDeflaterDataFormat;
|
2041
|
+
hl7?: HL7DataFormat;
|
2042
|
+
ical?: IcalDataFormat;
|
2043
|
+
jacksonXml?: JacksonXMLDataFormat;
|
2044
|
+
jaxb?: JaxbDataFormat;
|
2045
|
+
json?: JsonDataFormat;
|
2046
|
+
jsonApi?: JsonApiDataFormat;
|
2047
|
+
lzf?: LZFDataFormat;
|
2048
|
+
mimeMultipart?: MimeMultipartDataFormat;
|
2049
|
+
parquetAvro?: ParquetAvroDataFormat | string;
|
2050
|
+
pgp?: PGPDataFormat;
|
2051
|
+
protobuf?: ProtobufDataFormat | string;
|
2052
|
+
rss?: RssDataFormat;
|
2053
|
+
soap?: SoapDataFormat | string;
|
2054
|
+
swiftMt?: SwiftMtDataFormat | string;
|
2055
|
+
swiftMx?: SwiftMxDataFormat;
|
2056
|
+
syslog?: SyslogDataFormat;
|
2057
|
+
tarFile?: TarFileDataFormat;
|
2058
|
+
thrift?: ThriftDataFormat | string;
|
2059
|
+
tidyMarkup?: TidyMarkupDataFormat;
|
2060
|
+
univocityCsv?: UniVocityCsvDataFormat;
|
2061
|
+
univocityFixed?: UniVocityFixedDataFormat;
|
2062
|
+
univocityTsv?: UniVocityTsvDataFormat;
|
2063
|
+
xmlSecurity?: XMLSecurityDataFormat;
|
2064
|
+
yaml?: YAMLDataFormat;
|
2065
|
+
zipDeflater?: ZipDeflaterDataFormat;
|
2066
|
+
zipFile?: ZipFileDataFormat;
|
2067
|
+
public constructor(init?: Partial<DataFormatsDefinition>) {
|
2068
|
+
super('DataFormatsDefinition');
|
2069
|
+
Object.assign(this, init);
|
2070
|
+
}
|
2071
|
+
}
|
2072
|
+
|
2073
|
+
export class FhirJsonDataFormat extends CamelElement {
|
2074
|
+
dataFormatName?: string = 'fhirJson';
|
2075
|
+
id?: string = 'fhirJson-' + uuidv4().substring(0,4);
|
2076
|
+
fhirVersion?: string;
|
2077
|
+
fhirContext?: string;
|
2078
|
+
prettyPrint?: boolean;
|
2079
|
+
parserErrorHandler?: string;
|
2080
|
+
parserOptions?: string;
|
2081
|
+
preferTypes?: string;
|
2082
|
+
forceResourceId?: string;
|
2083
|
+
serverBaseUrl?: string;
|
2084
|
+
omitResourceId?: boolean;
|
2085
|
+
encodeElementsAppliesToChildResourcesOnly?: boolean;
|
2086
|
+
encodeElements?: string;
|
2087
|
+
dontEncodeElements?: string;
|
2088
|
+
stripVersionsFromReferences?: boolean;
|
2089
|
+
overrideResourceIdWithBundleEntryFullUrl?: boolean;
|
2090
|
+
summaryMode?: boolean;
|
2091
|
+
suppressNarratives?: boolean;
|
2092
|
+
dontStripVersionsFromReferencesAtPaths?: string;
|
2093
|
+
contentTypeHeader?: boolean;
|
2094
|
+
public constructor(init?: Partial<FhirJsonDataFormat>) {
|
2095
|
+
super('FhirJsonDataFormat');
|
2096
|
+
Object.assign(this, init);
|
2097
|
+
}
|
2098
|
+
}
|
2099
|
+
|
2100
|
+
export class FhirXmlDataFormat extends CamelElement {
|
2101
|
+
dataFormatName?: string = 'fhirXml';
|
2102
|
+
id?: string = 'fhirXml-' + uuidv4().substring(0,4);
|
2103
|
+
fhirVersion?: string;
|
2104
|
+
fhirContext?: string;
|
2105
|
+
prettyPrint?: boolean;
|
2106
|
+
parserErrorHandler?: string;
|
2107
|
+
parserOptions?: string;
|
2108
|
+
preferTypes?: string;
|
2109
|
+
forceResourceId?: string;
|
2110
|
+
serverBaseUrl?: string;
|
2111
|
+
omitResourceId?: boolean;
|
2112
|
+
encodeElementsAppliesToChildResourcesOnly?: boolean;
|
2113
|
+
encodeElements?: string;
|
2114
|
+
dontEncodeElements?: string;
|
2115
|
+
stripVersionsFromReferences?: boolean;
|
2116
|
+
overrideResourceIdWithBundleEntryFullUrl?: boolean;
|
2117
|
+
summaryMode?: boolean;
|
2118
|
+
suppressNarratives?: boolean;
|
2119
|
+
dontStripVersionsFromReferencesAtPaths?: string;
|
2120
|
+
contentTypeHeader?: boolean;
|
2121
|
+
public constructor(init?: Partial<FhirXmlDataFormat>) {
|
2122
|
+
super('FhirXmlDataFormat');
|
2123
|
+
Object.assign(this, init);
|
2124
|
+
}
|
2125
|
+
}
|
2126
|
+
|
2127
|
+
export class FlatpackDataFormat extends CamelElement {
|
2128
|
+
dataFormatName?: string = 'flatpack';
|
2129
|
+
id?: string = 'flatpack-' + uuidv4().substring(0,4);
|
2130
|
+
definition?: string;
|
2131
|
+
fixed?: boolean;
|
2132
|
+
delimiter?: string;
|
2133
|
+
ignoreFirstRecord?: boolean;
|
2134
|
+
allowShortLines?: boolean;
|
2135
|
+
ignoreExtraColumns?: boolean;
|
2136
|
+
textQualifier?: string;
|
2137
|
+
parserFactoryRef?: string;
|
2138
|
+
public constructor(init?: Partial<FlatpackDataFormat>) {
|
2139
|
+
super('FlatpackDataFormat');
|
2140
|
+
Object.assign(this, init);
|
2141
|
+
}
|
2142
|
+
}
|
2143
|
+
|
2144
|
+
export class GrokDataFormat extends CamelElement {
|
2145
|
+
dataFormatName?: string = 'grok';
|
2146
|
+
id?: string = 'grok-' + uuidv4().substring(0,4);
|
2147
|
+
pattern: string = '';
|
2148
|
+
flattened?: boolean;
|
2149
|
+
allowMultipleMatchesPerLine?: boolean;
|
2150
|
+
namedOnly?: boolean;
|
2151
|
+
public constructor(init?: Partial<GrokDataFormat>) {
|
2152
|
+
super('GrokDataFormat');
|
2153
|
+
Object.assign(this, init);
|
2154
|
+
}
|
2155
|
+
}
|
2156
|
+
|
2157
|
+
export class GzipDeflaterDataFormat extends CamelElement {
|
2158
|
+
dataFormatName?: string = 'gzipDeflater';
|
2159
|
+
id?: string = 'gzipDeflater-' + uuidv4().substring(0,4);
|
2160
|
+
public constructor(init?: Partial<GzipDeflaterDataFormat>) {
|
2161
|
+
super('GzipDeflaterDataFormat');
|
2162
|
+
Object.assign(this, init);
|
2163
|
+
}
|
2164
|
+
}
|
2165
|
+
|
2166
|
+
export class HL7DataFormat extends CamelElement {
|
2167
|
+
dataFormatName?: string = 'hl7';
|
2168
|
+
id?: string = 'hl7-' + uuidv4().substring(0,4);
|
2169
|
+
validate?: boolean;
|
2170
|
+
public constructor(init?: Partial<HL7DataFormat>) {
|
2171
|
+
super('HL7DataFormat');
|
2172
|
+
Object.assign(this, init);
|
2173
|
+
}
|
2174
|
+
}
|
2175
|
+
|
2176
|
+
export class IcalDataFormat extends CamelElement {
|
2177
|
+
dataFormatName?: string = 'ical';
|
2178
|
+
id?: string = 'ical-' + uuidv4().substring(0,4);
|
2179
|
+
validating?: boolean;
|
2180
|
+
public constructor(init?: Partial<IcalDataFormat>) {
|
2181
|
+
super('IcalDataFormat');
|
2182
|
+
Object.assign(this, init);
|
2183
|
+
}
|
2184
|
+
}
|
2185
|
+
|
2186
|
+
export class JacksonXMLDataFormat extends CamelElement {
|
2187
|
+
dataFormatName?: string = 'jacksonXml';
|
2188
|
+
id?: string = 'jacksonXml-' + uuidv4().substring(0,4);
|
2189
|
+
xmlMapper?: string;
|
2190
|
+
prettyPrint?: boolean;
|
2191
|
+
unmarshalType?: string;
|
2192
|
+
allowUnmarshallType?: boolean;
|
2193
|
+
jsonView?: string;
|
2194
|
+
include?: string;
|
2195
|
+
allowJmsType?: boolean;
|
2196
|
+
collectionType?: string;
|
2197
|
+
useList?: boolean;
|
2198
|
+
timezone?: string;
|
2199
|
+
enableJaxbAnnotationModule?: boolean;
|
2200
|
+
moduleClassNames?: string;
|
2201
|
+
moduleRefs?: string;
|
2202
|
+
enableFeatures?: string;
|
2203
|
+
disableFeatures?: string;
|
2204
|
+
contentTypeHeader?: boolean;
|
2205
|
+
public constructor(init?: Partial<JacksonXMLDataFormat>) {
|
2206
|
+
super('JacksonXMLDataFormat');
|
2207
|
+
Object.assign(this, init);
|
2208
|
+
}
|
2209
|
+
}
|
2210
|
+
|
2211
|
+
export class JaxbDataFormat extends CamelElement {
|
2212
|
+
dataFormatName?: string = 'jaxb';
|
2213
|
+
id?: string = 'jaxb-' + uuidv4().substring(0,4);
|
2214
|
+
contextPath: string = '';
|
2215
|
+
contextPathIsClassName?: boolean;
|
2216
|
+
schema?: string;
|
2217
|
+
schemaSeverityLevel?: string;
|
2218
|
+
prettyPrint?: boolean;
|
2219
|
+
objectFactory?: boolean;
|
2220
|
+
ignoreJAXBElement?: boolean;
|
2221
|
+
mustBeJAXBElement?: boolean;
|
2222
|
+
filterNonXmlChars?: boolean;
|
2223
|
+
encoding?: string;
|
2224
|
+
fragment?: boolean;
|
2225
|
+
partClass?: string;
|
2226
|
+
partNamespace?: string;
|
2227
|
+
namespacePrefixRef?: string;
|
2228
|
+
xmlStreamWriterWrapper?: string;
|
2229
|
+
schemaLocation?: string;
|
2230
|
+
noNamespaceSchemaLocation?: string;
|
2231
|
+
jaxbProviderProperties?: string;
|
2232
|
+
contentTypeHeader?: boolean;
|
2233
|
+
accessExternalSchemaProtocols?: string;
|
2234
|
+
public constructor(init?: Partial<JaxbDataFormat>) {
|
2235
|
+
super('JaxbDataFormat');
|
2236
|
+
Object.assign(this, init);
|
2237
|
+
}
|
2238
|
+
}
|
2239
|
+
|
2240
|
+
export class JsonApiDataFormat extends CamelElement {
|
2241
|
+
dataFormatName?: string = 'jsonApi';
|
2242
|
+
id?: string = 'jsonApi-' + uuidv4().substring(0,4);
|
2243
|
+
dataFormatTypes?: string;
|
2244
|
+
mainFormatType?: string;
|
2245
|
+
public constructor(init?: Partial<JsonApiDataFormat>) {
|
2246
|
+
super('JsonApiDataFormat');
|
2247
|
+
Object.assign(this, init);
|
2248
|
+
}
|
2249
|
+
}
|
2250
|
+
|
2251
|
+
export class JsonDataFormat extends CamelElement {
|
2252
|
+
dataFormatName?: string = 'json';
|
2253
|
+
id?: string = 'json-' + uuidv4().substring(0,4);
|
2254
|
+
objectMapper?: string;
|
2255
|
+
useDefaultObjectMapper?: boolean;
|
2256
|
+
autoDiscoverObjectMapper?: boolean;
|
2257
|
+
prettyPrint?: boolean;
|
2258
|
+
library?: string;
|
2259
|
+
unmarshalType?: string;
|
2260
|
+
jsonView?: string;
|
2261
|
+
include?: string;
|
2262
|
+
allowJmsType?: boolean;
|
2263
|
+
collectionType?: string;
|
2264
|
+
useList?: boolean;
|
2265
|
+
moduleClassNames?: string;
|
2266
|
+
moduleRefs?: string;
|
2267
|
+
enableFeatures?: string;
|
2268
|
+
disableFeatures?: string;
|
2269
|
+
allowUnmarshallType?: boolean;
|
2270
|
+
timezone?: string;
|
2271
|
+
schemaResolver?: string;
|
2272
|
+
autoDiscoverSchemaResolver?: boolean;
|
2273
|
+
namingStrategy?: string;
|
2274
|
+
contentTypeHeader?: boolean;
|
2275
|
+
dateFormatPattern?: string;
|
2276
|
+
public constructor(init?: Partial<JsonDataFormat>) {
|
2277
|
+
super('JsonDataFormat');
|
2278
|
+
Object.assign(this, init);
|
2279
|
+
}
|
2280
|
+
}
|
2281
|
+
|
2282
|
+
export class LZFDataFormat extends CamelElement {
|
2283
|
+
dataFormatName?: string = 'lzf';
|
2284
|
+
id?: string = 'lzf-' + uuidv4().substring(0,4);
|
2285
|
+
usingParallelCompression?: boolean;
|
2286
|
+
public constructor(init?: Partial<LZFDataFormat>) {
|
2287
|
+
super('LZFDataFormat');
|
2288
|
+
Object.assign(this, init);
|
2289
|
+
}
|
2290
|
+
}
|
2291
|
+
|
2292
|
+
export class MimeMultipartDataFormat extends CamelElement {
|
2293
|
+
dataFormatName?: string = 'mimeMultipart';
|
2294
|
+
id?: string = 'mimeMultipart-' + uuidv4().substring(0,4);
|
2295
|
+
multipartSubType?: string;
|
2296
|
+
multipartWithoutAttachment?: boolean;
|
2297
|
+
headersInline?: boolean;
|
2298
|
+
includeHeaders?: string;
|
2299
|
+
binaryContent?: boolean;
|
2300
|
+
public constructor(init?: Partial<MimeMultipartDataFormat>) {
|
2301
|
+
super('MimeMultipartDataFormat');
|
2302
|
+
Object.assign(this, init);
|
2303
|
+
}
|
2304
|
+
}
|
2305
|
+
|
2306
|
+
export class PGPDataFormat extends CamelElement {
|
2307
|
+
dataFormatName?: string = 'pgp';
|
2308
|
+
id?: string = 'pgp-' + uuidv4().substring(0,4);
|
2309
|
+
keyUserid?: string;
|
2310
|
+
signatureKeyUserid?: string;
|
2311
|
+
password?: string;
|
2312
|
+
signaturePassword?: string;
|
2313
|
+
keyFileName?: string;
|
2314
|
+
signatureKeyFileName?: string;
|
2315
|
+
signatureKeyRing?: string;
|
2316
|
+
armored?: boolean;
|
2317
|
+
integrity?: boolean;
|
2318
|
+
provider?: string;
|
2319
|
+
algorithm?: number;
|
2320
|
+
compressionAlgorithm?: number;
|
2321
|
+
hashAlgorithm?: number;
|
2322
|
+
signatureVerificationOption?: string;
|
2323
|
+
public constructor(init?: Partial<PGPDataFormat>) {
|
2324
|
+
super('PGPDataFormat');
|
2325
|
+
Object.assign(this, init);
|
2326
|
+
}
|
2327
|
+
}
|
2328
|
+
|
2329
|
+
export class ParquetAvroDataFormat extends CamelElement {
|
2330
|
+
dataFormatName?: string = 'parquetAvro';
|
2331
|
+
id?: string = 'parquetAvro-' + uuidv4().substring(0,4);
|
2332
|
+
compressionCodecName?: string;
|
2333
|
+
unmarshalType?: string;
|
2334
|
+
lazyLoad?: boolean;
|
2335
|
+
public constructor(init?: Partial<ParquetAvroDataFormat>) {
|
2336
|
+
super('ParquetAvroDataFormat');
|
2337
|
+
Object.assign(this, init);
|
2338
|
+
}
|
2339
|
+
}
|
2340
|
+
|
2341
|
+
export class ProtobufDataFormat extends CamelElement {
|
2342
|
+
dataFormatName?: string = 'protobuf';
|
2343
|
+
id?: string = 'protobuf-' + uuidv4().substring(0,4);
|
2344
|
+
instanceClass?: string;
|
2345
|
+
objectMapper?: string;
|
2346
|
+
useDefaultObjectMapper?: boolean;
|
2347
|
+
autoDiscoverObjectMapper?: boolean;
|
2348
|
+
library?: string;
|
2349
|
+
unmarshalType?: string;
|
2350
|
+
jsonView?: string;
|
2351
|
+
include?: string;
|
2352
|
+
allowJmsType?: boolean;
|
2353
|
+
collectionType?: string;
|
2354
|
+
useList?: boolean;
|
2355
|
+
moduleClassNames?: string;
|
2356
|
+
moduleRefs?: string;
|
2357
|
+
enableFeatures?: string;
|
2358
|
+
disableFeatures?: string;
|
2359
|
+
allowUnmarshallType?: boolean;
|
2360
|
+
timezone?: string;
|
2361
|
+
schemaResolver?: string;
|
2362
|
+
autoDiscoverSchemaResolver?: boolean;
|
2363
|
+
contentTypeFormat?: string;
|
2364
|
+
contentTypeHeader?: boolean;
|
2365
|
+
public constructor(init?: Partial<ProtobufDataFormat>) {
|
2366
|
+
super('ProtobufDataFormat');
|
2367
|
+
Object.assign(this, init);
|
2368
|
+
}
|
2369
|
+
}
|
2370
|
+
|
2371
|
+
export class RssDataFormat extends CamelElement {
|
2372
|
+
dataFormatName?: string = 'rss';
|
2373
|
+
id?: string = 'rss-' + uuidv4().substring(0,4);
|
2374
|
+
public constructor(init?: Partial<RssDataFormat>) {
|
2375
|
+
super('RssDataFormat');
|
2376
|
+
Object.assign(this, init);
|
2377
|
+
}
|
2378
|
+
}
|
2379
|
+
|
2380
|
+
export class SoapDataFormat extends CamelElement {
|
2381
|
+
dataFormatName?: string = 'soap';
|
2382
|
+
id?: string = 'soap-' + uuidv4().substring(0,4);
|
2383
|
+
contextPath: string = '';
|
2384
|
+
encoding?: string;
|
2385
|
+
elementNameStrategyRef?: string;
|
2386
|
+
version?: string;
|
2387
|
+
namespacePrefixRef?: string;
|
2388
|
+
schema?: string;
|
2389
|
+
public constructor(init?: Partial<SoapDataFormat>) {
|
2390
|
+
super('SoapDataFormat');
|
2391
|
+
Object.assign(this, init);
|
2392
|
+
}
|
2393
|
+
}
|
2394
|
+
|
2395
|
+
export class SwiftMtDataFormat extends CamelElement {
|
2396
|
+
dataFormatName?: string = 'swiftMt';
|
2397
|
+
id?: string = 'swiftMt-' + uuidv4().substring(0,4);
|
2398
|
+
writeInJson?: boolean;
|
2399
|
+
public constructor(init?: Partial<SwiftMtDataFormat>) {
|
2400
|
+
super('SwiftMtDataFormat');
|
2401
|
+
Object.assign(this, init);
|
2402
|
+
}
|
2403
|
+
}
|
2404
|
+
|
2405
|
+
export class SwiftMxDataFormat extends CamelElement {
|
2406
|
+
dataFormatName?: string = 'swiftMx';
|
2407
|
+
id?: string = 'swiftMx-' + uuidv4().substring(0,4);
|
2408
|
+
writeConfigRef?: string;
|
2409
|
+
writeInJson?: boolean;
|
2410
|
+
readMessageId?: string;
|
2411
|
+
readConfigRef?: string;
|
2412
|
+
public constructor(init?: Partial<SwiftMxDataFormat>) {
|
2413
|
+
super('SwiftMxDataFormat');
|
2414
|
+
Object.assign(this, init);
|
2415
|
+
}
|
2416
|
+
}
|
2417
|
+
|
2418
|
+
export class SyslogDataFormat extends CamelElement {
|
2419
|
+
dataFormatName?: string = 'syslog';
|
2420
|
+
id?: string = 'syslog-' + uuidv4().substring(0,4);
|
2421
|
+
public constructor(init?: Partial<SyslogDataFormat>) {
|
2422
|
+
super('SyslogDataFormat');
|
2423
|
+
Object.assign(this, init);
|
2424
|
+
}
|
2425
|
+
}
|
2426
|
+
|
2427
|
+
export class TarFileDataFormat extends CamelElement {
|
2428
|
+
dataFormatName?: string = 'tarFile';
|
2429
|
+
id?: string = 'tarFile-' + uuidv4().substring(0,4);
|
2430
|
+
usingIterator?: boolean;
|
2431
|
+
allowEmptyDirectory?: boolean;
|
2432
|
+
preservePathElements?: boolean;
|
2433
|
+
maxDecompressedSize?: number;
|
2434
|
+
public constructor(init?: Partial<TarFileDataFormat>) {
|
2435
|
+
super('TarFileDataFormat');
|
2436
|
+
Object.assign(this, init);
|
2437
|
+
}
|
2438
|
+
}
|
2439
|
+
|
2440
|
+
export class ThriftDataFormat extends CamelElement {
|
2441
|
+
dataFormatName?: string = 'thrift';
|
2442
|
+
id?: string = 'thrift-' + uuidv4().substring(0,4);
|
2443
|
+
instanceClass?: string;
|
2444
|
+
contentTypeFormat?: string;
|
2445
|
+
contentTypeHeader?: boolean;
|
2446
|
+
public constructor(init?: Partial<ThriftDataFormat>) {
|
2447
|
+
super('ThriftDataFormat');
|
2448
|
+
Object.assign(this, init);
|
2449
|
+
}
|
2450
|
+
}
|
2451
|
+
|
2452
|
+
export class TidyMarkupDataFormat extends CamelElement {
|
2453
|
+
dataFormatName?: string = 'tidyMarkup';
|
2454
|
+
id?: string = 'tidyMarkup-' + uuidv4().substring(0,4);
|
2455
|
+
dataObjectType?: string;
|
2456
|
+
omitXmlDeclaration?: boolean;
|
2457
|
+
public constructor(init?: Partial<TidyMarkupDataFormat>) {
|
2458
|
+
super('TidyMarkupDataFormat');
|
2459
|
+
Object.assign(this, init);
|
2460
|
+
}
|
2461
|
+
}
|
2462
|
+
|
2463
|
+
export class UniVocityCsvDataFormat extends CamelElement {
|
2464
|
+
dataFormatName?: string = 'univocityCsv';
|
2465
|
+
id?: string = 'univocityCsv-' + uuidv4().substring(0,4);
|
2466
|
+
delimiter?: string;
|
2467
|
+
quoteAllFields?: boolean;
|
2468
|
+
quote?: string;
|
2469
|
+
quoteEscape?: string;
|
2470
|
+
nullValue?: string;
|
2471
|
+
skipEmptyLines?: boolean;
|
2472
|
+
ignoreTrailingWhitespaces?: boolean;
|
2473
|
+
ignoreLeadingWhitespaces?: boolean;
|
2474
|
+
headersDisabled?: boolean;
|
2475
|
+
headerExtractionEnabled?: boolean;
|
2476
|
+
numberOfRecordsToRead?: number;
|
2477
|
+
emptyValue?: string;
|
2478
|
+
lineSeparator?: string;
|
2479
|
+
normalizedLineSeparator?: string;
|
2480
|
+
comment?: string;
|
2481
|
+
lazyLoad?: boolean;
|
2482
|
+
asMap?: boolean;
|
2483
|
+
univocityHeader?: UniVocityHeader[] = [];
|
2484
|
+
public constructor(init?: Partial<UniVocityCsvDataFormat>) {
|
2485
|
+
super('UniVocityCsvDataFormat');
|
2486
|
+
Object.assign(this, init);
|
2487
|
+
}
|
2488
|
+
}
|
2489
|
+
|
2490
|
+
export class UniVocityFixedDataFormat extends CamelElement {
|
2491
|
+
dataFormatName?: string = 'univocityFixed';
|
2492
|
+
id?: string = 'univocityFixed-' + uuidv4().substring(0,4);
|
2493
|
+
padding?: string;
|
2494
|
+
skipTrailingCharsUntilNewline?: boolean;
|
2495
|
+
recordEndsOnNewline?: boolean;
|
2496
|
+
nullValue?: string;
|
2497
|
+
skipEmptyLines?: boolean;
|
2498
|
+
ignoreTrailingWhitespaces?: boolean;
|
2499
|
+
ignoreLeadingWhitespaces?: boolean;
|
2500
|
+
headersDisabled?: boolean;
|
2501
|
+
headerExtractionEnabled?: boolean;
|
2502
|
+
numberOfRecordsToRead?: number;
|
2503
|
+
emptyValue?: string;
|
2504
|
+
lineSeparator?: string;
|
2505
|
+
normalizedLineSeparator?: string;
|
2506
|
+
comment?: string;
|
2507
|
+
lazyLoad?: boolean;
|
2508
|
+
asMap?: boolean;
|
2509
|
+
univocityHeader?: UniVocityHeader[] = [];
|
2510
|
+
public constructor(init?: Partial<UniVocityFixedDataFormat>) {
|
2511
|
+
super('UniVocityFixedDataFormat');
|
2512
|
+
Object.assign(this, init);
|
2513
|
+
}
|
2514
|
+
}
|
2515
|
+
|
2516
|
+
export class UniVocityHeader extends CamelElement {
|
2517
|
+
length?: string;
|
2518
|
+
name?: string;
|
2519
|
+
public constructor(init?: Partial<UniVocityHeader>) {
|
2520
|
+
super('UniVocityHeader');
|
2521
|
+
Object.assign(this, init);
|
2522
|
+
}
|
2523
|
+
}
|
2524
|
+
|
2525
|
+
export class UniVocityTsvDataFormat extends CamelElement {
|
2526
|
+
dataFormatName?: string = 'univocityTsv';
|
2527
|
+
id?: string = 'univocityTsv-' + uuidv4().substring(0,4);
|
2528
|
+
escapeChar?: string;
|
2529
|
+
nullValue?: string;
|
2530
|
+
skipEmptyLines?: boolean;
|
2531
|
+
ignoreTrailingWhitespaces?: boolean;
|
2532
|
+
ignoreLeadingWhitespaces?: boolean;
|
2533
|
+
headersDisabled?: boolean;
|
2534
|
+
headerExtractionEnabled?: boolean;
|
2535
|
+
numberOfRecordsToRead?: number;
|
2536
|
+
emptyValue?: string;
|
2537
|
+
lineSeparator?: string;
|
2538
|
+
normalizedLineSeparator?: string;
|
2539
|
+
comment?: string;
|
2540
|
+
lazyLoad?: boolean;
|
2541
|
+
asMap?: boolean;
|
2542
|
+
univocityHeader?: UniVocityHeader[] = [];
|
2543
|
+
public constructor(init?: Partial<UniVocityTsvDataFormat>) {
|
2544
|
+
super('UniVocityTsvDataFormat');
|
2545
|
+
Object.assign(this, init);
|
2546
|
+
}
|
2547
|
+
}
|
2548
|
+
|
2549
|
+
export class XMLSecurityDataFormat extends CamelElement {
|
2550
|
+
dataFormatName?: string = 'xmlSecurity';
|
2551
|
+
id?: string = 'xmlSecurity-' + uuidv4().substring(0,4);
|
2552
|
+
xmlCipherAlgorithm?: string;
|
2553
|
+
passPhrase?: string;
|
2554
|
+
passPhraseByte?: string;
|
2555
|
+
secureTag?: string;
|
2556
|
+
secureTagContents?: boolean;
|
2557
|
+
keyCipherAlgorithm?: string;
|
2558
|
+
recipientKeyAlias?: string;
|
2559
|
+
keyOrTrustStoreParametersRef?: string;
|
2560
|
+
keyPassword?: string;
|
2561
|
+
digestAlgorithm?: string;
|
2562
|
+
mgfAlgorithm?: string;
|
2563
|
+
addKeyValueForEncryptedKey?: boolean;
|
2564
|
+
public constructor(init?: Partial<XMLSecurityDataFormat>) {
|
2565
|
+
super('XMLSecurityDataFormat');
|
2566
|
+
Object.assign(this, init);
|
2567
|
+
}
|
2568
|
+
}
|
2569
|
+
|
2570
|
+
export class YAMLDataFormat extends CamelElement {
|
2571
|
+
dataFormatName?: string = 'yaml';
|
2572
|
+
id?: string = 'yaml-' + uuidv4().substring(0,4);
|
2573
|
+
library?: string;
|
2574
|
+
unmarshalType?: string;
|
2575
|
+
_constructor?: string;
|
2576
|
+
representer?: string;
|
2577
|
+
dumperOptions?: string;
|
2578
|
+
resolver?: string;
|
2579
|
+
useApplicationContextClassLoader?: boolean;
|
2580
|
+
prettyFlow?: boolean;
|
2581
|
+
allowAnyType?: boolean;
|
2582
|
+
typeFilter?: YAMLTypeFilterDefinition[] = [];
|
2583
|
+
maxAliasesForCollections?: number;
|
2584
|
+
allowRecursiveKeys?: boolean;
|
2585
|
+
public constructor(init?: Partial<YAMLDataFormat>) {
|
2586
|
+
super('YAMLDataFormat');
|
2587
|
+
Object.assign(this, init);
|
2588
|
+
}
|
2589
|
+
}
|
2590
|
+
|
2591
|
+
export class YAMLTypeFilterDefinition extends CamelElement {
|
2592
|
+
stepName?: string = 'yAMLTypeFilter';
|
2593
|
+
type?: string;
|
2594
|
+
value?: string;
|
2595
|
+
public constructor(init?: Partial<YAMLTypeFilterDefinition>) {
|
2596
|
+
super('YAMLTypeFilterDefinition');
|
2597
|
+
Object.assign(this, init);
|
2598
|
+
}
|
2599
|
+
}
|
2600
|
+
|
2601
|
+
export class ZipDeflaterDataFormat extends CamelElement {
|
2602
|
+
dataFormatName?: string = 'zipDeflater';
|
2603
|
+
id?: string = 'zipDeflater-' + uuidv4().substring(0,4);
|
2604
|
+
compressionLevel?: string;
|
2605
|
+
public constructor(init?: Partial<ZipDeflaterDataFormat>) {
|
2606
|
+
super('ZipDeflaterDataFormat');
|
2607
|
+
Object.assign(this, init);
|
2608
|
+
}
|
2609
|
+
}
|
2610
|
+
|
2611
|
+
export class ZipFileDataFormat extends CamelElement {
|
2612
|
+
dataFormatName?: string = 'zipFile';
|
2613
|
+
id?: string = 'zipFile-' + uuidv4().substring(0,4);
|
2614
|
+
usingIterator?: boolean;
|
2615
|
+
allowEmptyDirectory?: boolean;
|
2616
|
+
preservePathElements?: boolean;
|
2617
|
+
maxDecompressedSize?: number;
|
2618
|
+
public constructor(init?: Partial<ZipFileDataFormat>) {
|
2619
|
+
super('ZipFileDataFormat');
|
2620
|
+
Object.assign(this, init);
|
2621
|
+
}
|
2622
|
+
}
|
2623
|
+
|
2624
|
+
export class DeadLetterChannelDefinition extends CamelElement {
|
2625
|
+
stepName?: string = 'deadLetterChannel';
|
2626
|
+
id?: string = 'deadLetterChannel-' + uuidv4().substring(0,4);
|
2627
|
+
deadLetterUri: string = '';
|
2628
|
+
deadLetterHandleNewException?: boolean;
|
2629
|
+
redeliveryPolicy?: RedeliveryPolicyDefinition;
|
2630
|
+
useOriginalMessage?: boolean;
|
2631
|
+
useOriginalBody?: boolean;
|
2632
|
+
redeliveryPolicyRef?: string;
|
2633
|
+
loggerRef?: string;
|
2634
|
+
level?: string;
|
2635
|
+
logName?: string;
|
2636
|
+
onRedeliveryRef?: string;
|
2637
|
+
onExceptionOccurredRef?: string;
|
2638
|
+
onPrepareFailureRef?: string;
|
2639
|
+
retryWhileRef?: string;
|
2640
|
+
executorServiceRef?: string;
|
2641
|
+
public constructor(init?: Partial<DeadLetterChannelDefinition>) {
|
2642
|
+
super('DeadLetterChannelDefinition');
|
2643
|
+
Object.assign(this, init);
|
2644
|
+
}
|
2645
|
+
}
|
2646
|
+
|
2647
|
+
export class DefaultErrorHandlerDefinition extends CamelElement {
|
2648
|
+
stepName?: string = 'defaultErrorHandler';
|
2649
|
+
id?: string = 'defaultErrorHandler-' + uuidv4().substring(0,4);
|
2650
|
+
redeliveryPolicy?: RedeliveryPolicyDefinition;
|
2651
|
+
useOriginalMessage?: boolean;
|
2652
|
+
useOriginalBody?: boolean;
|
2653
|
+
redeliveryPolicyRef?: string;
|
2654
|
+
loggerRef?: string;
|
2655
|
+
level?: string;
|
2656
|
+
logName?: string;
|
2657
|
+
onRedeliveryRef?: string;
|
2658
|
+
onExceptionOccurredRef?: string;
|
2659
|
+
onPrepareFailureRef?: string;
|
2660
|
+
retryWhileRef?: string;
|
2661
|
+
executorServiceRef?: string;
|
2662
|
+
public constructor(init?: Partial<DefaultErrorHandlerDefinition>) {
|
2663
|
+
super('DefaultErrorHandlerDefinition');
|
2664
|
+
Object.assign(this, init);
|
2665
|
+
}
|
2666
|
+
}
|
2667
|
+
|
2668
|
+
export class JtaTransactionErrorHandlerDefinition extends CamelElement {
|
2669
|
+
stepName?: string = 'jtaTransactionErrorHandler';
|
2670
|
+
id?: string = 'jtaTransactionErrorHandler-' + uuidv4().substring(0,4);
|
2671
|
+
transactedPolicyRef?: string;
|
2672
|
+
rollbackLoggingLevel?: string;
|
2673
|
+
redeliveryPolicy?: RedeliveryPolicyDefinition;
|
2674
|
+
useOriginalMessage?: boolean;
|
2675
|
+
useOriginalBody?: boolean;
|
2676
|
+
redeliveryPolicyRef?: string;
|
2677
|
+
loggerRef?: string;
|
2678
|
+
level?: string;
|
2679
|
+
logName?: string;
|
2680
|
+
onRedeliveryRef?: string;
|
2681
|
+
onExceptionOccurredRef?: string;
|
2682
|
+
onPrepareFailureRef?: string;
|
2683
|
+
retryWhileRef?: string;
|
2684
|
+
executorServiceRef?: string;
|
2685
|
+
public constructor(init?: Partial<JtaTransactionErrorHandlerDefinition>) {
|
2686
|
+
super('JtaTransactionErrorHandlerDefinition');
|
2687
|
+
Object.assign(this, init);
|
2688
|
+
}
|
2689
|
+
}
|
2690
|
+
|
2691
|
+
export class NoErrorHandlerDefinition extends CamelElement {
|
2692
|
+
stepName?: string = 'noErrorHandler';
|
2693
|
+
id?: string = 'noErrorHandler-' + uuidv4().substring(0,4);
|
2694
|
+
public constructor(init?: Partial<NoErrorHandlerDefinition>) {
|
2695
|
+
super('NoErrorHandlerDefinition');
|
2696
|
+
Object.assign(this, init);
|
2697
|
+
}
|
2698
|
+
}
|
2699
|
+
|
2700
|
+
export class RefErrorHandlerDefinition extends CamelElement {
|
2701
|
+
stepName?: string = 'refErrorHandler';
|
2702
|
+
id?: string = 'refErrorHandler-' + uuidv4().substring(0,4);
|
2703
|
+
ref: string = '';
|
2704
|
+
public constructor(init?: Partial<RefErrorHandlerDefinition>) {
|
2705
|
+
super('RefErrorHandlerDefinition');
|
2706
|
+
Object.assign(this, init);
|
2707
|
+
}
|
2708
|
+
}
|
2709
|
+
|
2710
|
+
export class SpringTransactionErrorHandlerDefinition extends CamelElement {
|
2711
|
+
stepName?: string = 'springTransactionErrorHandler';
|
2712
|
+
id?: string = 'springTransactionErrorHandler-' + uuidv4().substring(0,4);
|
2713
|
+
transactedPolicyRef?: string;
|
2714
|
+
rollbackLoggingLevel?: string;
|
2715
|
+
redeliveryPolicy?: RedeliveryPolicyDefinition;
|
2716
|
+
useOriginalMessage?: boolean;
|
2717
|
+
useOriginalBody?: boolean;
|
2718
|
+
redeliveryPolicyRef?: string;
|
2719
|
+
loggerRef?: string;
|
2720
|
+
level?: string;
|
2721
|
+
logName?: string;
|
2722
|
+
onRedeliveryRef?: string;
|
2723
|
+
onExceptionOccurredRef?: string;
|
2724
|
+
onPrepareFailureRef?: string;
|
2725
|
+
retryWhileRef?: string;
|
2726
|
+
executorServiceRef?: string;
|
2727
|
+
public constructor(init?: Partial<SpringTransactionErrorHandlerDefinition>) {
|
2728
|
+
super('SpringTransactionErrorHandlerDefinition');
|
2729
|
+
Object.assign(this, init);
|
2730
|
+
}
|
2731
|
+
}
|
2732
|
+
|
2733
|
+
export class CSimpleExpression extends CamelElement {
|
2734
|
+
expressionName?: string = 'csimple';
|
2735
|
+
id?: string = 'csimple-' + uuidv4().substring(0,4);
|
2736
|
+
expression: string = '';
|
2737
|
+
resultType?: string;
|
2738
|
+
trim?: boolean;
|
2739
|
+
public constructor(init?: Partial<CSimpleExpression>) {
|
2740
|
+
super('CSimpleExpression');
|
2741
|
+
Object.assign(this, init);
|
2742
|
+
}
|
2743
|
+
}
|
2744
|
+
|
2745
|
+
export class ConstantExpression extends CamelElement {
|
2746
|
+
expressionName?: string = 'constant';
|
2747
|
+
id?: string = 'constant-' + uuidv4().substring(0,4);
|
2748
|
+
expression: string = '';
|
2749
|
+
resultType?: string;
|
2750
|
+
trim?: boolean;
|
2751
|
+
public constructor(init?: Partial<ConstantExpression>) {
|
2752
|
+
super('ConstantExpression');
|
2753
|
+
Object.assign(this, init);
|
2754
|
+
}
|
2755
|
+
}
|
2756
|
+
|
2757
|
+
export class DatasonnetExpression extends CamelElement {
|
2758
|
+
expressionName?: string = 'datasonnet';
|
2759
|
+
id?: string = 'datasonnet-' + uuidv4().substring(0,4);
|
2760
|
+
expression: string = '';
|
2761
|
+
bodyMediaType?: string;
|
2762
|
+
outputMediaType?: string;
|
2763
|
+
source?: string;
|
2764
|
+
resultType?: string;
|
2765
|
+
trim?: boolean;
|
2766
|
+
public constructor(init?: Partial<DatasonnetExpression>) {
|
2767
|
+
super('DatasonnetExpression');
|
2768
|
+
Object.assign(this, init);
|
2769
|
+
}
|
2770
|
+
}
|
2771
|
+
|
2772
|
+
export class ExchangePropertyExpression extends CamelElement {
|
2773
|
+
expressionName?: string = 'exchangeProperty';
|
2774
|
+
id?: string = 'exchangeProperty-' + uuidv4().substring(0,4);
|
2775
|
+
expression: string = '';
|
2776
|
+
trim?: boolean;
|
2777
|
+
public constructor(init?: Partial<ExchangePropertyExpression>) {
|
2778
|
+
super('ExchangePropertyExpression');
|
2779
|
+
Object.assign(this, init);
|
2780
|
+
}
|
2781
|
+
}
|
2782
|
+
|
2783
|
+
export class ExpressionDefinition extends CamelElement {
|
2784
|
+
stepName?: string = 'expression';
|
2785
|
+
constant?: ConstantExpression | string;
|
2786
|
+
csimple?: CSimpleExpression | string;
|
2787
|
+
datasonnet?: DatasonnetExpression | string;
|
2788
|
+
exchangeProperty?: ExchangePropertyExpression | string;
|
2789
|
+
groovy?: GroovyExpression | string;
|
2790
|
+
header?: HeaderExpression | string;
|
2791
|
+
hl7terser?: Hl7TerserExpression | string;
|
2792
|
+
java?: JavaExpression | string;
|
2793
|
+
jq?: JqExpression | string;
|
2794
|
+
js?: JavaScriptExpression | string;
|
2795
|
+
jsonpath?: JsonPathExpression | string;
|
2796
|
+
language?: LanguageExpression;
|
2797
|
+
method?: MethodCallExpression | string;
|
2798
|
+
mvel?: MvelExpression | string;
|
2799
|
+
ognl?: OgnlExpression | string;
|
2800
|
+
python?: PythonExpression | string;
|
2801
|
+
ref?: RefExpression | string;
|
2802
|
+
simple?: SimpleExpression | string;
|
2803
|
+
spel?: SpELExpression | string;
|
2804
|
+
tokenize?: TokenizerExpression | string;
|
2805
|
+
variable?: VariableExpression | string;
|
2806
|
+
wasm?: WasmExpression | string;
|
2807
|
+
xpath?: XPathExpression | string;
|
2808
|
+
xquery?: XQueryExpression | string;
|
2809
|
+
xtokenize?: XMLTokenizerExpression | string;
|
2810
|
+
public constructor(init?: Partial<ExpressionDefinition>) {
|
2811
|
+
super('ExpressionDefinition');
|
2812
|
+
Object.assign(this, init);
|
2813
|
+
}
|
2814
|
+
}
|
2815
|
+
|
2816
|
+
export class GroovyExpression extends CamelElement {
|
2817
|
+
expressionName?: string = 'groovy';
|
2818
|
+
id?: string = 'groovy-' + uuidv4().substring(0,4);
|
2819
|
+
expression: string = '';
|
2820
|
+
resultType?: string;
|
2821
|
+
trim?: boolean;
|
2822
|
+
public constructor(init?: Partial<GroovyExpression>) {
|
2823
|
+
super('GroovyExpression');
|
2824
|
+
Object.assign(this, init);
|
2825
|
+
}
|
2826
|
+
}
|
2827
|
+
|
2828
|
+
export class HeaderExpression extends CamelElement {
|
2829
|
+
expressionName?: string = 'header';
|
2830
|
+
id?: string = 'header-' + uuidv4().substring(0,4);
|
2831
|
+
expression: string = '';
|
2832
|
+
trim?: boolean;
|
2833
|
+
public constructor(init?: Partial<HeaderExpression>) {
|
2834
|
+
super('HeaderExpression');
|
2835
|
+
Object.assign(this, init);
|
2836
|
+
}
|
2837
|
+
}
|
2838
|
+
|
2839
|
+
export class Hl7TerserExpression extends CamelElement {
|
2840
|
+
expressionName?: string = 'hl7terser';
|
2841
|
+
id?: string = 'hl7terser-' + uuidv4().substring(0,4);
|
2842
|
+
expression: string = '';
|
2843
|
+
source?: string;
|
2844
|
+
resultType?: string;
|
2845
|
+
trim?: boolean;
|
2846
|
+
public constructor(init?: Partial<Hl7TerserExpression>) {
|
2847
|
+
super('Hl7TerserExpression');
|
2848
|
+
Object.assign(this, init);
|
2849
|
+
}
|
2850
|
+
}
|
2851
|
+
|
2852
|
+
export class JavaExpression extends CamelElement {
|
2853
|
+
expressionName?: string = 'java';
|
2854
|
+
id?: string = 'java-' + uuidv4().substring(0,4);
|
2855
|
+
expression: string = '';
|
2856
|
+
preCompile?: boolean;
|
2857
|
+
singleQuotes?: boolean;
|
2858
|
+
resultType?: string;
|
2859
|
+
trim?: boolean;
|
2860
|
+
public constructor(init?: Partial<JavaExpression>) {
|
2861
|
+
super('JavaExpression');
|
2862
|
+
Object.assign(this, init);
|
2863
|
+
}
|
2864
|
+
}
|
2865
|
+
|
2866
|
+
export class JavaScriptExpression extends CamelElement {
|
2867
|
+
expressionName?: string = 'js';
|
2868
|
+
id?: string = 'js-' + uuidv4().substring(0,4);
|
2869
|
+
expression: string = '';
|
2870
|
+
resultType?: string;
|
2871
|
+
trim?: boolean;
|
2872
|
+
public constructor(init?: Partial<JavaScriptExpression>) {
|
2873
|
+
super('JavaScriptExpression');
|
2874
|
+
Object.assign(this, init);
|
2875
|
+
}
|
2876
|
+
}
|
2877
|
+
|
2878
|
+
export class JqExpression extends CamelElement {
|
2879
|
+
expressionName?: string = 'jq';
|
2880
|
+
id?: string = 'jq-' + uuidv4().substring(0,4);
|
2881
|
+
expression: string = '';
|
2882
|
+
source?: string;
|
2883
|
+
resultType?: string;
|
2884
|
+
trim?: boolean;
|
2885
|
+
public constructor(init?: Partial<JqExpression>) {
|
2886
|
+
super('JqExpression');
|
2887
|
+
Object.assign(this, init);
|
2888
|
+
}
|
2889
|
+
}
|
2890
|
+
|
2891
|
+
export class JsonPathExpression extends CamelElement {
|
2892
|
+
expressionName?: string = 'jsonpath';
|
2893
|
+
id?: string = 'jsonpath-' + uuidv4().substring(0,4);
|
2894
|
+
expression: string = '';
|
2895
|
+
suppressExceptions?: boolean;
|
2896
|
+
allowSimple?: boolean;
|
2897
|
+
allowEasyPredicate?: boolean;
|
2898
|
+
writeAsString?: boolean;
|
2899
|
+
unpackArray?: boolean;
|
2900
|
+
option?: string;
|
2901
|
+
source?: string;
|
2902
|
+
resultType?: string;
|
2903
|
+
trim?: boolean;
|
2904
|
+
public constructor(init?: Partial<JsonPathExpression>) {
|
2905
|
+
super('JsonPathExpression');
|
2906
|
+
Object.assign(this, init);
|
2907
|
+
}
|
2908
|
+
}
|
2909
|
+
|
2910
|
+
export class LanguageExpression extends CamelElement {
|
2911
|
+
expressionName?: string = 'language';
|
2912
|
+
id?: string = 'language-' + uuidv4().substring(0,4);
|
2913
|
+
language: string = '';
|
2914
|
+
expression: string = '';
|
2915
|
+
trim?: boolean;
|
2916
|
+
public constructor(init?: Partial<LanguageExpression>) {
|
2917
|
+
super('LanguageExpression');
|
2918
|
+
Object.assign(this, init);
|
2919
|
+
}
|
2920
|
+
}
|
2921
|
+
|
2922
|
+
export class MethodCallExpression extends CamelElement {
|
2923
|
+
expressionName?: string = 'method';
|
2924
|
+
id?: string = 'method-' + uuidv4().substring(0,4);
|
2925
|
+
ref?: string;
|
2926
|
+
method?: string;
|
2927
|
+
beanType?: string;
|
2928
|
+
scope?: string;
|
2929
|
+
validate?: boolean;
|
2930
|
+
resultType?: string;
|
2931
|
+
trim?: boolean;
|
2932
|
+
public constructor(init?: Partial<MethodCallExpression>) {
|
2933
|
+
super('MethodCallExpression');
|
2934
|
+
Object.assign(this, init);
|
2935
|
+
}
|
2936
|
+
}
|
2937
|
+
|
2938
|
+
export class MvelExpression extends CamelElement {
|
2939
|
+
expressionName?: string = 'mvel';
|
2940
|
+
id?: string = 'mvel-' + uuidv4().substring(0,4);
|
2941
|
+
expression: string = '';
|
2942
|
+
resultType?: string;
|
2943
|
+
trim?: boolean;
|
2944
|
+
public constructor(init?: Partial<MvelExpression>) {
|
2945
|
+
super('MvelExpression');
|
2946
|
+
Object.assign(this, init);
|
2947
|
+
}
|
2948
|
+
}
|
2949
|
+
|
2950
|
+
export class OgnlExpression extends CamelElement {
|
2951
|
+
expressionName?: string = 'ognl';
|
2952
|
+
id?: string = 'ognl-' + uuidv4().substring(0,4);
|
2953
|
+
expression: string = '';
|
2954
|
+
resultType?: string;
|
2955
|
+
trim?: boolean;
|
2956
|
+
public constructor(init?: Partial<OgnlExpression>) {
|
2957
|
+
super('OgnlExpression');
|
2958
|
+
Object.assign(this, init);
|
2959
|
+
}
|
2960
|
+
}
|
2961
|
+
|
2962
|
+
export class PythonExpression extends CamelElement {
|
2963
|
+
expressionName?: string = 'python';
|
2964
|
+
id?: string = 'python-' + uuidv4().substring(0,4);
|
2965
|
+
expression: string = '';
|
2966
|
+
resultType?: string;
|
2967
|
+
trim?: boolean;
|
2968
|
+
public constructor(init?: Partial<PythonExpression>) {
|
2969
|
+
super('PythonExpression');
|
2970
|
+
Object.assign(this, init);
|
2971
|
+
}
|
2972
|
+
}
|
2973
|
+
|
2974
|
+
export class RefExpression extends CamelElement {
|
2975
|
+
expressionName?: string = 'ref';
|
2976
|
+
id?: string = 'ref-' + uuidv4().substring(0,4);
|
2977
|
+
expression: string = '';
|
2978
|
+
resultType?: string;
|
2979
|
+
trim?: boolean;
|
2980
|
+
public constructor(init?: Partial<RefExpression>) {
|
2981
|
+
super('RefExpression');
|
2982
|
+
Object.assign(this, init);
|
2983
|
+
}
|
2984
|
+
}
|
2985
|
+
|
2986
|
+
export class SimpleExpression extends CamelElement {
|
2987
|
+
expressionName?: string = 'simple';
|
2988
|
+
id?: string = 'simple-' + uuidv4().substring(0,4);
|
2989
|
+
expression: string = '';
|
2990
|
+
resultType?: string;
|
2991
|
+
trim?: boolean;
|
2992
|
+
public constructor(init?: Partial<SimpleExpression>) {
|
2993
|
+
super('SimpleExpression');
|
2994
|
+
Object.assign(this, init);
|
2995
|
+
}
|
2996
|
+
}
|
2997
|
+
|
2998
|
+
export class SpELExpression extends CamelElement {
|
2999
|
+
expressionName?: string = 'spel';
|
3000
|
+
id?: string = 'spel-' + uuidv4().substring(0,4);
|
3001
|
+
expression: string = '';
|
3002
|
+
resultType?: string;
|
3003
|
+
trim?: boolean;
|
3004
|
+
public constructor(init?: Partial<SpELExpression>) {
|
3005
|
+
super('SpELExpression');
|
3006
|
+
Object.assign(this, init);
|
3007
|
+
}
|
3008
|
+
}
|
3009
|
+
|
3010
|
+
export class TokenizerExpression extends CamelElement {
|
3011
|
+
expressionName?: string = 'tokenize';
|
3012
|
+
id?: string = 'tokenize-' + uuidv4().substring(0,4);
|
3013
|
+
token: string = '';
|
3014
|
+
endToken?: string;
|
3015
|
+
inheritNamespaceTagName?: string;
|
3016
|
+
regex?: boolean;
|
3017
|
+
xml?: boolean;
|
3018
|
+
includeTokens?: boolean;
|
3019
|
+
group?: string;
|
3020
|
+
groupDelimiter?: string;
|
3021
|
+
skipFirst?: boolean;
|
3022
|
+
source?: string;
|
3023
|
+
resultType?: string;
|
3024
|
+
trim?: boolean;
|
3025
|
+
public constructor(init?: Partial<TokenizerExpression>) {
|
3026
|
+
super('TokenizerExpression');
|
3027
|
+
Object.assign(this, init);
|
3028
|
+
}
|
3029
|
+
}
|
3030
|
+
|
3031
|
+
export class VariableExpression extends CamelElement {
|
3032
|
+
expressionName?: string = 'variable';
|
3033
|
+
id?: string = 'variable-' + uuidv4().substring(0,4);
|
3034
|
+
expression: string = '';
|
3035
|
+
trim?: boolean;
|
3036
|
+
public constructor(init?: Partial<VariableExpression>) {
|
3037
|
+
super('VariableExpression');
|
3038
|
+
Object.assign(this, init);
|
3039
|
+
}
|
3040
|
+
}
|
3041
|
+
|
3042
|
+
export class WasmExpression extends CamelElement {
|
3043
|
+
expressionName?: string = 'wasm';
|
3044
|
+
id?: string = 'wasm-' + uuidv4().substring(0,4);
|
3045
|
+
expression: string = '';
|
3046
|
+
module: string = '';
|
3047
|
+
resultType?: string;
|
3048
|
+
trim?: boolean;
|
3049
|
+
public constructor(init?: Partial<WasmExpression>) {
|
3050
|
+
super('WasmExpression');
|
3051
|
+
Object.assign(this, init);
|
3052
|
+
}
|
3053
|
+
}
|
3054
|
+
|
3055
|
+
export class XMLTokenizerExpression extends CamelElement {
|
3056
|
+
expressionName?: string = 'xtokenize';
|
3057
|
+
id?: string = 'xtokenize-' + uuidv4().substring(0,4);
|
3058
|
+
expression: string = '';
|
3059
|
+
mode?: string;
|
3060
|
+
group?: number;
|
3061
|
+
namespace?: PropertyDefinition[] = [];
|
3062
|
+
source?: string;
|
3063
|
+
resultType?: string;
|
3064
|
+
trim?: boolean;
|
3065
|
+
public constructor(init?: Partial<XMLTokenizerExpression>) {
|
3066
|
+
super('XMLTokenizerExpression');
|
3067
|
+
Object.assign(this, init);
|
3068
|
+
}
|
3069
|
+
}
|
3070
|
+
|
3071
|
+
export class XPathExpression extends CamelElement {
|
3072
|
+
expressionName?: string = 'xpath';
|
3073
|
+
id?: string = 'xpath-' + uuidv4().substring(0,4);
|
3074
|
+
expression: string = '';
|
3075
|
+
documentType?: string;
|
3076
|
+
resultQName?: string;
|
3077
|
+
saxon?: boolean;
|
3078
|
+
factoryRef?: string;
|
3079
|
+
objectModel?: string;
|
3080
|
+
logNamespaces?: boolean;
|
3081
|
+
threadSafety?: boolean;
|
3082
|
+
preCompile?: boolean;
|
3083
|
+
namespace?: PropertyDefinition[] = [];
|
3084
|
+
source?: string;
|
3085
|
+
resultType?: string;
|
3086
|
+
trim?: boolean;
|
3087
|
+
public constructor(init?: Partial<XPathExpression>) {
|
3088
|
+
super('XPathExpression');
|
3089
|
+
Object.assign(this, init);
|
3090
|
+
}
|
3091
|
+
}
|
3092
|
+
|
3093
|
+
export class XQueryExpression extends CamelElement {
|
3094
|
+
expressionName?: string = 'xquery';
|
3095
|
+
id?: string = 'xquery-' + uuidv4().substring(0,4);
|
3096
|
+
expression: string = '';
|
3097
|
+
configurationRef?: string;
|
3098
|
+
namespace?: PropertyDefinition[] = [];
|
3099
|
+
source?: string;
|
3100
|
+
resultType?: string;
|
3101
|
+
trim?: boolean;
|
3102
|
+
public constructor(init?: Partial<XQueryExpression>) {
|
3103
|
+
super('XQueryExpression');
|
3104
|
+
Object.assign(this, init);
|
3105
|
+
}
|
3106
|
+
}
|
3107
|
+
|
3108
|
+
export class CustomLoadBalancerDefinition extends CamelElement {
|
3109
|
+
stepName?: string = 'customLoadBalancer';
|
3110
|
+
id?: string = 'customLoadBalancer-' + uuidv4().substring(0,4);
|
3111
|
+
ref: string = '';
|
3112
|
+
public constructor(init?: Partial<CustomLoadBalancerDefinition>) {
|
3113
|
+
super('CustomLoadBalancerDefinition');
|
3114
|
+
Object.assign(this, init);
|
3115
|
+
}
|
3116
|
+
}
|
3117
|
+
|
3118
|
+
export class FailoverLoadBalancerDefinition extends CamelElement {
|
3119
|
+
stepName?: string = 'failoverLoadBalancer';
|
3120
|
+
id?: string = 'failoverLoadBalancer-' + uuidv4().substring(0,4);
|
3121
|
+
exception?: string[] = [];
|
3122
|
+
roundRobin?: string;
|
3123
|
+
sticky?: string;
|
3124
|
+
maximumFailoverAttempts?: string;
|
3125
|
+
public constructor(init?: Partial<FailoverLoadBalancerDefinition>) {
|
3126
|
+
super('FailoverLoadBalancerDefinition');
|
3127
|
+
Object.assign(this, init);
|
3128
|
+
}
|
3129
|
+
}
|
3130
|
+
|
3131
|
+
export class RandomLoadBalancerDefinition extends CamelElement {
|
3132
|
+
stepName?: string = 'randomLoadBalancer';
|
3133
|
+
id?: string = 'randomLoadBalancer-' + uuidv4().substring(0,4);
|
3134
|
+
public constructor(init?: Partial<RandomLoadBalancerDefinition>) {
|
3135
|
+
super('RandomLoadBalancerDefinition');
|
3136
|
+
Object.assign(this, init);
|
3137
|
+
}
|
3138
|
+
}
|
3139
|
+
|
3140
|
+
export class RoundRobinLoadBalancerDefinition extends CamelElement {
|
3141
|
+
stepName?: string = 'roundRobinLoadBalancer';
|
3142
|
+
id?: string = 'roundRobinLoadBalancer-' + uuidv4().substring(0,4);
|
3143
|
+
public constructor(init?: Partial<RoundRobinLoadBalancerDefinition>) {
|
3144
|
+
super('RoundRobinLoadBalancerDefinition');
|
3145
|
+
Object.assign(this, init);
|
3146
|
+
}
|
3147
|
+
}
|
3148
|
+
|
3149
|
+
export class StickyLoadBalancerDefinition extends CamelElement {
|
3150
|
+
stepName?: string = 'stickyLoadBalancer';
|
3151
|
+
id?: string = 'stickyLoadBalancer-' + uuidv4().substring(0,4);
|
3152
|
+
correlationExpression?: ExpressionSubElementDefinition;
|
3153
|
+
public constructor(init?: Partial<StickyLoadBalancerDefinition>) {
|
3154
|
+
super('StickyLoadBalancerDefinition');
|
3155
|
+
Object.assign(this, init);
|
3156
|
+
}
|
3157
|
+
}
|
3158
|
+
|
3159
|
+
export class TopicLoadBalancerDefinition extends CamelElement {
|
3160
|
+
stepName?: string = 'topicLoadBalancer';
|
3161
|
+
id?: string = 'topicLoadBalancer-' + uuidv4().substring(0,4);
|
3162
|
+
public constructor(init?: Partial<TopicLoadBalancerDefinition>) {
|
3163
|
+
super('TopicLoadBalancerDefinition');
|
3164
|
+
Object.assign(this, init);
|
3165
|
+
}
|
3166
|
+
}
|
3167
|
+
|
3168
|
+
export class WeightedLoadBalancerDefinition extends CamelElement {
|
3169
|
+
stepName?: string = 'weightedLoadBalancer';
|
3170
|
+
id?: string = 'weightedLoadBalancer-' + uuidv4().substring(0,4);
|
3171
|
+
distributionRatio: string = '';
|
3172
|
+
distributionRatioDelimiter?: string;
|
3173
|
+
roundRobin?: boolean;
|
3174
|
+
public constructor(init?: Partial<WeightedLoadBalancerDefinition>) {
|
3175
|
+
super('WeightedLoadBalancerDefinition');
|
3176
|
+
Object.assign(this, init);
|
3177
|
+
}
|
3178
|
+
}
|
3179
|
+
|
3180
|
+
export class ApiKeyDefinition extends CamelElement {
|
3181
|
+
stepName?: string = 'apiKey';
|
3182
|
+
description?: string;
|
3183
|
+
name: string = '';
|
3184
|
+
key: string = '';
|
3185
|
+
inHeader?: boolean;
|
3186
|
+
inQuery?: boolean;
|
3187
|
+
inCookie?: boolean;
|
3188
|
+
public constructor(init?: Partial<ApiKeyDefinition>) {
|
3189
|
+
super('ApiKeyDefinition');
|
3190
|
+
Object.assign(this, init);
|
3191
|
+
}
|
3192
|
+
}
|
3193
|
+
|
3194
|
+
export class BasicAuthDefinition extends CamelElement {
|
3195
|
+
stepName?: string = 'basicAuth';
|
3196
|
+
description?: string;
|
3197
|
+
key: string = '';
|
3198
|
+
public constructor(init?: Partial<BasicAuthDefinition>) {
|
3199
|
+
super('BasicAuthDefinition');
|
3200
|
+
Object.assign(this, init);
|
3201
|
+
}
|
3202
|
+
}
|
3203
|
+
|
3204
|
+
export class BearerTokenDefinition extends CamelElement {
|
3205
|
+
stepName?: string = 'bearerToken';
|
3206
|
+
description?: string;
|
3207
|
+
key: string = '';
|
3208
|
+
format?: string;
|
3209
|
+
public constructor(init?: Partial<BearerTokenDefinition>) {
|
3210
|
+
super('BearerTokenDefinition');
|
3211
|
+
Object.assign(this, init);
|
3212
|
+
}
|
3213
|
+
}
|
3214
|
+
|
3215
|
+
export class DeleteDefinition extends CamelElement {
|
3216
|
+
stepName?: string = 'delete';
|
3217
|
+
id?: string = 'delete-' + uuidv4().substring(0,4);
|
3218
|
+
description?: string;
|
3219
|
+
disabled?: boolean;
|
3220
|
+
path?: string;
|
3221
|
+
to?: string;
|
3222
|
+
consumes?: string;
|
3223
|
+
produces?: string;
|
3224
|
+
type?: string;
|
3225
|
+
outType?: string;
|
3226
|
+
bindingMode?: string;
|
3227
|
+
skipBindingOnErrorCode?: boolean;
|
3228
|
+
clientRequestValidation?: boolean;
|
3229
|
+
enableCORS?: boolean;
|
3230
|
+
enableNoContentResponse?: boolean;
|
3231
|
+
apiDocs?: boolean;
|
3232
|
+
deprecated?: boolean;
|
3233
|
+
streamCache?: boolean;
|
3234
|
+
routeId?: string;
|
3235
|
+
param?: ParamDefinition[] = [];
|
3236
|
+
responseMessage?: ResponseMessageDefinition[] = [];
|
3237
|
+
security?: SecurityDefinition[] = [];
|
3238
|
+
public constructor(init?: Partial<DeleteDefinition>) {
|
3239
|
+
super('DeleteDefinition');
|
3240
|
+
Object.assign(this, init);
|
3241
|
+
}
|
3242
|
+
}
|
3243
|
+
|
3244
|
+
export class GetDefinition extends CamelElement {
|
3245
|
+
stepName?: string = 'get';
|
3246
|
+
id?: string = 'get-' + uuidv4().substring(0,4);
|
3247
|
+
description?: string;
|
3248
|
+
disabled?: boolean;
|
3249
|
+
path?: string;
|
3250
|
+
to?: string;
|
3251
|
+
consumes?: string;
|
3252
|
+
produces?: string;
|
3253
|
+
type?: string;
|
3254
|
+
outType?: string;
|
3255
|
+
bindingMode?: string;
|
3256
|
+
skipBindingOnErrorCode?: boolean;
|
3257
|
+
clientRequestValidation?: boolean;
|
3258
|
+
enableCORS?: boolean;
|
3259
|
+
enableNoContentResponse?: boolean;
|
3260
|
+
apiDocs?: boolean;
|
3261
|
+
deprecated?: boolean;
|
3262
|
+
streamCache?: boolean;
|
3263
|
+
routeId?: string;
|
3264
|
+
param?: ParamDefinition[] = [];
|
3265
|
+
responseMessage?: ResponseMessageDefinition[] = [];
|
3266
|
+
security?: SecurityDefinition[] = [];
|
3267
|
+
public constructor(init?: Partial<GetDefinition>) {
|
3268
|
+
super('GetDefinition');
|
3269
|
+
Object.assign(this, init);
|
3270
|
+
}
|
3271
|
+
}
|
3272
|
+
|
3273
|
+
export class HeadDefinition extends CamelElement {
|
3274
|
+
stepName?: string = 'head';
|
3275
|
+
id?: string = 'head-' + uuidv4().substring(0,4);
|
3276
|
+
description?: string;
|
3277
|
+
disabled?: boolean;
|
3278
|
+
path?: string;
|
3279
|
+
to?: string;
|
3280
|
+
consumes?: string;
|
3281
|
+
produces?: string;
|
3282
|
+
type?: string;
|
3283
|
+
outType?: string;
|
3284
|
+
bindingMode?: string;
|
3285
|
+
skipBindingOnErrorCode?: boolean;
|
3286
|
+
clientRequestValidation?: boolean;
|
3287
|
+
enableCORS?: boolean;
|
3288
|
+
enableNoContentResponse?: boolean;
|
3289
|
+
apiDocs?: boolean;
|
3290
|
+
deprecated?: boolean;
|
3291
|
+
streamCache?: boolean;
|
3292
|
+
routeId?: string;
|
3293
|
+
param?: ParamDefinition[] = [];
|
3294
|
+
responseMessage?: ResponseMessageDefinition[] = [];
|
3295
|
+
security?: SecurityDefinition[] = [];
|
3296
|
+
public constructor(init?: Partial<HeadDefinition>) {
|
3297
|
+
super('HeadDefinition');
|
3298
|
+
Object.assign(this, init);
|
3299
|
+
}
|
3300
|
+
}
|
3301
|
+
|
3302
|
+
export class MutualTLSDefinition extends CamelElement {
|
3303
|
+
stepName?: string = 'mutualTLS';
|
3304
|
+
description?: string;
|
3305
|
+
key: string = '';
|
3306
|
+
public constructor(init?: Partial<MutualTLSDefinition>) {
|
3307
|
+
super('MutualTLSDefinition');
|
3308
|
+
Object.assign(this, init);
|
3309
|
+
}
|
3310
|
+
}
|
3311
|
+
|
3312
|
+
export class OAuth2Definition extends CamelElement {
|
3313
|
+
stepName?: string = 'oAuth2';
|
3314
|
+
authorizationUrl?: string;
|
3315
|
+
description?: string;
|
3316
|
+
flow?: string;
|
3317
|
+
key: string = '';
|
3318
|
+
refreshUrl?: string;
|
3319
|
+
scopes?: RestPropertyDefinition[] = [];
|
3320
|
+
tokenUrl?: string;
|
3321
|
+
public constructor(init?: Partial<OAuth2Definition>) {
|
3322
|
+
super('OAuth2Definition');
|
3323
|
+
Object.assign(this, init);
|
3324
|
+
}
|
3325
|
+
}
|
3326
|
+
|
3327
|
+
export class OpenApiDefinition extends CamelElement {
|
3328
|
+
stepName?: string = 'openApi';
|
3329
|
+
id?: string = 'openApi-' + uuidv4().substring(0,4);
|
3330
|
+
description?: string;
|
3331
|
+
disabled?: boolean;
|
3332
|
+
specification: string = '';
|
3333
|
+
routeId?: string;
|
3334
|
+
missingOperation?: string;
|
3335
|
+
mockIncludePattern?: string;
|
3336
|
+
public constructor(init?: Partial<OpenApiDefinition>) {
|
3337
|
+
super('OpenApiDefinition');
|
3338
|
+
Object.assign(this, init);
|
3339
|
+
}
|
3340
|
+
}
|
3341
|
+
|
3342
|
+
export class OpenIdConnectDefinition extends CamelElement {
|
3343
|
+
stepName?: string = 'openIdConnect';
|
3344
|
+
description?: string;
|
3345
|
+
key: string = '';
|
3346
|
+
url: string = '';
|
3347
|
+
public constructor(init?: Partial<OpenIdConnectDefinition>) {
|
3348
|
+
super('OpenIdConnectDefinition');
|
3349
|
+
Object.assign(this, init);
|
3350
|
+
}
|
3351
|
+
}
|
3352
|
+
|
3353
|
+
export class ParamDefinition extends CamelElement {
|
3354
|
+
stepName?: string = 'param';
|
3355
|
+
description?: string;
|
3356
|
+
name: string = '';
|
3357
|
+
type?: string;
|
3358
|
+
defaultValue?: string;
|
3359
|
+
required?: boolean;
|
3360
|
+
collectionFormat?: string;
|
3361
|
+
arrayType?: string;
|
3362
|
+
dataType?: string;
|
3363
|
+
dataFormat?: string;
|
3364
|
+
allowableValues?: string [] = [];
|
3365
|
+
examples?: RestPropertyDefinition[] = [];
|
3366
|
+
public constructor(init?: Partial<ParamDefinition>) {
|
3367
|
+
super('ParamDefinition');
|
3368
|
+
Object.assign(this, init);
|
3369
|
+
}
|
3370
|
+
}
|
3371
|
+
|
3372
|
+
export class PatchDefinition extends CamelElement {
|
3373
|
+
stepName?: string = 'patch';
|
3374
|
+
id?: string = 'patch-' + uuidv4().substring(0,4);
|
3375
|
+
description?: string;
|
3376
|
+
disabled?: boolean;
|
3377
|
+
path?: string;
|
3378
|
+
to?: string;
|
3379
|
+
consumes?: string;
|
3380
|
+
produces?: string;
|
3381
|
+
type?: string;
|
3382
|
+
outType?: string;
|
3383
|
+
bindingMode?: string;
|
3384
|
+
skipBindingOnErrorCode?: boolean;
|
3385
|
+
clientRequestValidation?: boolean;
|
3386
|
+
enableCORS?: boolean;
|
3387
|
+
enableNoContentResponse?: boolean;
|
3388
|
+
apiDocs?: boolean;
|
3389
|
+
deprecated?: boolean;
|
3390
|
+
streamCache?: boolean;
|
3391
|
+
routeId?: string;
|
3392
|
+
param?: ParamDefinition[] = [];
|
3393
|
+
responseMessage?: ResponseMessageDefinition[] = [];
|
3394
|
+
security?: SecurityDefinition[] = [];
|
3395
|
+
public constructor(init?: Partial<PatchDefinition>) {
|
3396
|
+
super('PatchDefinition');
|
3397
|
+
Object.assign(this, init);
|
3398
|
+
}
|
3399
|
+
}
|
3400
|
+
|
3401
|
+
export class PostDefinition extends CamelElement {
|
3402
|
+
stepName?: string = 'post';
|
3403
|
+
id?: string = 'post-' + uuidv4().substring(0,4);
|
3404
|
+
description?: string;
|
3405
|
+
disabled?: boolean;
|
3406
|
+
path?: string;
|
3407
|
+
to?: string;
|
3408
|
+
consumes?: string;
|
3409
|
+
produces?: string;
|
3410
|
+
type?: string;
|
3411
|
+
outType?: string;
|
3412
|
+
bindingMode?: string;
|
3413
|
+
skipBindingOnErrorCode?: boolean;
|
3414
|
+
clientRequestValidation?: boolean;
|
3415
|
+
enableCORS?: boolean;
|
3416
|
+
enableNoContentResponse?: boolean;
|
3417
|
+
apiDocs?: boolean;
|
3418
|
+
deprecated?: boolean;
|
3419
|
+
streamCache?: boolean;
|
3420
|
+
routeId?: string;
|
3421
|
+
param?: ParamDefinition[] = [];
|
3422
|
+
responseMessage?: ResponseMessageDefinition[] = [];
|
3423
|
+
security?: SecurityDefinition[] = [];
|
3424
|
+
public constructor(init?: Partial<PostDefinition>) {
|
3425
|
+
super('PostDefinition');
|
3426
|
+
Object.assign(this, init);
|
3427
|
+
}
|
3428
|
+
}
|
3429
|
+
|
3430
|
+
export class PutDefinition extends CamelElement {
|
3431
|
+
stepName?: string = 'put';
|
3432
|
+
id?: string = 'put-' + uuidv4().substring(0,4);
|
3433
|
+
description?: string;
|
3434
|
+
disabled?: boolean;
|
3435
|
+
path?: string;
|
3436
|
+
to?: string;
|
3437
|
+
consumes?: string;
|
3438
|
+
produces?: string;
|
3439
|
+
type?: string;
|
3440
|
+
outType?: string;
|
3441
|
+
bindingMode?: string;
|
3442
|
+
skipBindingOnErrorCode?: boolean;
|
3443
|
+
clientRequestValidation?: boolean;
|
3444
|
+
enableCORS?: boolean;
|
3445
|
+
enableNoContentResponse?: boolean;
|
3446
|
+
apiDocs?: boolean;
|
3447
|
+
deprecated?: boolean;
|
3448
|
+
streamCache?: boolean;
|
3449
|
+
routeId?: string;
|
3450
|
+
param?: ParamDefinition[] = [];
|
3451
|
+
responseMessage?: ResponseMessageDefinition[] = [];
|
3452
|
+
security?: SecurityDefinition[] = [];
|
3453
|
+
public constructor(init?: Partial<PutDefinition>) {
|
3454
|
+
super('PutDefinition');
|
3455
|
+
Object.assign(this, init);
|
3456
|
+
}
|
3457
|
+
}
|
3458
|
+
|
3459
|
+
export class ResponseHeaderDefinition extends CamelElement {
|
3460
|
+
stepName?: string = 'responseHeader';
|
3461
|
+
description?: string;
|
3462
|
+
name: string = '';
|
3463
|
+
collectionFormat?: string;
|
3464
|
+
arrayType?: string;
|
3465
|
+
dataType?: string;
|
3466
|
+
dataFormat?: string;
|
3467
|
+
allowableValues?: string [] = [];
|
3468
|
+
example?: string;
|
3469
|
+
public constructor(init?: Partial<ResponseHeaderDefinition>) {
|
3470
|
+
super('ResponseHeaderDefinition');
|
3471
|
+
Object.assign(this, init);
|
3472
|
+
}
|
3473
|
+
}
|
3474
|
+
|
3475
|
+
export class ResponseMessageDefinition extends CamelElement {
|
3476
|
+
stepName?: string = 'responseMessage';
|
3477
|
+
code?: string;
|
3478
|
+
message: string = '';
|
3479
|
+
responseModel?: string;
|
3480
|
+
header?: ResponseHeaderDefinition[] = [];
|
3481
|
+
examples?: RestPropertyDefinition[] = [];
|
3482
|
+
public constructor(init?: Partial<ResponseMessageDefinition>) {
|
3483
|
+
super('ResponseMessageDefinition');
|
3484
|
+
Object.assign(this, init);
|
3485
|
+
}
|
3486
|
+
}
|
3487
|
+
|
3488
|
+
export class RestBindingDefinition extends CamelElement {
|
3489
|
+
stepName?: string = 'restBinding';
|
3490
|
+
id?: string = 'restBinding-' + uuidv4().substring(0,4);
|
3491
|
+
description?: string;
|
3492
|
+
consumes?: string;
|
3493
|
+
produces?: string;
|
3494
|
+
bindingMode?: string;
|
3495
|
+
type?: string;
|
3496
|
+
outType?: string;
|
3497
|
+
skipBindingOnErrorCode?: boolean;
|
3498
|
+
clientRequestValidation?: boolean;
|
3499
|
+
enableCORS?: boolean;
|
3500
|
+
enableNoContentResponse?: boolean;
|
3501
|
+
component?: string;
|
3502
|
+
public constructor(init?: Partial<RestBindingDefinition>) {
|
3503
|
+
super('RestBindingDefinition');
|
3504
|
+
Object.assign(this, init);
|
3505
|
+
}
|
3506
|
+
}
|
3507
|
+
|
3508
|
+
export class RestConfigurationDefinition extends CamelElement {
|
3509
|
+
stepName?: string = 'restConfiguration';
|
3510
|
+
component?: string;
|
3511
|
+
apiComponent?: string;
|
3512
|
+
producerComponent?: string;
|
3513
|
+
scheme?: string;
|
3514
|
+
host?: string;
|
3515
|
+
port?: string;
|
3516
|
+
apiHost?: string;
|
3517
|
+
useXForwardHeaders?: boolean;
|
3518
|
+
producerApiDoc?: string;
|
3519
|
+
contextPath?: string;
|
3520
|
+
apiContextPath?: string;
|
3521
|
+
apiContextRouteId?: string;
|
3522
|
+
apiVendorExtension?: boolean;
|
3523
|
+
hostNameResolver?: string;
|
3524
|
+
bindingMode?: string;
|
3525
|
+
bindingPackageScan?: string;
|
3526
|
+
skipBindingOnErrorCode?: boolean;
|
3527
|
+
clientRequestValidation?: boolean;
|
3528
|
+
enableCORS?: boolean;
|
3529
|
+
enableNoContentResponse?: boolean;
|
3530
|
+
inlineRoutes?: boolean;
|
3531
|
+
jsonDataFormat?: string;
|
3532
|
+
xmlDataFormat?: string;
|
3533
|
+
componentProperty?: RestPropertyDefinition[] = [];
|
3534
|
+
endpointProperty?: RestPropertyDefinition[] = [];
|
3535
|
+
consumerProperty?: RestPropertyDefinition[] = [];
|
3536
|
+
dataFormatProperty?: RestPropertyDefinition[] = [];
|
3537
|
+
apiProperty?: RestPropertyDefinition[] = [];
|
3538
|
+
corsHeaders?: RestPropertyDefinition[] = [];
|
3539
|
+
public constructor(init?: Partial<RestConfigurationDefinition>) {
|
3540
|
+
super('RestConfigurationDefinition');
|
3541
|
+
Object.assign(this, init);
|
3542
|
+
}
|
3543
|
+
}
|
3544
|
+
|
3545
|
+
export class RestDefinition extends CamelElement {
|
3546
|
+
stepName?: string = 'rest';
|
3547
|
+
id?: string = 'rest-' + uuidv4().substring(0,4);
|
3548
|
+
description?: string;
|
3549
|
+
disabled?: boolean;
|
3550
|
+
path?: string;
|
3551
|
+
consumes?: string;
|
3552
|
+
produces?: string;
|
3553
|
+
bindingMode?: string;
|
3554
|
+
skipBindingOnErrorCode?: boolean;
|
3555
|
+
clientRequestValidation?: boolean;
|
3556
|
+
enableCORS?: boolean;
|
3557
|
+
enableNoContentResponse?: boolean;
|
3558
|
+
apiDocs?: boolean;
|
3559
|
+
tag?: string;
|
3560
|
+
openApi?: OpenApiDefinition;
|
3561
|
+
securityDefinitions?: RestSecuritiesDefinition;
|
3562
|
+
securityRequirements?: SecurityDefinition[] = [];
|
3563
|
+
delete?: DeleteDefinition[] = [];
|
3564
|
+
get?: GetDefinition[] = [];
|
3565
|
+
head?: HeadDefinition[] = [];
|
3566
|
+
patch?: PatchDefinition[] = [];
|
3567
|
+
post?: PostDefinition[] = [];
|
3568
|
+
put?: PutDefinition[] = [];
|
3569
|
+
public constructor(init?: Partial<RestDefinition>) {
|
3570
|
+
super('RestDefinition');
|
3571
|
+
Object.assign(this, init);
|
3572
|
+
}
|
3573
|
+
}
|
3574
|
+
|
3575
|
+
export class RestPropertyDefinition extends CamelElement {
|
3576
|
+
stepName?: string = 'restProperty';
|
3577
|
+
key: string = '';
|
3578
|
+
value: string = '';
|
3579
|
+
public constructor(init?: Partial<RestPropertyDefinition>) {
|
3580
|
+
super('RestPropertyDefinition');
|
3581
|
+
Object.assign(this, init);
|
3582
|
+
}
|
3583
|
+
}
|
3584
|
+
|
3585
|
+
export class RestSecuritiesDefinition extends CamelElement {
|
3586
|
+
stepName?: string = 'securityDefinitions';
|
3587
|
+
apiKey?: ApiKeyDefinition;
|
3588
|
+
basicAuth?: BasicAuthDefinition;
|
3589
|
+
bearer?: BearerTokenDefinition;
|
3590
|
+
mutualTLS?: MutualTLSDefinition;
|
3591
|
+
oauth2?: OAuth2Definition;
|
3592
|
+
openIdConnect?: OpenIdConnectDefinition;
|
3593
|
+
public constructor(init?: Partial<RestSecuritiesDefinition>) {
|
3594
|
+
super('RestSecuritiesDefinition');
|
3595
|
+
Object.assign(this, init);
|
3596
|
+
}
|
3597
|
+
}
|
3598
|
+
|
3599
|
+
export class RestsDefinition extends CamelElement {
|
3600
|
+
stepName?: string = 'rests';
|
3601
|
+
id?: string = 'rests-' + uuidv4().substring(0,4);
|
3602
|
+
description?: string;
|
3603
|
+
rest?: RestDefinition[] = [];
|
3604
|
+
public constructor(init?: Partial<RestsDefinition>) {
|
3605
|
+
super('RestsDefinition');
|
3606
|
+
Object.assign(this, init);
|
3607
|
+
}
|
3608
|
+
}
|
3609
|
+
|
3610
|
+
export class SecurityDefinition extends CamelElement {
|
3611
|
+
stepName?: string = 'security';
|
3612
|
+
key: string = '';
|
3613
|
+
scopes?: string;
|
3614
|
+
public constructor(init?: Partial<SecurityDefinition>) {
|
3615
|
+
super('SecurityDefinition');
|
3616
|
+
Object.assign(this, init);
|
3617
|
+
}
|
3618
|
+
}
|
3619
|
+
|
3620
|
+
export class LangChain4jTokenizerDefinition extends CamelElement {
|
3621
|
+
stepName?: string = 'langChain4j';
|
3622
|
+
id?: string = 'langChain4j-' + uuidv4().substring(0,4);
|
3623
|
+
description?: string;
|
3624
|
+
disabled?: boolean;
|
3625
|
+
tokenizerType?: string;
|
3626
|
+
maxTokens: number = 0;
|
3627
|
+
maxOverlap: number = 0;
|
3628
|
+
public constructor(init?: Partial<LangChain4jTokenizerDefinition>) {
|
3629
|
+
super('LangChain4jTokenizerDefinition');
|
3630
|
+
Object.assign(this, init);
|
3631
|
+
}
|
3632
|
+
}
|
3633
|
+
|
3634
|
+
export class CustomTransformerDefinition extends CamelElement {
|
3635
|
+
stepName?: string = 'customTransformer';
|
3636
|
+
className?: string;
|
3637
|
+
fromType?: string;
|
3638
|
+
name?: string;
|
3639
|
+
ref?: string;
|
3640
|
+
scheme?: string;
|
3641
|
+
toType?: string;
|
3642
|
+
public constructor(init?: Partial<CustomTransformerDefinition>) {
|
3643
|
+
super('CustomTransformerDefinition');
|
3644
|
+
Object.assign(this, init);
|
3645
|
+
}
|
3646
|
+
}
|
3647
|
+
|
3648
|
+
export class DataFormatTransformerDefinition extends CamelElement {
|
3649
|
+
stepName?: string = 'dataFormatTransformer';
|
3650
|
+
asn1?: ASN1DataFormat | string;
|
3651
|
+
avro?: AvroDataFormat | string;
|
3652
|
+
barcode?: BarcodeDataFormat;
|
3653
|
+
base64?: Base64DataFormat;
|
3654
|
+
beanio?: BeanioDataFormat;
|
3655
|
+
bindy?: BindyDataFormat;
|
3656
|
+
cbor?: CBORDataFormat;
|
3657
|
+
crypto?: CryptoDataFormat;
|
3658
|
+
csv?: CsvDataFormat | string;
|
3659
|
+
custom?: CustomDataFormat | string;
|
3660
|
+
fhirJson?: FhirJsonDataFormat;
|
3661
|
+
fhirXml?: FhirXmlDataFormat;
|
3662
|
+
flatpack?: FlatpackDataFormat;
|
3663
|
+
grok?: GrokDataFormat;
|
3664
|
+
gzipDeflater?: GzipDeflaterDataFormat;
|
3665
|
+
hl7?: HL7DataFormat;
|
3666
|
+
ical?: IcalDataFormat;
|
3667
|
+
jacksonXml?: JacksonXMLDataFormat;
|
3668
|
+
jaxb?: JaxbDataFormat;
|
3669
|
+
json?: JsonDataFormat;
|
3670
|
+
jsonApi?: JsonApiDataFormat;
|
3671
|
+
lzf?: LZFDataFormat;
|
3672
|
+
mimeMultipart?: MimeMultipartDataFormat;
|
3673
|
+
parquetAvro?: ParquetAvroDataFormat | string;
|
3674
|
+
pgp?: PGPDataFormat;
|
3675
|
+
protobuf?: ProtobufDataFormat | string;
|
3676
|
+
rss?: RssDataFormat;
|
3677
|
+
soap?: SoapDataFormat | string;
|
3678
|
+
swiftMt?: SwiftMtDataFormat | string;
|
3679
|
+
swiftMx?: SwiftMxDataFormat;
|
3680
|
+
syslog?: SyslogDataFormat;
|
3681
|
+
tarFile?: TarFileDataFormat;
|
3682
|
+
thrift?: ThriftDataFormat | string;
|
3683
|
+
tidyMarkup?: TidyMarkupDataFormat;
|
3684
|
+
univocityCsv?: UniVocityCsvDataFormat;
|
3685
|
+
univocityFixed?: UniVocityFixedDataFormat;
|
3686
|
+
univocityTsv?: UniVocityTsvDataFormat;
|
3687
|
+
xmlSecurity?: XMLSecurityDataFormat;
|
3688
|
+
yaml?: YAMLDataFormat;
|
3689
|
+
zipDeflater?: ZipDeflaterDataFormat;
|
3690
|
+
zipFile?: ZipFileDataFormat;
|
3691
|
+
fromType?: string;
|
3692
|
+
name?: string;
|
3693
|
+
scheme?: string;
|
3694
|
+
toType?: string;
|
3695
|
+
public constructor(init?: Partial<DataFormatTransformerDefinition>) {
|
3696
|
+
super('DataFormatTransformerDefinition');
|
3697
|
+
Object.assign(this, init);
|
3698
|
+
}
|
3699
|
+
}
|
3700
|
+
|
3701
|
+
export class EndpointTransformerDefinition extends CamelElement {
|
3702
|
+
stepName?: string = 'endpointTransformer';
|
3703
|
+
fromType?: string;
|
3704
|
+
name?: string;
|
3705
|
+
ref?: string;
|
3706
|
+
scheme?: string;
|
3707
|
+
toType?: string;
|
3708
|
+
uri?: string;
|
3709
|
+
public constructor(init?: Partial<EndpointTransformerDefinition>) {
|
3710
|
+
super('EndpointTransformerDefinition');
|
3711
|
+
Object.assign(this, init);
|
3712
|
+
}
|
3713
|
+
}
|
3714
|
+
|
3715
|
+
export class LoadTransformerDefinition extends CamelElement {
|
3716
|
+
stepName?: string = 'loadTransformer';
|
3717
|
+
defaults?: boolean;
|
3718
|
+
fromType?: string;
|
3719
|
+
name?: string;
|
3720
|
+
packageScan?: string;
|
3721
|
+
scheme?: string;
|
3722
|
+
toType?: string;
|
3723
|
+
public constructor(init?: Partial<LoadTransformerDefinition>) {
|
3724
|
+
super('LoadTransformerDefinition');
|
3725
|
+
Object.assign(this, init);
|
3726
|
+
}
|
3727
|
+
}
|
3728
|
+
|
3729
|
+
export class TransformersDefinition extends CamelElement {
|
3730
|
+
stepName?: string = 'transformers';
|
3731
|
+
customTransformer?: CustomTransformerDefinition;
|
3732
|
+
dataFormatTransformer?: DataFormatTransformerDefinition;
|
3733
|
+
endpointTransformer?: EndpointTransformerDefinition;
|
3734
|
+
loadTransformer?: LoadTransformerDefinition;
|
3735
|
+
public constructor(init?: Partial<TransformersDefinition>) {
|
3736
|
+
super('TransformersDefinition');
|
3737
|
+
Object.assign(this, init);
|
3738
|
+
}
|
3739
|
+
}
|
3740
|
+
|
3741
|
+
export class CustomValidatorDefinition extends CamelElement {
|
3742
|
+
stepName?: string = 'customValidator';
|
3743
|
+
className?: string;
|
3744
|
+
ref?: string;
|
3745
|
+
type?: string;
|
3746
|
+
public constructor(init?: Partial<CustomValidatorDefinition>) {
|
3747
|
+
super('CustomValidatorDefinition');
|
3748
|
+
Object.assign(this, init);
|
3749
|
+
}
|
3750
|
+
}
|
3751
|
+
|
3752
|
+
export class EndpointValidatorDefinition extends CamelElement {
|
3753
|
+
stepName?: string = 'endpointValidator';
|
3754
|
+
ref?: string;
|
3755
|
+
type?: string;
|
3756
|
+
uri?: string;
|
3757
|
+
public constructor(init?: Partial<EndpointValidatorDefinition>) {
|
3758
|
+
super('EndpointValidatorDefinition');
|
3759
|
+
Object.assign(this, init);
|
3760
|
+
}
|
3761
|
+
}
|
3762
|
+
|
3763
|
+
export class PredicateValidatorDefinition extends CamelElement {
|
3764
|
+
stepName?: string = 'predicateValidator';
|
3765
|
+
expression?: ExpressionDefinition;
|
3766
|
+
type?: string;
|
3767
|
+
public constructor(init?: Partial<PredicateValidatorDefinition>) {
|
3768
|
+
super('PredicateValidatorDefinition');
|
3769
|
+
Object.assign(this, init);
|
3770
|
+
}
|
3771
|
+
}
|
3772
|
+
|
3773
|
+
export class ValidatorsDefinition extends CamelElement {
|
3774
|
+
stepName?: string = 'validators';
|
3775
|
+
customValidator?: CustomValidatorDefinition;
|
3776
|
+
endpointValidator?: EndpointValidatorDefinition;
|
3777
|
+
predicateValidator?: PredicateValidatorDefinition;
|
3778
|
+
public constructor(init?: Partial<ValidatorsDefinition>) {
|
3779
|
+
super('ValidatorsDefinition');
|
3780
|
+
Object.assign(this, init);
|
3781
|
+
}
|
3782
|
+
}
|
3783
|
+
|