This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
from eafdb804f01 Fix docs for website build new af95aa9aa78 (chores) camel-core: extract independent code snippets from large code blocks in tests new a8172375c42 (chores) camel-core: use final variables in tests The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apache/camel/impl/cloud/LoadBalancerTest.java | 2 +- ...seMethodWithMatchingTypeAndSkipSettersTest.java | 2 +- .../camel/component/bean/BeanInPipelineTest.java | 2 +- .../camel/component/bean/BeanMapPutTest.java | 2 +- .../bean/BeanMethodValueWithCommaTest.java | 4 +- .../component/bean/BeanOgnlPerformanceTest.java | 2 +- .../component/bean/BeanParameterValueOgnlTest.java | 4 +- .../bean/BeanWithHeadersAndBodyInject2Test.java | 4 +- .../apache/camel/component/bean/MyCurrency.java | 2 +- .../camel/component/bean/NewInstanceTest.java | 2 +- ...nguageBeanFunctionMethodValueWithCommaTest.java | 4 +- ...BeanFunctionMethodValueWithParenthesisTest.java | 4 +- .../bean/issues/BeanRouteToDerivedClassTest.java | 2 +- .../camel/component/bean/issues/MyMessage.java | 2 +- .../controlbus/ControlBusRestartRouteTest.java | 2 +- .../camel/component/dataset/CustomDataSetTest.java | 2 +- .../component/dataset/DataSetPreloadTest.java | 4 +- .../camel/component/dataset/DataSetSedaTest.java | 4 +- .../component/dataset/DataSetTestEndpointTest.java | 2 +- .../component/dataset/RoutePerformanceTest.java | 6 +-- .../file/FileBeginFailureOneTimeTest.java | 2 +- ...ileConsumerAbsoluteRootPathDefaultMoveTest.java | 2 +- ...ileConsumerBridgeRouteExceptionHandlerTest.java | 2 +- .../FileConsumerCustomExceptionHandlerTest.java | 4 +- .../file/FileConsumerCustomSchedulerTest.java | 2 +- .../file/FileConsumerSuspendAndResumeTest.java | 2 +- .../FileConsumerThreadsInProgressIssueTest.java | 2 +- .../file/FileProducerCharsetUTFOptimizedTest.java | 2 +- .../file/FileProducerMoveExistingStrategyTest.java | 2 +- .../file/FilerProducerDoneFileNameRouteTest.java | 2 +- .../file/FilerProducerDoneFileNameTest.java | 2 +- .../component/file/GenericFileMessageTest.java | 2 +- .../camel/component/file/NewFileConsumeTest.java | 2 +- .../MarkerFileExclusiveReadLockStrategyTest.java | 4 +- .../language/LanguageRouteConvertBodyTest.java | 4 +- .../camel/component/mock/MockAsBeanTest.java | 2 +- .../mock/MockEndpointWithParametersTest.java | 2 +- .../PropertiesComponentLookupListenerTest.java | 2 +- .../camel/component/rest/RestProducerTest.java | 2 +- .../component/scheduler/SchedulerRouteTest.java | 2 +- .../TwoSchedulerConcurrentTasksOneRouteTest.java | 2 +- .../camel/component/seda/SedaEndpointTest.java | 2 +- .../camel/component/seda/SedaUnitOfWorkTest.java | 4 +- .../component/timer/TimerGracefulShutdownTest.java | 2 +- .../camel/component/timer/TimerNameTest.java | 2 +- .../camel/component/timer/TimerRouteTest.java | 2 +- .../xslt/XsltCustomErrorListenerTest.java | 2 +- .../impl/BindToRegistryBeanPostProcessorTest.java | 2 +- ...ontextReloadStrategyPropertiesFunctionTest.java | 2 +- .../apache/camel/impl/CamelContextTrackerTest.java | 2 +- .../impl/CustomHeadersMapFactoryRouteTest.java | 2 +- .../camel/impl/DataFormatContextAwareTest.java | 2 +- .../impl/DefaultCamelBeanPostProcessorTest.java | 2 +- .../impl/DefaultCamelContextStopFailureTest.java | 4 +- ...melContextWithLifecycleStrategyRestartTest.java | 6 +-- .../camel/impl/DefaultExchangeHolderTest.java | 2 +- .../org/apache/camel/impl/DefaultInjectorTest.java | 2 +- .../camel/impl/DefaultProducerCacheTest.java | 2 +- .../EventDrivenPollingConsumerQueueSizeTest.java | 2 +- .../org/apache/camel/impl/FromEndpointTest.java | 2 +- .../camel/impl/LanguageCamelContextAwareTest.java | 2 +- .../impl/LifecycleStrategyFailOnStartupTest.java | 2 +- .../camel/impl/LifecycleStrategyServiceTest.java | 2 +- .../impl/PendingExchangesShutdownGracefulTest.java | 2 +- ...ndingExchangesTwoRouteShutdownGracefulTest.java | 2 +- .../RoutePolicyAutoStartupCancelledOnInitTest.java | 2 +- .../apache/camel/impl/RoutePolicySupportTest.java | 2 +- .../org/apache/camel/impl/RoutePolicyTest.java | 12 ++--- .../camel/impl/RouteSuspendResumeWarmUpTest.java | 2 +- .../apache/camel/impl/SimpleRegistryWrapTest.java | 2 +- .../org/apache/camel/impl/StartupListenerTest.java | 2 +- .../apache/camel/impl/StopTimeoutRouteTest.java | 2 +- .../impl/TypeConverterRegistryPerformanceTest.java | 2 +- .../camel/impl/VetoCamelContextStartTest.java | 2 +- .../camel/impl/converter/TypeConvertersTest.java | 2 +- .../impl/engine/CamelPostProcessorHelperTest.java | 4 +- .../impl/engine/CustomThreadPoolFactoryTest.java | 2 +- .../DefaultSupervisingRouteControllerTest.java | 2 +- ...ventNotifierServiceStoppingFailedEventTest.java | 4 +- .../issues/CBRCustomPredicateAsFilterTest.java | 4 +- .../camel/issues/CustomFailveOverProcessor.java | 4 +- .../camel/issues/ExceptionCamel4022Test.java | 2 +- .../issues/FilterCustomPredicateAsFilterTest.java | 4 +- .../InterceptCustomPredicateAsFilterTest.java | 4 +- .../camel/issues/MethodClassByTypeIssueTest.java | 2 +- ...etryRouteScopedUntilRecipientListIssueTest.java | 2 +- .../issues/RouteIdAnonymousAndFixedClashTest.java | 2 +- .../camel/issues/SedaFileIdempotentIssueTest.java | 2 +- .../issues/SentExchangeEventNotifierIssueTest.java | 2 +- .../SentExchangeEventNotifierTwoIssueTest.java | 2 +- .../camel/issues/SplitPropertiesFileIssueTest.java | 2 +- .../camel/issues/SplitterParallelIssueTest.java | 2 +- ...arallelRuntimeExceptionInHasNextOrNextTest.java | 4 +- .../camel/issues/TransactedSetHeaderIssueTest.java | 2 +- .../apache/camel/issues/XPathSplitStreamTest.java | 2 +- .../language/BeanLanguageInvalidOGNLTest.java | 2 +- .../camel/language/BeanLanguageOGNLTest.java | 2 +- .../apache/camel/language/LanguageServiceTest.java | 2 +- .../camel/language/SimpleOgnlMapIssueTest.java | 2 +- .../camel/language/SimpleXPathTransformTest.java | 2 +- ...irIteratorSplitChoicePerformanceManualTest.java | 2 +- .../XPathSplitChoicePerformanceManualTest.java | 2 +- .../apache/camel/language/simple/SimpleTest.java | 8 +-- .../BeanRecipientListInterfaceAnnotationTest.java | 4 +- .../camel/processor/BeanRecipientListTest.java | 4 +- .../org/apache/camel/processor/BeanRouteTest.java | 4 +- .../CBRPredicateBeanThrowExceptionTest.java | 4 +- .../processor/ChoiceWhenBeanExpressionTest.java | 2 +- .../ChoiceWhenBeanExpressionWithExceptionTest.java | 2 +- .../camel/processor/CustomGlobalVariableTest.java | 4 +- .../camel/processor/CustomRoutePolicyTest.java | 2 +- .../org/apache/camel/processor/DelayerTest.java | 4 +- .../processor/DynamicRouterAnnotationTest.java | 2 +- .../DynamicRouterExchangeHeaders2Test.java | 4 +- .../DynamicRouterExchangeHeadersTest.java | 2 +- .../DynamicRouterExchangePropertiesTest.java | 2 +- .../apache/camel/processor/DynamicRouterTest.java | 2 +- .../processor/ExchangeIdempotentConsumerTest.java | 6 +-- .../IdempotentConsumerRepoExceptionTest.java | 2 +- .../apache/camel/processor/MDCCustomKeysTest.java | 4 +- .../processor/MessageHistoryDumpRoutingTest.java | 2 +- .../MultiErrorHandlerInRouteNotHandledTest.java | 4 +- .../processor/MultiErrorHandlerInRouteTest.java | 4 +- .../camel/processor/MulticastUnitOfWorkTest.java | 2 +- .../OnCompletionShutdownProcessorTest.java | 2 +- .../camel/processor/PipelineConcurrentTest.java | 2 +- .../ProducerTemplateDisableEventNotifierTest.java | 2 +- ...istExchangePropertyAggregationStrategyTest.java | 2 +- .../RecipientListExchangePropertyTest.java | 2 +- .../RedeliveryPolicyDelayPatternTest.java | 2 +- .../camel/processor/RemoveGlobalVariableTest.java | 4 +- .../apache/camel/processor/RemoveHeaderTest.java | 4 +- .../RemovePropertiesWithExclusionTest.java | 16 +++--- .../RemovePropertiesWithoutExclusionTest.java | 10 ++-- .../apache/camel/processor/RemovePropertyTest.java | 4 +- .../apache/camel/processor/RemoveVariableTest.java | 4 +- .../camel/processor/RouteAwareProcessorTest.java | 2 +- .../camel/processor/RouteFormattedUriTest.java | 6 +-- .../camel/processor/RoutePerformanceCountTest.java | 4 +- .../processor/RouteServicesStartupOrderTest.java | 10 ++-- .../processor/RoutingSlipInOutAndInOnlyTest.java | 2 +- .../java/org/apache/camel/processor/SagaTest.java | 6 +-- .../camel/processor/SetGlobalVariableTest.java | 4 +- .../SetHeaderUsingDslExpressionsTest.java | 4 +- .../camel/processor/SetHeadersProcessorTest.java | 2 +- .../apache/camel/processor/SetPropertyTest.java | 4 +- .../camel/processor/SetRouteVariableTest.java | 6 +-- .../processor/SetRouteVariableTransferTest.java | 4 +- .../apache/camel/processor/SetVariableTest.java | 4 +- .../processor/ShutdownCompleteAllTasksTest.java | 4 +- .../org/apache/camel/processor/SimulatorTest.java | 2 +- .../camel/processor/SplitAggregateInOutTest.java | 2 +- .../camel/processor/SplitIteratorNullTest.java | 2 +- .../camel/processor/SplitTwoSubUnitOfWorkTest.java | 4 +- ...litterUseOriginalNotPropagateExceptionTest.java | 2 +- .../camel/processor/StepEventNotifierTest.java | 2 +- .../processor/StreamCacheInternalErrorTest.java | 4 +- .../StreamCachingCustomShouldSpoolRuleTest.java | 2 +- .../StreamCachingSpoolDirectoryQuarkusTest.java | 2 +- .../camel/processor/UnitOfWorkProducerTest.java | 2 +- .../processor/WireTapBeanAsProcessorTest.java | 2 +- .../org/apache/camel/processor/WireTapMDCTest.java | 6 +-- .../aggregator/AggregateBiFunctionTest.java | 2 +- .../aggregator/AggregateCompletionOnlyOneTest.java | 2 +- .../AggregateNewExchangeAndConfirmTest.java | 2 +- .../AggregateSimpleExpressionIssueManualTest.java | 4 +- ...trategyBeanAdapterAllowNullOldExchangeTest.java | 2 +- ...ggregationStrategyBeanAdapterAllowNullTest.java | 4 +- ...ggregationStrategyBeanAdapterOneMethodTest.java | 2 +- ...nAdapterPollEnrichAllowNullNewExchangeTest.java | 2 +- ...gregationStrategyBeanAdapterPollEnrichTest.java | 2 +- .../AggregationStrategyBeanAdapterTest.java | 2 +- ...egyBeanAdapterWithHeadersAndPropertiesTest.java | 2 +- ...regationStrategyBeanAdapterWithHeadersTest.java | 2 +- .../AggregationStrategyLifecycleTest.java | 2 +- .../aggregator/AlbertoAggregatorTest.java | 25 ++++++---- .../aggregator/BeanBeforeAggregateIssueTest.java | 2 +- .../CustomAggregationStrategyServiceTest.java | 2 +- .../DistributedCompletionIntervalTest.java | 2 +- ...DistributedConcurrentPerCorrelationKeyTest.java | 2 +- .../DistributedOptimisticLockFailingTest.java | 4 +- .../aggregator/DistributedTimeoutTest.java | 2 +- .../SplitRouteNumberOfProcessorTest.java | 2 +- .../AsyncEndpointCustomAsyncInterceptorTest.java | 4 +- .../async/AsyncEndpointCustomInterceptorTest.java | 4 +- .../async/AsyncEndpointCustomRoutePolicyTest.java | 2 +- .../processor/async/AsyncEndpointDelayUoWTest.java | 6 +-- .../async/AsyncEndpointDynamicRouterTest.java | 2 +- .../async/AsyncEndpointUoWFailedTest.java | 6 +-- .../processor/async/AsyncEndpointUoWTest.java | 6 +-- ...sorAwaitManagerInterruptWithRedeliveryTest.java | 2 +- .../processor/enricher/EnricherBiFunctionTest.java | 4 +- .../enricher/EnricherRefBeanClassTest.java | 2 +- .../enricher/EnricherRefBeanTypeTest.java | 2 +- .../camel/processor/enricher/EnricherRefTest.java | 2 +- .../processor/enricher/EnricherSendEventTest.java | 2 +- .../camel/processor/enricher/EnricherTest.java | 2 +- .../enricher/PollEnrichBridgeErrorHandlerTest.java | 2 +- .../processor/enricher/PollEnricherRefTest.java | 2 +- .../camel/processor/enricher/PollEnricherTest.java | 2 +- .../CustomInterceptorRouteWithChildOutputTest.java | 2 +- .../interceptor/DebugExceptionBreakpointTest.java | 2 +- .../DebugExceptionEventBreakpointTest.java | 2 +- .../interceptor/DebugSingleStepConditionTest.java | 2 +- .../processor/interceptor/DebugSingleStepTest.java | 2 +- .../camel/processor/interceptor/DebugTest.java | 2 +- .../resequencer/ResequencerEngineSync.java | 2 +- .../processor/resequencer/ResequencerRunner.java | 4 +- .../camel/processor/resequencer/TestObject.java | 2 +- .../DynamicRouterEventNotifierTest.java | 2 +- .../RecipientListEventNotifierTest.java | 2 +- .../routingslip/RoutingSlipEventNotifierTest.java | 2 +- ...xceptionRoutePolicyHalfOpenHandlerSedaTest.java | 4 +- ...ingExceptionRoutePolicyHalfOpenHandlerTest.java | 4 +- ...ThrottlingExceptionRoutePolicyHalfOpenTest.java | 4 +- ...lingExceptionRoutePolicyKeepOpenOnInitTest.java | 4 +- ...tlingExceptionRoutePolicyOpenViaConfigTest.java | 2 +- .../ThrottlingExceptionRoutePolicyTest.java | 4 +- .../ThrottlingInflightRoutePolicyTest.java | 2 +- .../validation/CatalogLSResourceResolver.java | 6 +-- .../apache/camel/support/DefaultRegistryTest.java | 2 +- .../camel/support/DefaultTimeoutMapTest.java | 2 +- .../camel/support/TimerListenerManagerTest.java | 2 +- .../support/component/ApiMethodHelperTest.java | 4 +- .../component/ApiMethodPropertiesHelperTest.java | 2 +- .../component/ArgumentSubstitutionParserTest.java | 57 ++++++++++++---------- .../java/org/apache/camel/util/GZIPHelperTest.java | 2 +- .../org/apache/camel/util/MessageHelperTest.java | 2 +- .../java/org/apache/camel/util/MyDummyObject.java | 2 +- .../main/MainBeansClassFactoryMethodTest.java | 6 +-- .../java/org/apache/camel/main/MainHelperTest.java | 2 +- .../main/MainIoCBeanPostProcessorDisabledTest.java | 2 +- .../main/MainSupervisingRouteControllerTest.java | 2 +- .../camel/main/MainSupportCommandLineTest.java | 2 +- .../java/org/apache/camel/main/MainVaultTest.java | 25 ++++++---- .../test/java/org/apache/camel/main/MyAddress.java | 4 +- .../test/java/org/apache/camel/main/MyOrder.java | 4 +- .../camel/main/support/MyDummyComponent.java | 2 +- .../camel/management/AddEventNotifierTest.java | 2 +- .../management/ManagedAggregateControllerTest.java | 2 +- .../camel/management/ManagedRouteRestartTest.java | 2 +- .../camel/management/ManagementTestSupport.java | 2 +- .../camel/management/RemoveEventNotifierTest.java | 2 +- .../java/org/apache/camel/xml/in/ParserTest.java | 25 ++++++---- 244 files changed, 420 insertions(+), 400 deletions(-)