Uses of Class
org.apache.camel.main.MainConfigurationProperties
Packages that use MainConfigurationProperties
Package
Description
Application level classes that can be used to instantiate camel.
-
Uses of MainConfigurationProperties in org.apache.camel.main
Subclasses with type arguments of type MainConfigurationProperties in org.apache.camel.mainModifier and TypeClassDescriptionclassGlobal configuration for Camel Main to configure context name, stream caching and other global configurations.Fields in org.apache.camel.main declared as MainConfigurationPropertiesModifier and TypeFieldDescriptionprotected final MainConfigurationPropertiesBaseMainSupport.mainConfigurationPropertiesMethods in org.apache.camel.main that return MainConfigurationPropertiesModifier and TypeMethodDescriptionBaseMainSupport.configure()To configure options on Camel Main.AwsVaultConfigurationProperties.end()AzureVaultConfigurationProperties.end()CyberArkVaultConfigurationProperties.end()DebuggerConfigurationProperties.end()FaultToleranceConfigurationProperties.end()GcpVaultConfigurationProperties.end()HashicorpVaultConfigurationProperties.end()HealthConfigurationProperties.end()HttpManagementServerConfigurationProperties.end()HttpServerConfigurationProperties.end()IBMSecretsManagerVaultConfigurationProperties.end()KubernetesConfigmapsVaultConfigurationProperties.end()KubernetesVaultConfigurationProperties.end()LraConfigurationProperties.end()MdcConfigurationProperties.end()MetricsConfigurationProperties.end()Otel2ConfigurationProperties.end()OtelConfigurationProperties.end()Resilience4jConfigurationProperties.end()RestConfigurationProperties.end()RouteControllerConfigurationProperties.end()SpringCloudConfigConfigurationProperties.end()SSLConfigurationProperties.end()StartupConditionConfigurationProperties.end()TelemetryDevConfigurationProperties.end()ThreadPoolConfigurationProperties.end()TracerConfigurationProperties.end()VaultConfigurationProperties.end()MainConfigurationProperties.withAdditionalLambdaRouteBuilder(org.apache.camel.builder.LambdaRouteBuilder builder) Add an additionalLambdaRouteBuilderobject to the known list of builders.MainConfigurationProperties.withAdditionalRoutesBuilder(Class... builders) Add an additionalRoutesBuilderclass to the known list of builders.MainConfigurationProperties.withAdditionalRoutesBuilder(org.apache.camel.RoutesBuilder builder) Add an additionalRoutesBuilderobject to the known list of builders.MainConfigurationProperties.withAutoConfigurationEnabled(boolean autoConfigurationEnabled) Whether auto configuration of components/dataformats/languages is enabled or not.MainConfigurationProperties.withAutoConfigurationEnvironmentVariablesEnabled(boolean autoConfigurationEnvironmentVariablesEnabled) Whether auto configuration should include OS environment variables as well.MainConfigurationProperties.withAutoConfigurationFailFast(boolean autoConfigurationFailFast) Whether auto configuration should fail fast when configuring one ore more properties fails for whatever reason such as a invalid property name, etc.MainConfigurationProperties.withAutoConfigurationLogSummary(boolean autoConfigurationLogSummary) Whether auto configuration should log a summary with the configured properties.MainConfigurationProperties.withAutoConfigurationSystemPropertiesEnabled(boolean autoConfigurationSystemPropertiesEnabled) Whether auto configuration should include JVM system properties as well.MainConfigurationProperties.withBasePackageScan(String basePackageScan) Package name to use as base (offset) for classpath scanning ofRouteBuilder,TypeConverter,CamelConfigurationclasses, and also classes annotated withConverter, orBindToRegistry.MainConfigurationProperties.withBasePackageScanEnabled(boolean basePackageScanEnabled) Whether base package scan is enabled.MainConfigurationProperties.withConfigurations(Class<? extends org.apache.camel.CamelConfiguration>... configuration) Adds a configuration class to the known list of configurations classes.MainConfigurationProperties.withConfigurations(String configurations) Adds classes names that will be used to configure the camel context as example by providing custom beans throughBindToRegistryannotation.MainConfigurationProperties.withConfigurations(List<org.apache.camel.CamelConfiguration> configurations) Sets the configuration objects used to configure the camel context.MainConfigurationProperties.withDurationHitExitCode(int durationHitExitCode) Sets the exit code for the application if duration was hitMainConfigurationProperties.withExtraShutdownTimeout(int extraShutdownTimeout) Extra timeout in seconds to graceful shutdown Camel.MainConfigurationProperties.withMainListeners(Class<? extends MainListener>... listeners) Adds main listener object to the known list of listener objects.MainConfigurationProperties.withMainListeners(String listeners) Sets classes names that will be used forMainListenerthat makes it possible to do custom logic during starting and stopping camel-main.MainConfigurationProperties.withMainListeners(List<MainListener> listeners) Adds main listener object to the known list of listener objects.MainConfigurationProperties.withProfile(String profile) Camel profile to use when running.MainConfigurationProperties.withRoutesBuilderClasses(String builders) Sets classes names that implementRoutesBuilder.MainConfigurationProperties.withRoutesBuilders(List<org.apache.camel.RoutesBuilder> builders) Sets the RoutesBuilder instances.MainConfigurationProperties.withVirtualThreadsEnabled(boolean virtualThreadsEnabled) Whether to enable virtual threads when creating thread pools.Methods in org.apache.camel.main with parameters of type MainConfigurationPropertiesModifier and TypeMethodDescriptionprotected voidBaseMainSupport.autoConfigurationMainConfiguration(org.apache.camel.CamelContext camelContext, MainConfigurationProperties config, org.apache.camel.util.OrderedLocationProperties autoConfiguredProperties) static voidProfileConfigurer.configureMain(org.apache.camel.CamelContext camelContext, String profile, MainConfigurationProperties config) Configures camel-main to run in given profileprotected voidBaseMainSupport.doConfigureCamelContextFromMainConfiguration(org.apache.camel.CamelContext camelContext, MainConfigurationProperties config, org.apache.camel.util.OrderedLocationProperties autoConfiguredProperties) Configures CamelContext from theMainConfigurationPropertiesproperties.protected voidBaseMainSupport.doConfigureVaultFromMainConfiguration(org.apache.camel.CamelContext camelContext, MainConfigurationProperties config, org.apache.camel.util.OrderedLocationProperties autoConfiguredProperties) protected voidBaseMainSupport.doInitFileConfigurations(org.apache.camel.CamelContext camelContext, MainConfigurationProperties config) protected voidBaseMainSupport.postProcessCamelRegistry(org.apache.camel.CamelContext camelContext, MainConfigurationProperties config) Main implementation may do some additional configuration of theRegistryafter loading the routes, but before the routes are started.protected voidBaseMainSupport.preProcessCamelRegistry(org.apache.camel.CamelContext camelContext, MainConfigurationProperties config) Main implementation may do some additional configuration of theRegistrybefore it's used to (re)configure Camel context.Constructors in org.apache.camel.main with parameters of type MainConfigurationPropertiesModifierConstructorDescription