Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@
{ "name": "camel.opentelemetry.traceProcessors", "required": false, "description": "Setting this to true will create new OpenTelemetry Spans for each Camel Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.OtelConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.enabled", "required": false, "description": "To enable OpenTelemetry 2", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.encoding", "required": false, "description": "Sets whether the header keys need to be encoded (connector specific) or not. The value is a boolean. Dashes need for instances to be encoded for JMS property keys.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.excludePatterns", "required": false, "description": "Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.opentelemetry2.excludePatterns", "required": false, "description": "Sets exclude pattern(s) that will disable tracing for Camel processors that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.opentelemetry2.instrumentationName", "required": true, "description": "A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "string", "javaType": "java.lang.String", "defaultValue": "camel", "secret": false },
{ "name": "camel.opentelemetry2.traceProcessors", "required": false, "description": "Setting this to true will create new OpenTelemetry Spans for each Camel Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.traceProcessors", "required": false, "description": "Setting this to true will create new telemetry spans for each Camel custom Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.resilience4j.automaticTransitionFromOpenToHalfOpenEnabled", "required": false, "description": "Enables automatic transition from OPEN to HALF_OPEN state once the waitDurationInOpenState has passed.", "sourceType": "org.apache.camel.main.Resilience4jConfigurationProperties", "type": "boolean", "javaType": "java.lang.Boolean", "defaultValue": false, "secret": false },
{ "name": "camel.resilience4j.bulkheadEnabled", "required": false, "description": "Whether bulkhead is enabled or not on the circuit breaker.", "sourceType": "org.apache.camel.main.Resilience4jConfigurationProperties", "type": "boolean", "javaType": "java.lang.Boolean", "defaultValue": false, "secret": false },
{ "name": "camel.resilience4j.bulkheadMaxConcurrentCalls", "required": false, "description": "Configures the max amount of concurrent calls the bulkhead will support.", "sourceType": "org.apache.camel.main.Resilience4jConfigurationProperties", "type": "integer", "javaType": "java.lang.Integer", "secret": false },
Expand Down Expand Up @@ -377,9 +377,9 @@
{ "name": "camel.startupcondition.onTimeout", "required": false, "description": "What action, to do on timeout. fail = do not startup, and throw an exception causing camel to fail stop = do not startup, and stop camel ignore = log a WARN and continue to startup", "sourceType": "org.apache.camel.main.StartupConditionConfigurationProperties", "type": "enum", "javaType": "java.lang.String", "defaultValue": "stop", "secret": false, "enum": [ "fail", "stop", "ignore" ] },
{ "name": "camel.startupcondition.timeout", "required": false, "description": "Total timeout (in millis) for all startup conditions.", "sourceType": "org.apache.camel.main.StartupConditionConfigurationProperties", "type": "integer", "javaType": "int", "defaultValue": 20000, "secret": false },
{ "name": "camel.telemetryDev.enabled", "required": false, "description": "To enable TelemetryDev", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.telemetryDev.excludePatterns", "required": false, "description": "Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.telemetryDev.excludePatterns", "required": false, "description": "Sets exclude pattern(s) that will disable tracing for Camel processors that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.telemetryDev.traceFormat", "required": false, "description": "The output format for traces.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.telemetryDev.traceProcessors", "required": false, "description": "Setting this to true will create new TelemetrySimple Spans for each Camel Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.telemetryDev.traceProcessors", "required": false, "description": "Setting this to true will create new telemetry spans for each Camel custom Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.threadpool.allowCoreThreadTimeOut", "required": false, "description": "Sets default whether to allow core threads to timeout", "sourceType": "org.apache.camel.main.ThreadPoolConfigurationProperties", "type": "boolean", "javaType": "java.lang.Boolean", "defaultValue": false, "secret": false },
{ "name": "camel.threadpool.config", "required": false, "description": "Adds a configuration for a specific thread pool profile (inherits default values)", "sourceType": "org.apache.camel.main.ThreadPoolConfigurationProperties", "type": "object", "javaType": "java.util.Map", "secret": false },
{ "name": "camel.threadpool.keepAliveTime", "required": false, "description": "Sets the default keep alive time for inactive threads", "sourceType": "org.apache.camel.main.ThreadPoolConfigurationProperties", "type": "integer", "javaType": "java.lang.Long", "secret": false },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class Otel2ConfigurationPropertiesConfigurer extends org.apache.camel.sup
private static final Map<String, Object> ALL_OPTIONS;
static {
Map<String, Object> map = new CaseInsensitiveMap();
map.put("DisableCoreProcessors", java.lang.Boolean.class);
map.put("Enabled", boolean.class);
map.put("Encoding", boolean.class);
map.put("ExcludePatterns", java.lang.String.class);
Expand All @@ -34,6 +35,8 @@ public class Otel2ConfigurationPropertiesConfigurer extends org.apache.camel.sup
public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
org.apache.camel.main.Otel2ConfigurationProperties target = (org.apache.camel.main.Otel2ConfigurationProperties) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "disablecoreprocessors":
case "disableCoreProcessors": target.setDisableCoreProcessors(property(camelContext, java.lang.Boolean.class, value)); return true;
case "enabled": target.setEnabled(property(camelContext, boolean.class, value)); return true;
case "encoding": target.setEncoding(property(camelContext, boolean.class, value)); return true;
case "excludepatterns":
Expand All @@ -54,6 +57,8 @@ public Map<String, Object> getAllOptions(Object target) {
@Override
public Class<?> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "disablecoreprocessors":
case "disableCoreProcessors": return java.lang.Boolean.class;
case "enabled": return boolean.class;
case "encoding": return boolean.class;
case "excludepatterns":
Expand All @@ -70,6 +75,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
org.apache.camel.main.Otel2ConfigurationProperties target = (org.apache.camel.main.Otel2ConfigurationProperties) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "disablecoreprocessors":
case "disableCoreProcessors": return target.isDisableCoreProcessors();
case "enabled": return target.isEnabled();
case "encoding": return target.isEncoding();
case "excludepatterns":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class TelemetryDevConfigurationPropertiesConfigurer extends org.apache.ca
private static final Map<String, Object> ALL_OPTIONS;
static {
Map<String, Object> map = new CaseInsensitiveMap();
map.put("DisableCoreProcessors", java.lang.Boolean.class);
map.put("Enabled", boolean.class);
map.put("ExcludePatterns", java.lang.String.class);
map.put("TraceFormat", java.lang.String.class);
Expand All @@ -33,6 +34,8 @@ public class TelemetryDevConfigurationPropertiesConfigurer extends org.apache.ca
public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
org.apache.camel.main.TelemetryDevConfigurationProperties target = (org.apache.camel.main.TelemetryDevConfigurationProperties) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "disablecoreprocessors":
case "disableCoreProcessors": target.setDisableCoreProcessors(property(camelContext, java.lang.Boolean.class, value)); return true;
case "enabled": target.setEnabled(property(camelContext, boolean.class, value)); return true;
case "excludepatterns":
case "excludePatterns": target.setExcludePatterns(property(camelContext, java.lang.String.class, value)); return true;
Expand All @@ -52,6 +55,8 @@ public Map<String, Object> getAllOptions(Object target) {
@Override
public Class<?> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "disablecoreprocessors":
case "disableCoreProcessors": return java.lang.Boolean.class;
case "enabled": return boolean.class;
case "excludepatterns":
case "excludePatterns": return java.lang.String.class;
Expand All @@ -67,6 +72,8 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
org.apache.camel.main.TelemetryDevConfigurationProperties target = (org.apache.camel.main.TelemetryDevConfigurationProperties) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "disablecoreprocessors":
case "disableCoreProcessors": return target.isDisableCoreProcessors();
case "enabled": return target.isEnabled();
case "excludepatterns":
case "excludePatterns": return target.getExcludePatterns();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@
{ "name": "camel.opentelemetry.traceProcessors", "required": false, "description": "Setting this to true will create new OpenTelemetry Spans for each Camel Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.OtelConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.enabled", "required": false, "description": "To enable OpenTelemetry 2", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.encoding", "required": false, "description": "Sets whether the header keys need to be encoded (connector specific) or not. The value is a boolean. Dashes need for instances to be encoded for JMS property keys.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.excludePatterns", "required": false, "description": "Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.opentelemetry2.excludePatterns", "required": false, "description": "Sets exclude pattern(s) that will disable tracing for Camel processors that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.opentelemetry2.instrumentationName", "required": true, "description": "A name uniquely identifying the instrumentation scope, such as the instrumentation library, package, or fully qualified class name. Must not be null.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "string", "javaType": "java.lang.String", "defaultValue": "camel", "secret": false },
{ "name": "camel.opentelemetry2.traceProcessors", "required": false, "description": "Setting this to true will create new OpenTelemetry Spans for each Camel Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.opentelemetry2.traceProcessors", "required": false, "description": "Setting this to true will create new telemetry spans for each Camel custom Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.Otel2ConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.resilience4j.automaticTransitionFromOpenToHalfOpenEnabled", "required": false, "description": "Enables automatic transition from OPEN to HALF_OPEN state once the waitDurationInOpenState has passed.", "sourceType": "org.apache.camel.main.Resilience4jConfigurationProperties", "type": "boolean", "javaType": "java.lang.Boolean", "defaultValue": false, "secret": false },
{ "name": "camel.resilience4j.bulkheadEnabled", "required": false, "description": "Whether bulkhead is enabled or not on the circuit breaker.", "sourceType": "org.apache.camel.main.Resilience4jConfigurationProperties", "type": "boolean", "javaType": "java.lang.Boolean", "defaultValue": false, "secret": false },
{ "name": "camel.resilience4j.bulkheadMaxConcurrentCalls", "required": false, "description": "Configures the max amount of concurrent calls the bulkhead will support.", "sourceType": "org.apache.camel.main.Resilience4jConfigurationProperties", "type": "integer", "javaType": "java.lang.Integer", "secret": false },
Expand Down Expand Up @@ -377,9 +377,9 @@
{ "name": "camel.startupcondition.onTimeout", "required": false, "description": "What action, to do on timeout. fail = do not startup, and throw an exception causing camel to fail stop = do not startup, and stop camel ignore = log a WARN and continue to startup", "sourceType": "org.apache.camel.main.StartupConditionConfigurationProperties", "type": "enum", "javaType": "java.lang.String", "defaultValue": "stop", "secret": false, "enum": [ "fail", "stop", "ignore" ] },
{ "name": "camel.startupcondition.timeout", "required": false, "description": "Total timeout (in millis) for all startup conditions.", "sourceType": "org.apache.camel.main.StartupConditionConfigurationProperties", "type": "integer", "javaType": "int", "defaultValue": 20000, "secret": false },
{ "name": "camel.telemetryDev.enabled", "required": false, "description": "To enable TelemetryDev", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.telemetryDev.excludePatterns", "required": false, "description": "Adds an exclude pattern that will disable tracing for Camel messages that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.telemetryDev.excludePatterns", "required": false, "description": "Sets exclude pattern(s) that will disable tracing for Camel processors that matches the pattern. Multiple patterns can be separated by comma.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.telemetryDev.traceFormat", "required": false, "description": "The output format for traces.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "string", "javaType": "java.lang.String", "secret": false },
{ "name": "camel.telemetryDev.traceProcessors", "required": false, "description": "Setting this to true will create new TelemetrySimple Spans for each Camel Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.telemetryDev.traceProcessors", "required": false, "description": "Setting this to true will create new telemetry spans for each Camel custom Processors. Use the excludePattern property to filter out Processors.", "sourceType": "org.apache.camel.main.TelemetryDevConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": false, "secret": false },
{ "name": "camel.threadpool.allowCoreThreadTimeOut", "required": false, "description": "Sets default whether to allow core threads to timeout", "sourceType": "org.apache.camel.main.ThreadPoolConfigurationProperties", "type": "boolean", "javaType": "java.lang.Boolean", "defaultValue": false, "secret": false },
{ "name": "camel.threadpool.config", "required": false, "description": "Adds a configuration for a specific thread pool profile (inherits default values)", "sourceType": "org.apache.camel.main.ThreadPoolConfigurationProperties", "type": "object", "javaType": "java.util.Map", "secret": false },
{ "name": "camel.threadpool.keepAliveTime", "required": false, "description": "Sets the default keep alive time for inactive threads", "sourceType": "org.apache.camel.main.ThreadPoolConfigurationProperties", "type": "integer", "javaType": "java.lang.Long", "secret": false },
Expand Down
Loading
Loading