-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
CamelConfigurationProperties.java
990 lines (794 loc) · 31 KB
/
CamelConfigurationProperties.java
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
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.camel.spring.boot;
import org.apache.camel.ManagementStatisticsLevel;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "camel.springboot")
public class CamelConfigurationProperties {
// Properties
/**
* Sets the name of the CamelContext.
*/
private String name;
/**
* Timeout in seconds to graceful shutdown Camel.
*/
private int shutdownTimeout = 300;
/**
* Whether Camel should try to suppress logging during shutdown and timeout was triggered,
* meaning forced shutdown is happening. And during forced shutdown we want to avoid logging
* errors/warnings et all in the logs as a side-effect of the forced timeout.
* Notice the suppress is a best effort as there may still be some logs coming
* from 3rd party libraries and whatnot, which Camel cannot control.
* This option is default false.
*/
private boolean shutdownSuppressLoggingOnTimeout;
/**
* Sets whether to force shutdown of all consumers when a timeout occurred and thus
* not all consumers was shutdown within that period.
*
* You should have good reasons to set this option to false as it means that the routes
* keep running and is halted abruptly when CamelContext has been shutdown.
*/
private boolean shutdownNowOnTimeout = true;
/**
* Sets whether routes should be shutdown in reverse or the same order as they where started.
*/
private boolean shutdownRoutesInReverseOrder = true;
/**
* Sets whether to log information about the inflight Exchanges which are still running
* during a shutdown which didn't complete without the given timeout.
*/
private boolean shutdownLogInflightExchangesOnTimeout = true;
/**
* Enable JMX in your Camel application.
*/
private boolean jmxEnabled = true;
/**
* Producer template endpoints cache size.
*/
private int producerTemplateCacheSize = 1000;
/**
* Consumer template endpoints cache size.
*/
private int consumerTemplateCacheSize = 1000;
/**
* Enables enhanced Camel/Spring type conversion.
*/
private boolean typeConversion = true;
/**
* Sets whether to load custom type converters by scanning classpath.
* This can be turned off if you are only using Camel components
* that does not provide type converters which is needed at runtime.
* In such situations setting this option to false, can speedup starting
* Camel.
*/
private boolean loadTypeConverters = true;
/**
* Used for inclusive filtering component scanning of RouteBuilder classes with @Component annotation.
* The exclusive filtering takes precedence over inclusive filtering.
* The pattern is using Ant-path style pattern.
*
* Multiple patterns can be specified separated by comma.
* For example to include all classes starting with Foo use: **/Foo*
* To include all routes form a specific package use: com/mycompany/foo/*
* To include all routes form a specific package and its sub-packages use double wildcards: com/mycompany/foo/**
* And to include all routes from two specific packages use: com/mycompany/foo/*,com/mycompany/stuff/*
*/
private String javaRoutesIncludePattern;
/**
* Used for exclusive filtering component scanning of RouteBuilder classes with @Component annotation.
* The exclusive filtering takes precedence over inclusive filtering.
* The pattern is using Ant-path style pattern.
* Multiple patterns can be specified separated by comma.
*
* For example to exclude all classes starting with Bar use: **/Bar*
* To exclude all routes form a specific package use: com/mycompany/bar/*
* To exclude all routes form a specific package and its sub-packages use double wildcards: com/mycompany/bar/**
* And to exclude all routes from two specific packages use: com/mycompany/bar/*,com/mycompany/stuff/*
*/
private String javaRoutesExcludePattern;
/**
* Directory to scan for adding additional XML routes.
* You can turn this off by setting the value to false.
*
* Files can be loaded from either classpath or file by prefixing with classpath: or file:
* Wildcards is supported using a ANT pattern style paths, such as classpath:**/*camel*.xml
*
* Multiple directories can be specified and separated by comma, such as:
* file:/myapp/mycamel/*.xml,file:/myapp/myothercamel/*.xml
*/
private String xmlRoutes = "classpath:camel/*.xml";
/**
* Directory to scan for adding additional XML rests.
* You can turn this off by setting the value to false.
*
* Files can be loaded from either classpath or file by prefixing with classpath: or file:
* Wildcards is supported using a ANT pattern style paths, such as classpath:**/*camel*.xml
*
* Multiple directories can be specified and separated by comma, such as:
* file:/myapp/mycamel/*.xml,file:/myapp/myothercamel/*.xml
*/
private String xmlRests = "classpath:camel-rest/*.xml";
/**
* To watch the directory for file changes which triggers
* a live reload of the Camel routes on-the-fly.
*
* For example configure this to point to the source code where the Camel XML files are located
* such as: src/main/resources/camel/
*/
private String xmlRoutesReloadDirectory;
/**
* Directory to load additional configuration files that contains
* configuration values that takes precedence over any other configuration.
* This can be used to refer to files that may have secret configuration that
* has been mounted on the file system for containers.
*
* You must use either file: or classpath: as prefix to load
* from file system or classpath. Then you can specify a pattern to load
* from sub directories and a name pattern such as file:/var/app/secret/*.properties
*/
private String fileConfigurations;
/**
* Whether to use the main run controller to ensure the Spring-Boot application
* keeps running until being stopped or the JVM terminated.
* You typically only need this if you run Spring-Boot standalone.
* If you run Spring-Boot with spring-boot-starter-web then the web container keeps the JVM running.
*/
private boolean mainRunController;
/**
* To specify for how long time in seconds to keep running the JVM before automatic terminating the JVM.
* You can use this to run Spring Boot for a short while.
*/
private int durationMaxSeconds;
/**
* To specify for how long time in seconds Camel can be idle before automatic terminating the JVM.
* You can use this to run Spring Boot for a short while.
*/
private int durationMaxIdleSeconds;
/**
* To specify how many messages to process by Camel before automatic terminating the JVM.
* You can use this to run Spring Boot for a short while.
*/
private int durationMaxMessages;
/**
* Whether to include non-singleton beans (prototypes) when scanning for RouteBuilder instances.
* By default only singleton beans is included in the context scan.
*/
private boolean includeNonSingletons;
/**
* Is used to limit the maximum length of the logging Camel message bodies. If the message body
* is longer than the limit, the log message is clipped. Use -1 to have unlimited length.
* Use for example 1000 to log at most 1000 characters.
*/
private int logDebugMaxChars;
/**
* Sets whether stream caching is enabled or not (deprecated use stream-caching-enabled instead).
*
* Default is false.
*/
@Deprecated
private boolean streamCaching;
/**
* Sets whether stream caching is enabled or not.
*
* Default is false.
*/
private boolean streamCachingEnabled;
/**
* Sets the stream caching spool (temporary) directory to use for overflow and spooling to disk.
*
* If no spool directory has been explicit configured, then a temporary directory
* is created in the java.io.tmpdir directory.
*/
private String streamCachingSpoolDirectory;
/**
* Sets a stream caching chiper name to use when spooling to disk to write with encryption.
* By default the data is not encrypted.
*/
private String streamCachingSpoolChiper;
/**
* Stream caching threshold in bytes when overflow to disk is activated.
* The default threshold is 128kb.
* Use -1 to disable overflow to disk.
*/
private long streamCachingSpoolThreshold;
/**
* Sets a percentage (1-99) of used heap memory threshold to activate stream caching spooling to disk.
*/
private int streamCachingSpoolUsedHeapMemoryThreshold;
/**
* Sets what the upper bounds should be when streamCachingSpoolUsedHeapMemoryThreshold is in use.
*/
private String streamCachingSpoolUsedHeapMemoryLimit;
/**
* Sets whether if just any of the org.apache.camel.spi.StreamCachingStrategy.SpoolRule rules
* returns true then shouldSpoolCache(long) returns true, to allow spooling to disk.
* If this option is false, then all the org.apache.camel.spi.StreamCachingStrategy.SpoolRule must
* return true.
*
* The default value is false which means that all the rules must return true.
*/
private boolean streamCachingAnySpoolRules;
/**
* Sets the stream caching buffer size to use when allocating in-memory buffers used for in-memory stream caches.
*
* The default size is 4096.
*/
private int streamCachingBufferSize;
/**
* Whether to remove stream caching temporary directory when stopping.
* This option is default true.
*/
private boolean streamCachingRemoveSpoolDirectoryWhenStopping = true;
/**
* Sets whether stream caching statistics is enabled.
*/
private boolean streamCachingStatisticsEnabled;
/**
* Sets whether tracing is enabled or not.
*
* Default is false.
*/
private boolean tracing;
/**
* Sets whether message history is enabled or not.
*
* Default is true.
*/
private boolean messageHistory = true;
/**
* Sets whether log mask is enabled or not.
*
* Default is false.
*/
private boolean logMask;
/**
* Sets whether to log exhausted message body with message history.
*
* Default is false.
*/
private boolean logExhaustedMessageBody;
/**
* Sets whether fault handling is enabled or not.
*
* Default is false.
*/
private boolean handleFault;
/**
* Sets whether the object should automatically start when Camel starts.
* Important: Currently only routes can be disabled, as CamelContext's are always started.
* Note: When setting auto startup false on CamelContext then that takes precedence
* and no routes is started. You would need to start CamelContext explicit using
* the org.apache.camel.CamelContext.start() method, to start the context, and then
* you would need to start the routes manually using Camelcontext.getRouteController().startRoute(String).
*
* Default is true to always start up.
*/
private boolean autoStartup = true;
/**
* Sets whether to allow access to the original message from Camel's error handler,
* or from org.apache.camel.spi.UnitOfWork.getOriginalInMessage().
* Turning this off can optimize performance, as defensive copy of the original message is not needed.
*
* Default is false.
*/
private boolean allowUseOriginalMessage;
/**
* Sets whether endpoint runtime statistics is enabled (gathers runtime usage of each incoming and outgoing endpoints).
*
* The default value is false.
*/
private boolean endpointRuntimeStatisticsEnabled;
/**
* Whether to enable using data type on Camel messages.
*
* Data type are automatic turned on if one ore more routes has been explicit configured with input and output types.
* Otherwise data type is default off.
*/
private boolean useDataType;
/**
* Set whether breadcrumb is enabled.
* The default value is true.
*/
private boolean useBreadcrumb = true;
/**
* Sets the JMX statistics level
* The level can be set to Extended to gather additional information
*
* The default value is Default.
*/
private ManagementStatisticsLevel jmxManagementStatisticsLevel = ManagementStatisticsLevel.Default;
/**
* The naming pattern for creating the CamelContext JMX management name.
*
* The default pattern is #name#
*/
private String jmxManagementNamePattern = "#name#";
/**
* Whether JMX connector is created, allowing clients to connect remotely
*
* The default value is false.
*/
private boolean jmxCreateConnector;
/**
* Tracer should output message body
*/
private boolean traceFormatterShowBody = true;
/**
* Tracer should output message body type
*/
private boolean tracerFormatterShowBodyType = true;
/**
* Tracer should output breadcrumb
*/
private boolean traceFormatterShowBreadCrumb = true;
/**
* Tracer should output exchange id
*/
private boolean traceFormatterShowExchangeId;
/**
* Tracer should output message headers
*/
private boolean traceFormatterShowHeaders = true;
/**
* Tracer should output exchange properties
*/
private boolean traceFormatterShowProperties;
/**
* Tracer should output EIP node
*/
private boolean traceFormatterShowNode = true;
/**
* Tracer should output message exchange pattern (MEP)
*/
private boolean traceFormatterShowExchangePattern = true;
/**
* Tracer should output exception
*/
private boolean traceFormatterShowException = true;
/**
* Tracer should output route id
*/
private boolean traceFormatterShowRouteId = true;
/**
* Tracer maximum length of breadcrumb ids
*/
private Integer tracerFormatterBreadCrumbLength;
/**
* Tracer should output short exchange id
*/
private boolean traceFormatterShowShortExchangeId;
/**
* Tracer maximum length of node
*/
private Integer tracerFormatterNodeLength;
/**
* Tracer maximum characters in total
*/
private Integer tracerFormatterMaxChars = 10000;
/**
* To turn on MDC logging (deprecated use use-mdc-logging instead)
*/
@Deprecated
private boolean useMDCLogging;
/**
* To turn on MDC logging
*/
private boolean useMdcLogging;
/**
* Sets the thread name pattern used for creating the full thread name.
*
* The default pattern is: Camel (#camelId#) thread ##counter# - #name#
*
* Where #camelId# is the name of the CamelContext.
* and #counter# is a unique incrementing counter.
* and #name# is the regular thread name.
*
* You can also use #longName# which is the long thread name which can includes endpoint parameters etc.
*/
private String threadNamePattern;
// Getters & setters
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getShutdownTimeout() {
return shutdownTimeout;
}
public void setShutdownTimeout(int shutdownTimeout) {
this.shutdownTimeout = shutdownTimeout;
}
public boolean isShutdownSuppressLoggingOnTimeout() {
return shutdownSuppressLoggingOnTimeout;
}
public void setShutdownSuppressLoggingOnTimeout(boolean shutdownSuppressLoggingOnTimeout) {
this.shutdownSuppressLoggingOnTimeout = shutdownSuppressLoggingOnTimeout;
}
public boolean isShutdownNowOnTimeout() {
return shutdownNowOnTimeout;
}
public void setShutdownNowOnTimeout(boolean shutdownNowOnTimeout) {
this.shutdownNowOnTimeout = shutdownNowOnTimeout;
}
public boolean isShutdownRoutesInReverseOrder() {
return shutdownRoutesInReverseOrder;
}
public void setShutdownRoutesInReverseOrder(boolean shutdownRoutesInReverseOrder) {
this.shutdownRoutesInReverseOrder = shutdownRoutesInReverseOrder;
}
public boolean isShutdownLogInflightExchangesOnTimeout() {
return shutdownLogInflightExchangesOnTimeout;
}
public void setShutdownLogInflightExchangesOnTimeout(boolean shutdownLogInflightExchangesOnTimeout) {
this.shutdownLogInflightExchangesOnTimeout = shutdownLogInflightExchangesOnTimeout;
}
public boolean isJmxEnabled() {
return jmxEnabled;
}
public void setJmxEnabled(boolean jmxEnabled) {
this.jmxEnabled = jmxEnabled;
}
public int getProducerTemplateCacheSize() {
return producerTemplateCacheSize;
}
public void setProducerTemplateCacheSize(int producerTemplateCacheSize) {
this.producerTemplateCacheSize = producerTemplateCacheSize;
}
public int getConsumerTemplateCacheSize() {
return consumerTemplateCacheSize;
}
public void setConsumerTemplateCacheSize(int consumerTemplateCacheSize) {
this.consumerTemplateCacheSize = consumerTemplateCacheSize;
}
public boolean isTypeConversion() {
return typeConversion;
}
public void setTypeConversion(boolean typeConversion) {
this.typeConversion = typeConversion;
}
public boolean isLoadTypeConverters() {
return loadTypeConverters;
}
public void setLoadTypeConverters(boolean loadTypeConverters) {
this.loadTypeConverters = loadTypeConverters;
}
public String getJavaRoutesIncludePattern() {
return javaRoutesIncludePattern;
}
public void setJavaRoutesIncludePattern(String javaRoutesIncludePattern) {
this.javaRoutesIncludePattern = javaRoutesIncludePattern;
}
public String getJavaRoutesExcludePattern() {
return javaRoutesExcludePattern;
}
public void setJavaRoutesExcludePattern(String javaRoutesExcludePattern) {
this.javaRoutesExcludePattern = javaRoutesExcludePattern;
}
public String getXmlRoutes() {
return xmlRoutes;
}
public void setXmlRoutes(String xmlRoutes) {
this.xmlRoutes = xmlRoutes;
}
public String getXmlRests() {
return xmlRests;
}
public void setXmlRests(String xmlRests) {
this.xmlRests = xmlRests;
}
public String getXmlRoutesReloadDirectory() {
return xmlRoutesReloadDirectory;
}
public void setXmlRoutesReloadDirectory(String xmlRoutesReloadDirectory) {
this.xmlRoutesReloadDirectory = xmlRoutesReloadDirectory;
}
public boolean isMainRunController() {
return mainRunController;
}
public void setMainRunController(boolean mainRunController) {
this.mainRunController = mainRunController;
}
public int getDurationMaxSeconds() {
return durationMaxSeconds;
}
public void setDurationMaxSeconds(int durationMaxSeconds) {
this.durationMaxSeconds = durationMaxSeconds;
}
public int getDurationMaxIdleSeconds() {
return durationMaxIdleSeconds;
}
public void setDurationMaxIdleSeconds(int durationMaxIdleSeconds) {
this.durationMaxIdleSeconds = durationMaxIdleSeconds;
}
public int getDurationMaxMessages() {
return durationMaxMessages;
}
public void setDurationMaxMessages(int durationMaxMessages) {
this.durationMaxMessages = durationMaxMessages;
}
public int getLogDebugMaxChars() {
return logDebugMaxChars;
}
public void setLogDebugMaxChars(int logDebugMaxChars) {
this.logDebugMaxChars = logDebugMaxChars;
}
@Deprecated
public boolean isStreamCaching() {
return streamCachingEnabled;
}
@Deprecated
public void setStreamCaching(boolean streamCaching) {
this.streamCachingEnabled = streamCaching;
}
public boolean isStreamCachingEnabled() {
return streamCachingEnabled;
}
public void setStreamCachingEnabled(boolean streamCachingEnabled) {
this.streamCachingEnabled = streamCachingEnabled;
}
public String getStreamCachingSpoolDirectory() {
return streamCachingSpoolDirectory;
}
public void setStreamCachingSpoolDirectory(String streamCachingSpoolDirectory) {
this.streamCachingSpoolDirectory = streamCachingSpoolDirectory;
}
public String getStreamCachingSpoolChiper() {
return streamCachingSpoolChiper;
}
public void setStreamCachingSpoolChiper(String streamCachingSpoolChiper) {
this.streamCachingSpoolChiper = streamCachingSpoolChiper;
}
public long getStreamCachingSpoolThreshold() {
return streamCachingSpoolThreshold;
}
public void setStreamCachingSpoolThreshold(long streamCachingSpoolThreshold) {
this.streamCachingSpoolThreshold = streamCachingSpoolThreshold;
}
public int getStreamCachingSpoolUsedHeapMemoryThreshold() {
return streamCachingSpoolUsedHeapMemoryThreshold;
}
public void setStreamCachingSpoolUsedHeapMemoryThreshold(int streamCachingSpoolUsedHeapMemoryThreshold) {
this.streamCachingSpoolUsedHeapMemoryThreshold = streamCachingSpoolUsedHeapMemoryThreshold;
}
public String getStreamCachingSpoolUsedHeapMemoryLimit() {
return streamCachingSpoolUsedHeapMemoryLimit;
}
public void setStreamCachingSpoolUsedHeapMemoryLimit(String streamCachingSpoolUsedHeapMemoryLimit) {
this.streamCachingSpoolUsedHeapMemoryLimit = streamCachingSpoolUsedHeapMemoryLimit;
}
public boolean isStreamCachingAnySpoolRules() {
return streamCachingAnySpoolRules;
}
public void setStreamCachingAnySpoolRules(boolean streamCachingAnySpoolRules) {
this.streamCachingAnySpoolRules = streamCachingAnySpoolRules;
}
public int getStreamCachingBufferSize() {
return streamCachingBufferSize;
}
public void setStreamCachingBufferSize(int streamCachingBufferSize) {
this.streamCachingBufferSize = streamCachingBufferSize;
}
public boolean isStreamCachingRemoveSpoolDirectoryWhenStopping() {
return streamCachingRemoveSpoolDirectoryWhenStopping;
}
public void setStreamCachingRemoveSpoolDirectoryWhenStopping(boolean streamCachingRemoveSpoolDirectoryWhenStopping) {
this.streamCachingRemoveSpoolDirectoryWhenStopping = streamCachingRemoveSpoolDirectoryWhenStopping;
}
public boolean isStreamCachingStatisticsEnabled() {
return streamCachingStatisticsEnabled;
}
public void setStreamCachingStatisticsEnabled(boolean streamCachingStatisticsEnabled) {
this.streamCachingStatisticsEnabled = streamCachingStatisticsEnabled;
}
public boolean isTracing() {
return tracing;
}
public void setTracing(boolean tracing) {
this.tracing = tracing;
}
public boolean isMessageHistory() {
return messageHistory;
}
public void setMessageHistory(boolean messageHistory) {
this.messageHistory = messageHistory;
}
public boolean isLogMask() {
return logMask;
}
public void setLogMask(boolean logMask) {
this.logMask = logMask;
}
public boolean isLogExhaustedMessageBody() {
return logExhaustedMessageBody;
}
public void setLogExhaustedMessageBody(boolean logExhaustedMessageBody) {
this.logExhaustedMessageBody = logExhaustedMessageBody;
}
public boolean isHandleFault() {
return handleFault;
}
public void setHandleFault(boolean handleFault) {
this.handleFault = handleFault;
}
public boolean isAutoStartup() {
return autoStartup;
}
public void setAutoStartup(boolean autoStartup) {
this.autoStartup = autoStartup;
}
public boolean isAllowUseOriginalMessage() {
return allowUseOriginalMessage;
}
public void setAllowUseOriginalMessage(boolean allowUseOriginalMessage) {
this.allowUseOriginalMessage = allowUseOriginalMessage;
}
public boolean isEndpointRuntimeStatisticsEnabled() {
return endpointRuntimeStatisticsEnabled;
}
public void setEndpointRuntimeStatisticsEnabled(boolean endpointRuntimeStatisticsEnabled) {
this.endpointRuntimeStatisticsEnabled = endpointRuntimeStatisticsEnabled;
}
public boolean isUseDataType() {
return useDataType;
}
public void setUseDataType(boolean useDataType) {
this.useDataType = useDataType;
}
public boolean isUseBreadcrumb() {
return useBreadcrumb;
}
public void setUseBreadcrumb(boolean useBreadcrumb) {
this.useBreadcrumb = useBreadcrumb;
}
public ManagementStatisticsLevel getJmxManagementStatisticsLevel() {
return jmxManagementStatisticsLevel;
}
public void setJmxManagementStatisticsLevel(ManagementStatisticsLevel jmxManagementStatisticsLevel) {
this.jmxManagementStatisticsLevel = jmxManagementStatisticsLevel;
}
public String getJmxManagementNamePattern() {
return jmxManagementNamePattern;
}
public void setJmxManagementNamePattern(String jmxManagementNamePattern) {
this.jmxManagementNamePattern = jmxManagementNamePattern;
}
public boolean isJmxCreateConnector() {
return jmxCreateConnector;
}
public void setJmxCreateConnector(boolean jmxCreateConnector) {
this.jmxCreateConnector = jmxCreateConnector;
}
public String getFileConfigurations() {
return fileConfigurations;
}
public void setFileConfigurations(String fileConfigurations) {
this.fileConfigurations = fileConfigurations;
}
public boolean isTraceFormatterShowBody() {
return traceFormatterShowBody;
}
public void setTraceFormatterShowBody(boolean traceFormatterShowBody) {
this.traceFormatterShowBody = traceFormatterShowBody;
}
public boolean isTracerFormatterShowBodyType() {
return tracerFormatterShowBodyType;
}
public void setTracerFormatterShowBodyType(boolean tracerFormatterShowBodyType) {
this.tracerFormatterShowBodyType = tracerFormatterShowBodyType;
}
public boolean isTraceFormatterShowBreadCrumb() {
return traceFormatterShowBreadCrumb;
}
public void setTraceFormatterShowBreadCrumb(boolean traceFormatterShowBreadCrumb) {
this.traceFormatterShowBreadCrumb = traceFormatterShowBreadCrumb;
}
public boolean isTraceFormatterShowExchangeId() {
return traceFormatterShowExchangeId;
}
public void setTraceFormatterShowExchangeId(boolean traceFormatterShowExchangeId) {
this.traceFormatterShowExchangeId = traceFormatterShowExchangeId;
}
public boolean isTraceFormatterShowHeaders() {
return traceFormatterShowHeaders;
}
public void setTraceFormatterShowHeaders(boolean traceFormatterShowHeaders) {
this.traceFormatterShowHeaders = traceFormatterShowHeaders;
}
public boolean isTraceFormatterShowProperties() {
return traceFormatterShowProperties;
}
public void setTraceFormatterShowProperties(boolean traceFormatterShowProperties) {
this.traceFormatterShowProperties = traceFormatterShowProperties;
}
public boolean isTraceFormatterShowNode() {
return traceFormatterShowNode;
}
public void setTraceFormatterShowNode(boolean traceFormatterShowNode) {
this.traceFormatterShowNode = traceFormatterShowNode;
}
public boolean isTraceFormatterShowExchangePattern() {
return traceFormatterShowExchangePattern;
}
public void setTraceFormatterShowExchangePattern(boolean traceFormatterShowExchangePattern) {
this.traceFormatterShowExchangePattern = traceFormatterShowExchangePattern;
}
public boolean isTraceFormatterShowException() {
return traceFormatterShowException;
}
public void setTraceFormatterShowException(boolean traceFormatterShowException) {
this.traceFormatterShowException = traceFormatterShowException;
}
public boolean isTraceFormatterShowRouteId() {
return traceFormatterShowRouteId;
}
public void setTraceFormatterShowRouteId(boolean traceFormatterShowRouteId) {
this.traceFormatterShowRouteId = traceFormatterShowRouteId;
}
public Integer getTracerFormatterBreadCrumbLength() {
return tracerFormatterBreadCrumbLength;
}
public void setTracerFormatterBreadCrumbLength(Integer tracerFormatterBreadCrumbLength) {
this.tracerFormatterBreadCrumbLength = tracerFormatterBreadCrumbLength;
}
public boolean isTraceFormatterShowShortExchangeId() {
return traceFormatterShowShortExchangeId;
}
public void setTraceFormatterShowShortExchangeId(boolean traceFormatterShowShortExchangeId) {
this.traceFormatterShowShortExchangeId = traceFormatterShowShortExchangeId;
}
public Integer getTracerFormatterNodeLength() {
return tracerFormatterNodeLength;
}
public void setTracerFormatterNodeLength(Integer tracerFormatterNodeLength) {
this.tracerFormatterNodeLength = tracerFormatterNodeLength;
}
public Integer getTracerFormatterMaxChars() {
return tracerFormatterMaxChars;
}
public void setTracerFormatterMaxChars(Integer tracerFormatterMaxChars) {
this.tracerFormatterMaxChars = tracerFormatterMaxChars;
}
public boolean isIncludeNonSingletons() {
return includeNonSingletons;
}
public void setIncludeNonSingletons(boolean includeNonSingletons) {
this.includeNonSingletons = includeNonSingletons;
}
@Deprecated
public boolean isUseMDCLogging() {
return isUseMdcLogging();
}
@Deprecated
public void setUseMDCLogging(boolean useMDCLogging) {
setUseMdcLogging(useMDCLogging);
}
public boolean isUseMdcLogging() {
return useMdcLogging;
}
public void setUseMdcLogging(boolean useMdcLogging) {
this.useMdcLogging = useMdcLogging;
}
public String getThreadNamePattern() {
return threadNamePattern;
}
public void setThreadNamePattern(String threadNamePattern) {
this.threadNamePattern = threadNamePattern;
}
}