Uses of Class
org.apache.camel.test.junit5.CamelContextConfiguration
Packages that use CamelContextConfiguration
-
Uses of CamelContextConfiguration in org.apache.camel.test.junit5
Fields in org.apache.camel.test.junit5 declared as CamelContextConfigurationModifier and TypeFieldDescriptionprotected final CamelContextConfigurationAbstractTestSupport.camelContextConfigurationMethods in org.apache.camel.test.junit5 that return CamelContextConfigurationModifier and TypeMethodDescriptionAbstractTestSupport.camelContextConfiguration()Gets theCamelContextConfigurationfor the testConfigurableContext.camelContextConfiguration()Gets theCamelContextConfigurationfor the testContextManagerExtension.getCamelContextConfiguration()CamelContextConfiguration.withAutoStartupExcludePatterns(String pattern) Used for exclusive filtering of routes to not automatically start with Camel starts.CamelContextConfiguration.withBreakpoint(DebugBreakpoint breakpoint) Provides a debug breakpoint to be executed before and/or after entering processorsCamelContextConfiguration.withCamelContextService(org.apache.camel.Service camelContextService) Allows a service to be registered a separate lifecycle service to start and stop the context; such as for Spring when the ApplicationContext is started and stopped, rather than directly stopping the CamelContextCamelContextConfiguration.withCamelContextSupplier(CamelContextConfiguration.CamelContextSupplier camelContextSupplier) To set a supplier for the CamelContextCamelContextConfiguration.withIgnoreMissingLocationWithPropertiesComponent(Boolean ignoreMissingLocationWithPropertiesComponent) Whether to ignore missing locations with thePropertiesComponent.CamelContextConfiguration.withMockEndpoints(String mockEndpoints) Enables auto mocking endpoints based on the pattern.CamelContextConfiguration.withMockEndpointsAndSkip(String mockEndpointsAndSkip) Enables auto mocking endpoints based on the pattern, and skip sending to original endpoint.protected CamelContextConfigurationCamelContextConfiguration.withPostProcessor(CamelContextConfiguration.PostProcessor postProcessor) Set a custom post-test processorCamelContextConfiguration.withRegistry(org.apache.camel.spi.Registry registry) Sets a customRegistry.CamelContextConfiguration.withRegistryBinder(CamelContextConfiguration.RegistryBinder registryBinder) A supplier to create a customRegistry.CamelContextConfiguration.withRouteFilterExcludePattern(String routeFilterExcludePattern) Used for filtering routes matching the given pattern, which follows the following rules:CamelContextConfiguration.withRouteFilterIncludePattern(String routeFilterIncludePattern) Used for filtering routes matching the given pattern, which follows the following rules:protected CamelContextConfigurationCamelContextConfiguration.withRoutesSupplier(CamelContextConfiguration.RoutesSupplier routesSupplier) A supplier that classes can use to create aRouteBuilderto define the routes for testingCamelContextConfiguration.withShutdownTimeout(int shutdownTimeout) Sets the timeout to use when shutting down (unit in seconds).CamelContextConfiguration.withStubEndpoints(String pattern) Enables auto stub endpoints based on the pattern.CamelContextConfiguration.withUseOverridePropertiesWithPropertiesComponent(Properties useOverridePropertiesWithPropertiesComponent) To include and override properties with the CamelPropertiesComponent.Methods in org.apache.camel.test.junit5 with parameters of type CamelContextConfigurationModifier and TypeMethodDescriptionvoidCamelTestSupport.configureContext(CamelContextConfiguration camelContextConfiguration) voidConfigurableContext.configureContext(CamelContextConfiguration camelContextConfiguration) Configures the context used for the test executionContextManagerFactory.createContextManager(ContextManagerFactory.Type type, TestExecutionConfiguration testConfiguration, CamelContextConfiguration contextConfiguration) Creates a new context managerConstructors in org.apache.camel.test.junit5 with parameters of type CamelContextConfigurationModifierConstructorDescriptionprotectedAbstractTestSupport(TestExecutionConfiguration testConfigurationBuilder, CamelContextConfiguration camelContextConfiguration) ContextManagerExtension(TestExecutionConfiguration testConfigurationBuilder, CamelContextConfiguration camelContextConfiguration) LegacyCamelContextManager(TestExecutionConfiguration testConfigurationBuilder, CamelContextConfiguration camelContextConfiguration) TransientCamelContextManager(TestExecutionConfiguration testConfigurationBuilder, CamelContextConfiguration camelContextConfiguration)