-
Notifications
You must be signed in to change notification settings - Fork 27
/
camelModel.js
15528 lines (15527 loc) · 634 KB
/
camelModel.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
var _apacheCamelModelVersion = '3.21.2';
var _apacheCamelModel ={
"definitions": {
"expression": {
"type": "object",
"title": "expression",
"group": "language",
"icon": "generic24.png",
"description": "Expression in the choose language",
"properties": {
"expression": {
"kind": "element",
"type": "string",
"title": "Expression",
"description": "The expression",
"required": true
},
"language": {
"kind": "element",
"type": "string",
"title": "Expression",
"description": "The chosen language",
"required": true,
"enum": [ "constant", "csimple", "datasonnet", "exchangeProperty", "groovy", "header", "hl7terser", "joor", "jq", "js", "jsonpath", "language", "method", "mvel", "ognl", "python", "ref", "simple", "spel", "tokenize", "xpath", "xquery", "xtokenize" ]
}
}
},
"aggregate": {
"type": "object",
"title": "Aggregate",
"group": "eip,routing",
"icon": "aggregate24.png",
"description": "Aggregates many messages into a single message",
"acceptInput": "true",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "true",
"properties": {
"correlationExpression": {
"kind": "expression",
"type": "object",
"description": "The expression used to calculate the correlation key to use for aggregation. The Exchange which has the same correlation key is aggregated together. If the correlation key could not be evaluated an Exception is thrown. You can disable this by using the ignoreBadCorrelationKeys option.",
"title": "Correlation Expression",
"required": true,
"deprecated": false
},
"completionPredicate": {
"kind": "expression",
"type": "object",
"description": "A Predicate to indicate when an aggregated exchange is complete. If this is not specified and the AggregationStrategy object implements Predicate, the aggregationStrategy object will be used as the completionPredicate.",
"title": "Completion Predicate",
"required": false,
"deprecated": false
},
"completionTimeoutExpression": {
"kind": "expression",
"type": "object",
"description": "Time in millis that an aggregated exchange should be inactive before its complete (timeout). This option can be set as either a fixed value or using an Expression which allows you to evaluate a timeout dynamically - will use Long as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. You cannot use this option together with completionInterval, only one of the two can be used. By default the timeout checker runs every second, you can use the completionTimeoutCheckerInterval option to configure how frequently to run the checker. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals.",
"title": "Completion Timeout Expression",
"required": false,
"deprecated": false
},
"completionSizeExpression": {
"kind": "expression",
"type": "object",
"description": "Number of messages aggregated before the aggregation is complete. This option can be set as either a fixed value or using an Expression which allows you to evaluate a size dynamically - will use Integer as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0.",
"title": "Completion Size Expression",
"required": false,
"deprecated": false
},
"optimisticLockRetryPolicy": {
"kind": "element",
"type": "object",
"description": "Allows to configure retry settings when using optimistic locking.",
"title": "Optimistic Lock Retry Policy",
"required": false,
"deprecated": false
},
"parallelProcessing": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "When aggregated are completed they are being send out of the aggregator. This option indicates whether or not Camel should use a thread pool with multiple threads for concurrency. If no custom thread pool has been specified then Camel creates a default pool with 10 concurrent threads.",
"title": "Parallel Processing",
"required": false,
"deprecated": false
},
"optimisticLocking": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Turns on using optimistic locking, which requires the aggregationRepository being used, is supporting this by implementing org.apache.camel.spi.OptimisticLockingAggregationRepository .",
"title": "Optimistic Locking",
"required": false,
"deprecated": false
},
"executorService": {
"kind": "attribute",
"type": "object",
"description": "If using parallelProcessing you can specify a custom thread pool to be used. In fact also if you are not using parallelProcessing this custom thread pool is used to send out aggregated exchanges as well.",
"title": "Executor Service",
"required": false,
"deprecated": false
},
"timeoutCheckerExecutorService": {
"kind": "attribute",
"type": "object",
"description": "If using either of the completionTimeout, completionTimeoutExpression, or completionInterval options a background thread is created to check for the completion for every aggregator. Set this option to provide a custom thread pool to be used rather than creating a new thread for every aggregator.",
"title": "Timeout Checker Executor Service",
"required": false,
"deprecated": false
},
"aggregateController": {
"kind": "attribute",
"type": "object",
"description": "To use a org.apache.camel.processor.aggregate.AggregateController to allow external sources to control this aggregator.",
"title": "Aggregate Controller",
"required": false,
"deprecated": false
},
"aggregationRepository": {
"kind": "attribute",
"type": "object",
"description": "The AggregationRepository to use. Sets the custom aggregate repository to use. Will by default use org.apache.camel.processor.aggregate.MemoryAggregationRepository",
"title": "Aggregation Repository",
"required": false,
"deprecated": false
},
"aggregationStrategy": {
"kind": "attribute",
"type": "object",
"description": "The AggregationStrategy to use. For example to lookup a bean with the name foo, the value is simply just #bean:foo. Configuring an AggregationStrategy is required, and is used to merge the incoming Exchange with the existing already merged exchanges. At first call the oldExchange parameter is null. On subsequent invocations the oldExchange contains the merged exchanges and newExchange is of course the new incoming Exchange.",
"title": "Aggregation Strategy",
"required": false,
"deprecated": false
},
"aggregationStrategyMethodName": {
"kind": "attribute",
"type": "string",
"description": "This option can be used to explicit declare the method name to use, when using beans as the AggregationStrategy.",
"title": "Aggregation Strategy Method Name",
"required": false,
"deprecated": false
},
"aggregationStrategyMethodAllowNull": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "If this option is false then the aggregate method is not used for the very first aggregation. If this option is true then null values is used as the oldExchange (at the very first aggregation), when using beans as the AggregationStrategy.",
"title": "Aggregation Strategy Method Allow Null",
"required": false,
"deprecated": false
},
"completionSize": {
"kind": "attribute",
"type": "integer",
"description": "Number of messages aggregated before the aggregation is complete. This option can be set as either a fixed value or using an Expression which allows you to evaluate a size dynamically - will use Integer as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0.",
"title": "Completion Size",
"required": false,
"deprecated": false
},
"completionInterval": {
"kind": "attribute",
"type": "duration",
"description": "A repeating period in millis by which the aggregator will complete all current aggregated exchanges. Camel has a background task which is triggered every period. You cannot use this option together with completionTimeout, only one of them can be used.",
"title": "Completion Interval",
"required": false,
"deprecated": false
},
"completionTimeout": {
"kind": "attribute",
"type": "duration",
"description": "Time in millis that an aggregated exchange should be inactive before its complete (timeout). This option can be set as either a fixed value or using an Expression which allows you to evaluate a timeout dynamically - will use Long as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. You cannot use this option together with completionInterval, only one of the two can be used. By default the timeout checker runs every second, you can use the completionTimeoutCheckerInterval option to configure how frequently to run the checker. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals.",
"title": "Completion Timeout",
"required": false,
"deprecated": false
},
"completionTimeoutCheckerInterval": {
"kind": "attribute",
"type": "duration",
"defaultValue": "1000",
"description": "Interval in millis that is used by the background task that checks for timeouts ( org.apache.camel.TimeoutMap ). By default the timeout checker runs every second. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals.",
"title": "Completion Timeout Checker Interval",
"required": false,
"deprecated": false
},
"completionFromBatchConsumer": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Enables the batch completion mode where we aggregate from a org.apache.camel.BatchConsumer and aggregate the total number of exchanges the org.apache.camel.BatchConsumer has reported as total by checking the exchange property org.apache.camel.Exchange#BATCH_COMPLETE when its complete. This option cannot be used together with discardOnAggregationFailure.",
"title": "Completion From Batch Consumer",
"required": false,
"deprecated": false
},
"completionOnNewCorrelationGroup": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Enables completion on all previous groups when a new incoming correlation group. This can for example be used to complete groups with same correlation keys when they are in consecutive order. Notice when this is enabled then only 1 correlation group can be in progress as when a new correlation group starts, then the previous groups is forced completed.",
"title": "Completion On New Correlation Group",
"required": false,
"deprecated": false
},
"eagerCheckCompletion": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Use eager completion checking which means that the completionPredicate will use the incoming Exchange. As opposed to without eager completion checking the completionPredicate will use the aggregated Exchange.",
"title": "Eager Check Completion",
"required": false,
"deprecated": false
},
"ignoreInvalidCorrelationKeys": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "If a correlation key cannot be successfully evaluated it will be ignored by logging a DEBUG and then just ignore the incoming Exchange.",
"title": "Ignore Invalid Correlation Keys",
"required": false,
"deprecated": false
},
"closeCorrelationKeyOnCompletion": {
"kind": "attribute",
"type": "integer",
"description": "Closes a correlation key when its complete. Any late received exchanges which has a correlation key that has been closed, it will be defined and a ClosedCorrelationKeyException is thrown.",
"title": "Close Correlation Key On Completion",
"required": false,
"deprecated": false
},
"discardOnCompletionTimeout": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Discards the aggregated message on completion timeout. This means on timeout the aggregated message is dropped and not sent out of the aggregator.",
"title": "Discard On Completion Timeout",
"required": false,
"deprecated": false
},
"discardOnAggregationFailure": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Discards the aggregated message when aggregation failed (an exception was thrown from AggregationStrategy . This means the partly aggregated message is dropped and not sent out of the aggregator. This option cannot be used together with completionFromBatchConsumer.",
"title": "Discard On Aggregation Failure",
"required": false,
"deprecated": false
},
"forceCompletionOnStop": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Indicates to complete all current aggregated exchanges when the context is stopped",
"title": "Force Completion On Stop",
"required": false,
"deprecated": false
},
"completeAllOnStop": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Indicates to wait to complete all current and partial (pending) aggregated exchanges when the context is stopped. This also means that we will wait for all pending exchanges which are stored in the aggregation repository to complete so the repository is empty before we can stop. You may want to enable this when using the memory based aggregation repository that is memory based only, and do not store data on disk. When this option is enabled, then the aggregator is waiting to complete all those exchanges before its stopped, when stopping CamelContext or the route using it.",
"title": "Complete All On Stop",
"required": false,
"deprecated": false
},
"disabled": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.",
"title": "Disabled",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "Sets the id of this node",
"title": "Id",
"required": false,
"deprecated": false
},
"description": {
"kind": "element",
"type": "object",
"description": "Sets the description of this node",
"title": "Description",
"required": false,
"deprecated": false
}
}
},
"batch-config": {
"type": "object",
"title": "Batch-config",
"group": "configuration,eip",
"icon": "generic24.png",
"description": "Configures batch-processing resequence eip.",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"batchSize": {
"kind": "attribute",
"type": "integer",
"defaultValue": "100",
"description": "Sets the size of the batch to be re-ordered. The default size is 100.",
"title": "Batch Size",
"required": false,
"deprecated": false
},
"batchTimeout": {
"kind": "attribute",
"type": "duration",
"defaultValue": "1000",
"description": "Sets the timeout for collecting elements to be re-ordered. The default timeout is 1000 msec.",
"title": "Batch Timeout",
"required": false,
"deprecated": false
},
"allowDuplicates": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to allow duplicates.",
"title": "Allow Duplicates",
"required": false,
"deprecated": false
},
"reverse": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to reverse the ordering.",
"title": "Reverse",
"required": false,
"deprecated": false
},
"ignoreInvalidExchanges": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to ignore invalid exchanges",
"title": "Ignore Invalid Exchanges",
"required": false,
"deprecated": false
}
}
},
"bean": {
"type": "object",
"title": "Bean",
"group": "eip,endpoint",
"icon": "bean24.png",
"description": "Calls a Java bean",
"acceptInput": "true",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "true",
"properties": {
"ref": {
"kind": "attribute",
"type": "string",
"description": "Sets a reference to an exiting bean to use, which is looked up from the registry",
"title": "Ref",
"required": false,
"deprecated": false
},
"method": {
"kind": "attribute",
"type": "string",
"description": "Sets the method name on the bean to use",
"title": "Method",
"required": false,
"deprecated": false
},
"beanType": {
"kind": "attribute",
"type": "string",
"description": "Sets the class name (fully qualified) of the bean to use",
"title": "Bean Type",
"required": false,
"deprecated": false
},
"scope": {
"kind": "attribute",
"type": "enum",
"defaultValue": "Singleton",
"enum": [ "Singleton", "Request", "Prototype" ],
"description": "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. So when using prototype scope then this depends on the bean registry implementation.",
"title": "Scope",
"required": false,
"deprecated": false
},
"disabled": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.",
"title": "Disabled",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "Sets the id of this node",
"title": "Id",
"required": false,
"deprecated": false
},
"description": {
"kind": "element",
"type": "object",
"description": "Sets the description of this node",
"title": "Description",
"required": false,
"deprecated": false
}
}
},
"blacklistServiceFilter": {
"type": "object",
"title": "Blacklist Service Filter",
"group": "routing,cloud,service-filter",
"icon": "generic24.png",
"description": "",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"servers": {
"kind": "element",
"type": "array",
"description": "Sets the server blacklist. Each entry can be a list of servers separated by comma in the format: servicehost:port,servicehost2:port,servicehost3:port",
"title": "Servers",
"required": false,
"deprecated": false
},
"properties": {
"kind": "element",
"type": "array",
"description": "Set client properties to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.",
"title": "Properties",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "The id of this node",
"title": "Id",
"required": false,
"deprecated": false
}
}
},
"cachingServiceDiscovery": {
"type": "object",
"title": "Caching Service Discovery",
"group": "routing,cloud,service-discovery",
"icon": "generic24.png",
"description": "",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"timeout": {
"kind": "attribute",
"type": "integer",
"defaultValue": "60",
"description": "Set the time the services will be retained.",
"title": "Timeout",
"required": false,
"deprecated": false
},
"units": {
"kind": "attribute",
"type": "enum",
"defaultValue": "SECONDS",
"enum": [ "NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS", "DAYS" ],
"description": "Set the time unit for the timeout.",
"title": "Units",
"required": false,
"deprecated": false
},
"serviceDiscoveryConfiguration": {
"kind": "element",
"type": "object",
"description": "Set the service-call configuration to use",
"title": "Service Discovery Configuration",
"required": true,
"deprecated": false
},
"properties": {
"kind": "element",
"type": "array",
"description": "Set client properties to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.",
"title": "Properties",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "The id of this node",
"title": "Id",
"required": false,
"deprecated": false
}
}
},
"choice": {
"type": "object",
"title": "Choice",
"group": "eip,routing",
"icon": "choice24.png",
"description": "Route messages based on a series of predicates",
"acceptInput": "true",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "true",
"properties": {
"when": {
"kind": "element",
"type": "array",
"description": "Sets the when nodes",
"title": "When",
"required": false,
"deprecated": false
},
"otherwise": {
"kind": "element",
"type": "object",
"description": "Sets the otherwise node",
"title": "Otherwise",
"required": false,
"deprecated": false
},
"precondition": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Indicates whether this Choice EIP is in precondition mode or not. If so its branches (when\/otherwise) are evaluated during startup to keep at runtime only the branch that matched.",
"title": "Precondition",
"required": false,
"deprecated": false
},
"disabled": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.",
"title": "Disabled",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "Sets the id of this node",
"title": "Id",
"required": false,
"deprecated": false
},
"description": {
"kind": "element",
"type": "object",
"description": "Sets the description of this node",
"title": "Description",
"required": false,
"deprecated": false
}
}
},
"circuitBreaker": {
"type": "object",
"title": "Circuit Breaker",
"group": "eip,routing",
"icon": "generic24.png",
"description": "Route messages in a fault tolerance way using Circuit Breaker",
"acceptInput": "true",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "true",
"properties": {
"resilience4jConfiguration": {
"kind": "element",
"type": "object",
"description": "Configures the circuit breaker to use Resilience4j with the given configuration.",
"title": "Resilience4j Configuration",
"required": false,
"deprecated": false
},
"faultToleranceConfiguration": {
"kind": "element",
"type": "object",
"description": "Configures the circuit breaker to use MicroProfile Fault Tolerance with the given configuration.",
"title": "Fault Tolerance Configuration",
"required": false,
"deprecated": false
},
"configuration": {
"kind": "attribute",
"type": "string",
"description": "Refers to a circuit breaker configuration (such as resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP.",
"title": "Configuration",
"required": false,
"deprecated": false
},
"disabled": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.",
"title": "Disabled",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "Sets the id of this node",
"title": "Id",
"required": false,
"deprecated": false
},
"description": {
"kind": "element",
"type": "object",
"description": "Sets the description of this node",
"title": "Description",
"required": false,
"deprecated": false
}
}
},
"claimCheck": {
"type": "object",
"title": "Claim Check",
"group": "eip,routing",
"icon": "generic24.png",
"description": "The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time.",
"acceptInput": "true",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "true",
"properties": {
"operation": {
"kind": "attribute",
"type": "enum",
"enum": [ "Get", "GetAndRemove", "Set", "Push", "Pop" ],
"description": "The claim check operation to use. The following operations are supported: Get - Gets (does not remove) the claim check by the given key. GetAndRemove - Gets and removes the claim check by the given key. Set - Sets a new (will override if key already exists) claim check with the given key. Push - Sets a new claim check on the stack (does not use key). Pop - Gets the latest claim check from the stack (does not use key).",
"title": "Operation",
"required": false,
"deprecated": false
},
"key": {
"kind": "attribute",
"type": "string",
"description": "To use a specific key for claim check id (for dynamic keys use simple language syntax as the key).",
"title": "Key",
"required": false,
"deprecated": false
},
"filter": {
"kind": "attribute",
"type": "string",
"description": "Specify a filter to control what data gets merged data back from the claim check repository. The following syntax is supported: body - to aggregate the message body attachments - to aggregate all the message attachments headers - to aggregate all the message headers header:pattern - to aggregate all the message headers that matches the pattern. The following pattern rules are applied in this order: exact match, returns true wildcard match (pattern ends with a and the name starts with the pattern), returns true regular expression match, returns true otherwise returns false You can specify multiple rules separated by comma. For example, the following includes the message body and all headers starting with foo: body,header:foo. The syntax supports the following prefixes which can be used to specify include,exclude, or remove - to include (which is the default mode) - - to exclude (exclude takes precedence over include) -- - to remove (remove takes precedence) For example to exclude a header name foo, and remove all headers starting with bar, -header:foo,--headers:bar Note you cannot have both include and exclude header:pattern at the same time.",
"title": "Filter",
"required": false,
"deprecated": false
},
"aggregationStrategy": {
"kind": "attribute",
"type": "object",
"description": "To use a custom AggregationStrategy instead of the default implementation. Notice you cannot use both custom aggregation strategy and configure data at the same time.",
"title": "Aggregation Strategy",
"required": false,
"deprecated": false
},
"aggregationStrategyMethodName": {
"kind": "attribute",
"type": "string",
"description": "This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.",
"title": "Aggregation Strategy Method Name",
"required": false,
"deprecated": false
},
"disabled": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.",
"title": "Disabled",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "Sets the id of this node",
"title": "Id",
"required": false,
"deprecated": false
},
"description": {
"kind": "element",
"type": "object",
"description": "Sets the description of this node",
"title": "Description",
"required": false,
"deprecated": false
}
}
},
"combinedServiceDiscovery": {
"type": "object",
"title": "Combined Service Discovery",
"group": "routing,cloud,service-discovery",
"icon": "generic24.png",
"description": "",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"serviceDiscoveryConfigurations": {
"kind": "element",
"type": "array",
"description": "List of ServiceDiscovery configuration to use",
"title": "Service Discovery Configurations",
"required": true,
"deprecated": false
},
"properties": {
"kind": "element",
"type": "array",
"description": "Set client properties to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.",
"title": "Properties",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "The id of this node",
"title": "Id",
"required": false,
"deprecated": false
}
}
},
"combinedServiceFilter": {
"type": "object",
"title": "Combined Service Filter",
"group": "routing,cloud,service-filter",
"icon": "generic24.png",
"description": "",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"serviceFilterConfigurations": {
"kind": "element",
"type": "array",
"description": "List of ServiceFilter configuration to use",
"title": "Service Filter Configurations",
"required": true,
"deprecated": false
},
"properties": {
"kind": "element",
"type": "array",
"description": "Set client properties to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.",
"title": "Properties",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "The id of this node",
"title": "Id",
"required": false,
"deprecated": false
}
}
},
"consulServiceDiscovery": {
"type": "object",
"title": "Consul Service Discovery",
"group": "routing,cloud,service-discovery",
"icon": "generic24.png",
"description": "",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"url": {
"kind": "attribute",
"type": "string",
"description": "The Consul agent URL",
"title": "Url",
"required": false,
"deprecated": false
},
"datacenter": {
"kind": "attribute",
"type": "string",
"description": "The data center",
"title": "Datacenter",
"required": false,
"deprecated": false
},
"aclToken": {
"kind": "attribute",
"type": "string",
"description": "Sets the ACL token to be used with Consul",
"title": "Acl Token",
"required": false,
"deprecated": false
},
"userName": {
"kind": "attribute",
"type": "string",
"description": "Sets the username to be used for basic authentication",
"title": "User Name",
"required": false,
"deprecated": false
},
"password": {
"kind": "attribute",
"type": "string",
"description": "Sets the password to be used for basic authentication",
"title": "Password",
"required": false,
"deprecated": false
},
"connectTimeoutMillis": {
"kind": "attribute",
"type": "integer",
"description": "Connect timeout for OkHttpClient",
"title": "Connect Timeout Millis",
"required": false,
"deprecated": false
},
"readTimeoutMillis": {
"kind": "attribute",
"type": "integer",
"description": "Read timeout for OkHttpClient",
"title": "Read Timeout Millis",
"required": false,
"deprecated": false
},
"writeTimeoutMillis": {
"kind": "attribute",
"type": "integer",
"description": "Write timeout for OkHttpClient",
"title": "Write Timeout Millis",
"required": false,
"deprecated": false
},
"blockSeconds": {
"kind": "attribute",
"type": "integer",
"defaultValue": "10",
"description": "The seconds to wait for a watch event, default 10 seconds",
"title": "Block Seconds",
"required": false,
"deprecated": false
},
"properties": {
"kind": "element",
"type": "array",
"description": "Set client properties to use. These properties are specific to what service call implementation are in use. For example if using a different one, then the client properties are defined according to the specific service in use.",
"title": "Properties",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "The id of this node",
"title": "Id",
"required": false,
"deprecated": false
}
}
},
"contextScan": {
"type": "object",
"title": "Context Scan",
"group": "configuration",
"icon": "generic24.png",
"description": "Scans for Java org.apache.camel.builder.RouteBuilder instances in the context org.apache.camel.spi.Registry .",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"includeNonSingletons": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to include non-singleton beans (prototypes) By default only singleton beans is included in the context scan",
"title": "Include Non Singletons",
"required": false,
"deprecated": false
},
"excludes": {
"kind": "element",
"type": "array",
"description": "Exclude finding route builder from these java package names.",
"title": "Excludes",
"required": false,
"deprecated": false
},
"includes": {
"kind": "element",
"type": "array",
"description": "Include finding route builder from these java package names.",
"title": "Includes",
"required": false,
"deprecated": false
}
}
},
"convertBodyTo": {
"type": "object",
"title": "Convert Body To",
"group": "eip,transformation",
"icon": "convertBodyTo24.png",
"description": "Converts the message body to another type",
"acceptInput": "true",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "true",
"properties": {
"type": {
"kind": "attribute",
"type": "string",
"description": "The java type to convert to",
"title": "Type",
"required": true,
"deprecated": false
},
"mandatory": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "true",
"description": "When mandatory then the conversion must return a value (cannot be null), if this is not possible then NoTypeConversionAvailableException is thrown. Setting this to false could mean conversion is not possible and the value is null.",
"title": "Mandatory",
"required": false,
"deprecated": false
},
"charset": {
"kind": "attribute",
"type": "string",
"description": "To use a specific charset when converting",
"title": "Charset",
"required": false,
"deprecated": false
},
"disabled": {
"kind": "attribute",
"type": "boolean",
"defaultValue": "false",
"description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.",
"title": "Disabled",
"required": false,
"deprecated": false
},
"id": {
"kind": "attribute",
"type": "string",
"description": "Sets the id of this node",
"title": "Id",
"required": false,
"deprecated": false
},
"description": {
"kind": "element",
"type": "object",
"description": "Sets the description of this node",
"title": "Description",
"required": false,
"deprecated": false
}
}
},
"customLoadBalancer": {
"type": "object",
"title": "Custom Load Balancer",
"group": "eip,routing",
"icon": "generic24.png",
"description": "To use a custom load balancer implementation.",
"acceptInput": "false",
"acceptOutput": "false",
"nextSiblingAddedAsChild": "false",
"properties": {
"ref": {
"kind": "attribute",
"type": "string",
"description": "Refers to the custom load balancer to lookup from the registry",
"title": "Ref",