You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/08/11 14:25:02 UTC
[camel] 01/01: camel-spring - Run test a bit faster with JMX disabled
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch spring-fast
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c0c41330a9497941df729602b1dffba05668cbc4
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Aug 11 16:13:36 2023 +0200
camel-spring - Run test a bit faster with JMX disabled
---
.../src/test/resources/META-INF/spring/camel-context.xml | 1 +
.../org/apache/camel/component/bean/AutowireConstructorRouteTest.xml | 1 +
.../apache/camel/component/bean/AutowireConstructorRouteTwoTest.xml | 1 +
.../apache/camel/component/bean/BeanWithRecipientListTest-context.xml | 1 +
.../apache/camel/component/bean/SpringRouteMethodCallStaticTest.xml | 1 +
.../test/resources/org/apache/camel/component/bean/beanBindingTest.xml | 1 +
.../test/resources/org/apache/camel/component/bean/camelContext.xml | 1 +
.../src/test/resources/org/apache/camel/component/cron/cron.xml | 1 +
.../org/apache/camel/component/dataset/SpringDataSetTest-context.xml | 1 +
.../test/resources/org/apache/camel/component/event/camelContext.xml | 1 +
.../resources/org/apache/camel/component/event/mistypedPackage.xml | 2 ++
.../org/apache/camel/component/log/SpringCustomLogMaskTest-context.xml | 1 +
.../org/apache/camel/component/log/SpringLogMarkerTest-context.xml | 1 +
.../resources/org/apache/camel/component/log/SpringLogTest-context.xml | 1 +
.../apache/camel/component/log/custom-exchange-formatter-context.xml | 1 +
.../properties/CamelSpringPropertyPlaceholderConfigurer2Test.xml | 1 +
.../properties/CamelSpringPropertyPlaceholderConfigurer3Test.xml | 1 +
.../properties/CamelSpringPropertyPlaceholderConfigurerNestedTest.xml | 1 +
.../properties/CamelSpringPropertyPlaceholderConfigurerTest.xml | 1 +
.../component/properties/SpringAttributeNewLineRouteContextRefTest.xml | 1 +
.../apache/camel/component/properties/SpringAttributeNewLineTest.xml | 1 +
.../camel/component/properties/SpringBuilderRefBeanInjectTest.xml | 1 +
.../camel/component/properties/SpringBuilderRefPropertiesTest.xml | 1 +
.../camel/component/properties/SpringBuilderRefPropertyInjectTest.xml | 1 +
.../properties/SpringErrorHandlerInlinedPropertiesPlaceholderTest.xml | 1 +
.../properties/SpringErrorHandlerPropertiesPlaceholderTest.xml | 1 +
.../camel/component/properties/SpringOptionalPropertiesDslTest.xml | 2 ++
.../component/properties/SpringOptionalPropertiesDslTokenizeTest.xml | 2 ++
.../apache/camel/component/properties/SpringPackagePropertiesTest.xml | 2 +-
.../camel/component/properties/SpringPackageScanPropertiesTest.xml | 2 +-
.../component/properties/SpringPropertiesAfterTransactedDSL2Test.xml | 1 +
.../component/properties/SpringPropertiesAfterTransactedDSLTest.xml | 1 +
.../camel/component/properties/SpringPropertiesComponent3Test.xml | 2 ++
.../properties/SpringPropertiesComponentEIPChoiceConvertBodyToTest.xml | 1 +
.../properties/SpringPropertiesComponentEIPConvertBodyToTest.xml | 2 ++
.../component/properties/SpringPropertiesComponentFunctionTest.xml | 2 ++
.../properties/SpringPropertiesComponentInterceptFromTest.xml | 1 +
.../component/properties/SpringPropertiesComponentOnExceptionTest.xml | 1 +
.../camel/component/properties/SpringPropertiesComponentRefTest.xml | 1 +
.../camel/component/properties/SpringPropertiesRouteFromTest.xml | 1 +
.../apache/camel/component/properties/SpringPropertiesRouteIdTest.xml | 1 +
.../properties/SpringPropertyPlaceholderOnExceptionRefTest.xml | 1 +
.../src/test/resources/org/apache/camel/component/rest/RestRefTest.xml | 1 +
.../apache/camel/component/rest/SpringFromRestConfigurationTest.xml | 1 +
.../org/apache/camel/component/rest/SpringFromRestDuplicateTest.xml | 1 +
.../org/apache/camel/component/rest/SpringFromRestGetInterceptTest.xml | 1 +
.../apache/camel/component/rest/SpringFromRestGetOnExceptionTest.xml | 1 +
.../camel/component/rest/SpringFromRestGetRouteOnExceptionTest.xml | 1 +
.../org/apache/camel/component/rest/SpringFromRestGetTest.xml | 2 ++
.../apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml | 2 ++
.../org/apache/camel/component/rest/SpringFromRestUriPrefixTest.xml | 1 +
.../resources/org/apache/camel/component/validator/camelContext.xml | 1 +
.../org/apache/camel/component/xslt/SpringXsltRouteFileTest.xml | 1 +
.../resources/org/apache/camel/component/xslt/SpringXsltRouteTest.xml | 1 +
.../org/apache/camel/language/SpringConstantResultTypeTest.xml | 1 +
.../org/apache/camel/language/SpringSimpleEmptyStringTest.xml | 1 +
.../resources/org/apache/camel/language/SpringSimpleExpressionTest.xml | 1 +
.../org/apache/camel/language/SpringSimpleMultiLineExpressionTest.xml | 1 +
.../resources/org/apache/camel/language/SpringSimpleWeirdIssueTest.xml | 1 +
.../org/apache/camel/language/SpringTokenXMLPairNamespaceSplitTest.xml | 1 +
.../test/resources/org/apache/camel/language/springSimpleNewline.xml | 1 +
.../resources/org/apache/camel/language/springSimpleRegexContext.xml | 1 +
.../src/test/resources/org/apache/camel/spring/EndpointToIdRefTest.xml | 1 +
.../resources/org/apache/camel/spring/NodeIdReferenceTest-context.xml | 1 +
.../org/apache/camel/spring/RouteConfigurationPreconditionTest.xml | 1 +
.../test/resources/org/apache/camel/spring/RoutePreconditionTest.xml | 1 +
.../src/test/resources/org/apache/camel/spring/RoutePropertyTest.xml | 1 +
.../org/apache/camel/spring/SendMessageOnRouteStartAndStopTest.xml | 1 +
.../org/apache/camel/spring/SpringBeanIoCStaticMethodTest.xml | 1 +
.../org/apache/camel/spring/SpringConsumerTemplateTest-context.xml | 1 +
.../org/apache/camel/spring/SpringLogDebugBodyMaxCharsTest.xml | 3 +++
.../camel/spring/SpringRoutesConfigurationBuilderIdOrPatternTest.xml | 1 +
.../org/apache/camel/spring/SpringRoutesConfigurationExternalTest.xml | 1 +
.../src/test/resources/org/apache/camel/spring/bind/beanAsEndpoint.xml | 1 +
.../resources/org/apache/camel/spring/bind/processorAsEndpoint.xml | 1 +
.../src/test/resources/org/apache/camel/spring/camelGlobalOptions.xml | 1 +
.../org/apache/camel/spring/cloud/ServiceCallConfigurationTest.xml | 1 +
.../resources/org/apache/camel/spring/cloud/ServiceCallFilterTest.xml | 1 +
.../camel/spring/config/ConsumerTemplateAlreadyExistTest-context.xml | 1 +
.../camel/spring/config/ConsumerTemplateAutoRegisterTest-context.xml | 1 +
.../spring/config/ConsumerTemplateHasTwoTemplatesTest-context.xml | 1 +
.../spring/config/ConsumerTemplateMaximumCacheSizeTest-context.xml | 1 +
.../spring/config/DeadLetterChannelRedeliveryConfigTest-context.xml | 1 +
.../camel/spring/config/DefaultErrorHandlerConfigTest-context.xml | 1 +
.../camel/spring/config/DependencyInjectCamelTemplateTest-context.xml | 1 +
.../camel/spring/config/EndpointUriSetFromSpringTest-context.xml | 1 +
.../camel/spring/config/ErrorHandlerRouteContextRefNotFoundTest.xml | 1 +
.../spring/config/FluentProducerTemplateAutoRegisterTest-context.xml | 1 +
.../camel/spring/config/OnExceptionNoExceptionConfiguredTest.xml | 1 +
.../org/apache/camel/spring/config/OneRouteRefOnException.xml | 1 +
.../camel/spring/config/OneRouteRefOnExceptionAndDLCErrorHandler.xml | 1 +
.../spring/config/OneRouteRefOnExceptionAndTwoDLCErrorHandler.xml | 1 +
.../org/apache/camel/spring/config/OneRouteRefReverseOnException.xml | 1 +
.../spring/config/OneRouteRefReverseOnExceptionAndDLCErrorHandler.xml | 1 +
.../resources/org/apache/camel/spring/config/PackageResolverTest.xml | 1 +
.../camel/spring/config/ProducerTemplateAlreadyExistTest-context.xml | 1 +
.../config/ProducerTemplateAutoRegisterBeanIdExistsTest-context.xml | 1 +
.../camel/spring/config/ProducerTemplateAutoRegisterTest-context.xml | 1 +
.../spring/config/ProducerTemplateHasTwoTemplatesTest-context.xml | 1 +
.../spring/config/ProducerTemplateMaximumCacheSizeTest-context.xml | 1 +
.../org/apache/camel/spring/config/RouteAutoStartupFalseTest.xml | 1 +
.../org/apache/camel/spring/config/RouteAutoStartupTrueTest.xml | 1 +
.../org/apache/camel/spring/config/RouteRefIncludeXmlFileTest.xml | 1 +
.../org/apache/camel/spring/config/RouteRefMultipleRefsTest.xml | 1 +
.../org/apache/camel/spring/config/RouteRefMultipleRoutesTest.xml | 1 +
.../config/RouteRefPropertyPlaceholderMultipleCamelContextRefsTest.xml | 2 ++
.../src/test/resources/org/apache/camel/spring/config/RouteRefTest.xml | 1 +
.../config/SpringCamelContextCustomDefaultThreadPoolProfileTest.xml | 1 +
.../apache/camel/spring/config/SpringCamelContextNoDependsOnTest.xml | 1 +
.../config/SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml | 2 ++
.../org/apache/camel/spring/config/SpringErrorHandlerConfigTest.xml | 1 +
.../camel/spring/config/SpringProduceInjectedPrototypeBeanTest.xml | 1 +
.../camel/spring/config/SpringProduceInjectedSingletonBeanTest.xml | 1 +
.../resources/org/apache/camel/spring/config/SpringRouteNoFromTest.xml | 1 +
.../org/apache/camel/spring/config/SpringRouteNoOutputTest.xml | 1 +
.../org/apache/camel/spring/config/TwoRouteRefOnException.xml | 1 +
.../camel/spring/config/TwoRouteRefOnExceptionAndDLCErrorHandler.xml | 1 +
.../org/apache/camel/spring/config/TwoRouteRefReverseOnException.xml | 1 +
.../spring/config/TwoRouteRefReverseOnExceptionAndDLCErrorHandler.xml | 1 +
.../test/resources/org/apache/camel/spring/config/routeBuilderRef2.xml | 1 +
.../camel/spring/config/scan/explicitlyDefinedRouteExclusion.xml | 1 +
.../resources/org/apache/camel/spring/debug/applicationContext.xml | 1 +
.../resources/org/apache/camel/spring/example/contentBasedRoute.xml | 1 +
.../test/resources/org/apache/camel/spring/example/expressionTrim.xml | 1 +
.../test/resources/org/apache/camel/spring/example/fooEventRoute.xml | 1 +
.../test/resources/org/apache/camel/spring/example/pojoConsumer.xml | 1 +
.../test/resources/org/apache/camel/spring/example/pojoVmConsumer.xml | 1 +
.../src/test/resources/org/apache/camel/spring/example/simpleRoute.xml | 1 +
.../src/test/resources/org/apache/camel/spring/example/xpathFilter.xml | 1 +
.../spring/file/SpringFileAntPathMatcherFileFilterTest-context.xml | 1 +
.../apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.xml | 1 +
.../org/apache/camel/spring/file/SpringFileConsumerPreMoveTest.xml | 1 +
.../org/apache/camel/spring/file/SpringFileLanguageCBRTest.xml | 1 +
.../org/apache/camel/spring/file/SpringFileRouteTest-context.xml | 1 +
.../camel/spring/file/SpringSimpleFileNameWithQuoteTest-context.xml | 1 +
.../org/apache/camel/spring/health/HealthCheckRegistryTest.xml | 1 +
.../resources/org/apache/camel/spring/impl/SpringRefDataFormatTest.xml | 1 +
.../org/apache/camel/spring/impl/SpringRoutePolicyFactoryTest.xml | 1 +
.../org/apache/camel/spring/impl/SpringRoutePolicyRefCallbackTest.xml | 1 +
.../apache/camel/spring/impl/SpringSupervisingRouteControllerTest.xml | 1 +
.../apache/camel/spring/impl/converter/SpringTypeConvertersTest.xml | 1 +
.../camel/spring/impl/transformer/SpringTransformerRouteTest.xml | 1 +
.../apache/camel/spring/impl/validator/SpringValidatorRouteTest.xml | 3 ++-
.../src/test/resources/org/apache/camel/spring/injectedBean.xml | 1 +
.../SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.xml | 1 +
.../spring/interceptor/SpringAdviceWithTwoRoutesOnExceptionTest.xml | 1 +
.../apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesTest.xml | 1 +
.../camel/spring/interceptor/mixedStreamCachingInterceptorTest.xml | 1 +
.../apache/camel/spring/interceptor/noStreamCachingInterceptorTest.xml | 1 +
.../springTransactionalClientDataSourceMinimalConfiguration.xml | 1 +
.../interceptor/springTransactionalClientDataSourceUsingTransacted.xml | 1 +
...ransactionalClientDataWithOnExceptionAndRollbackUsingTransacted.xml | 1 +
...lClientDataWithRouteScopedOnExceptionAndRollbackUsingTransacted.xml | 1 +
.../transactionalClientDataSourceWithSpringRouteBuilder.xml | 1 +
.../spring/interceptor/transactionalClientWithAnnotatedBeanTest.xml | 1 +
.../org/apache/camel/spring/issues/CamelRouteRefInjectionIssueTest.xml | 1 +
...dSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml | 1 +
...ExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml | 1 +
...ntextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml | 1 +
...edSpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml | 1 +
.../resources/org/apache/camel/spring/issues/CustomIdIssueTest.xml | 1 +
.../apache/camel/spring/issues/FileWireTapWithXMLPayloadIssueTest.xml | 1 +
.../spring/issues/RedeliveryErrorHandlerTwoXmlFilesIssueTest-1.xml | 1 +
.../org/apache/camel/spring/issues/RouteIdAutoAssignClashIssue.xml | 1 +
.../spring/issues/SpringAdviceWithRouteScopedErrorHandlerIssueTest.xml | 1 +
.../spring/issues/SpringAdviceWithTwoRoutesOnExceptionIssueTest.xml | 1 +
.../spring/issues/SpringCharlesSplitAndTryCatchRollbackIssueTest.xml | 1 +
.../org/apache/camel/spring/issues/SpringInitializationIssueTest.xml | 1 +
.../issues/SpringInstanceFactoryBeanCamelContextScanIssueTest.xml | 1 +
.../apache/camel/spring/issues/SpringInstanceFactoryBeanIssueTest.xml | 1 +
.../spring/issues/SpringMultipleErrorHandlerOnExceptionIssueTest.xml | 1 +
.../SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml | 1 +
...ExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml | 1 +
.../issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml | 1 +
.../SpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml | 1 +
.../resources/org/apache/camel/spring/issues/SpringPackageTest.xml | 1 +
.../camel/spring/issues/SpringPropertiesAvailableEverywhereTest.xml | 1 +
.../apache/camel/spring/issues/SpringPropertyPlaceholderIssueTest.xml | 1 +
...ExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml | 1 +
.../apache/camel/spring/issues/SpringSingletonScopedBeanIssueTest.xml | 1 +
.../apache/camel/spring/issues/SpringTryCatchWithSplitIssueTest.xml | 1 +
.../spring/issues/contextscan/SpringRouteIsComponentAnnotatedTest.xml | 1 +
.../issues/contextscan2/SpringRouteIsComponentAnnotated2Test.xml | 1 +
.../org/apache/camel/spring/issues/packagescan/camelContext.xml | 1 +
.../resources/org/apache/camel/spring/jmxConfigUsingProperties.xml | 2 +-
.../resources/org/apache/camel/spring/lifecycleStrategyInjection.xml | 1 +
.../src/test/resources/org/apache/camel/spring/mock/camel-route.xml | 1 +
.../src/test/resources/org/apache/camel/spring/mock/spring.xml | 1 +
.../resources/org/apache/camel/spring/patterns/FilterTest-context.xml | 1 +
.../camel/spring/pollingconsumer/FileConsumerSpringSchedulerTest.xml | 1 +
.../postprocessor/camelCustomPostProcessorOnRouteBuilderTest.xml | 1 +
.../camel/spring/processor/BatchResequencerAllowDuplicatesTest.xml | 1 +
.../apache/camel/spring/processor/BatchResequencerJMSPriorityTest.xml | 1 +
.../org/apache/camel/spring/processor/CBRHeaderPredicateTest.xml | 1 +
.../apache/camel/spring/processor/ClaimCheckEipGetAndRemoveSetTest.xml | 1 +
.../org/apache/camel/spring/processor/ClaimCheckEipGetSetTest.xml | 1 +
.../org/apache/camel/spring/processor/ClaimCheckEipPushPopBodyTest.xml | 1 +
.../camel/spring/processor/ClaimCheckEipPushPopHeadersPatternTest.xml | 1 +
.../apache/camel/spring/processor/ClaimCheckEipPushPopHeadersTest.xml | 1 +
.../camel/spring/processor/ClaimCheckEipPushPopRemoveHeaderTest.xml | 1 +
.../org/apache/camel/spring/processor/ClaimCheckEipPushPopTest.xml | 1 +
.../org/apache/camel/spring/processor/CustomProcessorFactoryTest.xml | 1 +
.../camel/spring/processor/DoubleLoadBalancerMisconfigurationTest.xml | 1 +
.../camel/spring/processor/EventNotifierExchangeSentExampleTest.xml | 1 +
.../camel/spring/processor/FailOverLoadBalanceAutoStartupFalseTest.xml | 1 +
.../camel/spring/processor/FailoverMaximumFailoverAttemptsTest.xml | 1 +
.../org/apache/camel/spring/processor/FailoverRoundRobinStickyTest.xml | 1 +
.../org/apache/camel/spring/processor/FailoverRoundRobinTest.xml | 1 +
.../apache/camel/spring/processor/InheritErrorHandlerDefaultTest.xml | 1 +
.../org/apache/camel/spring/processor/InheritErrorHandlerFalseTest.xml | 1 +
.../org/apache/camel/spring/processor/InheritErrorHandlerTrueTest.xml | 1 +
.../org/apache/camel/spring/processor/MulticastOnPrepareTest.xml | 1 +
.../apache/camel/spring/processor/OnExceptionContinueToRouteTest.xml | 1 +
.../org/apache/camel/spring/processor/PolicyPerProcessorTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/PolicyPerRouteTest.xml | 1 +
.../camel/spring/processor/RecipientListAggregationStrategyTest.xml | 1 +
.../camel/spring/processor/RecipientListDoNotStopOnExceptionTest.xml | 1 +
.../org/apache/camel/spring/processor/RecipientListOnPrepareTest.xml | 1 +
.../apache/camel/spring/processor/RecipientListStopOnExceptionTest.xml | 1 +
.../org/apache/camel/spring/processor/RouteNoAutoStartupTest.xml | 1 +
.../org/apache/camel/spring/processor/RouteStartupOrderSimpleTest.xml | 1 +
.../org/apache/camel/spring/processor/RouteStartupOrderTest.xml | 1 +
.../apache/camel/spring/processor/RouteStartupOrderWithDefaultTest.xml | 1 +
.../spring/processor/RouteWithConstantFieldFromExchangeFailTest.xml | 1 +
.../camel/spring/processor/RouteWithConstantFieldFromExchangeTest.xml | 1 +
.../org/apache/camel/spring/processor/ShutdownCompleteAllTasksTest.xml | 1 +
.../camel/spring/processor/ShutdownCompleteCurrentTaskOnlyTest.xml | 1 +
.../org/apache/camel/spring/processor/SimpleProcessorIdAwareTest.xml | 1 +
.../org/apache/camel/spring/processor/SplitCustomExpressionTest.xml | 1 +
.../org/apache/camel/spring/processor/SplitGroupMultiLinesTest.xml | 1 +
.../org/apache/camel/spring/processor/SplitGroupSkipFirstTest.xml | 1 +
.../org/apache/camel/spring/processor/SplitterOnPrepareTest.xml | 1 +
.../apache/camel/spring/processor/SpringAggregateFromWireTapTest.xml | 1 +
.../apache/camel/spring/processor/SpringComplexBlockWithEndTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringCustomExpressionTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringCustomPredicateTest.xml | 1 +
.../apache/camel/spring/processor/SpringCustomRefLoadBalanceTest.xml | 1 +
.../spring/processor/SpringDeadLetterChannelUseOriginalBodyNewTest.xml | 1 +
.../spring/processor/SpringDeadLetterChannelUseOriginalBodyTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringDynamicRouterTest.xml | 1 +
.../camel/spring/processor/SpringEnricherAggregateOnExceptionTest.xml | 1 +
.../spring/processor/SpringErrorHandlerRedeliveryPolicyProfileTest.xml | 1 +
.../processor/SpringIdempotentConsumerNoSkipDuplicateFilterTest.xml | 1 +
.../spring/processor/SpringIdempotentConsumerNoSkipDuplicateTest.xml | 1 +
.../spring/processor/SpringIdempotentConsumerRemoveOnFailureTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringIdempotentConsumerTest.xml | 1 +
.../camel/spring/processor/SpringInterceptFromEndpointRefTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringInterceptFromTest.xml | 1 +
.../apache/camel/spring/processor/SpringInterceptFromUriRegexTest.xml | 1 +
.../camel/spring/processor/SpringInterceptFromUriSimpleLogTest.xml | 1 +
.../camel/spring/processor/SpringInterceptFromUriWildcardTest.xml | 1 +
.../camel/spring/processor/SpringInterceptFromWhenNoStopTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringInterceptFromWhenTest.xml | 1 +
.../camel/spring/processor/SpringInterceptFromWhenWithChoiceTest.xml | 1 +
.../apache/camel/spring/processor/SpringInterceptFromWithStopTest.xml | 1 +
.../camel/spring/processor/SpringInterceptSimpleRouteStopTest.xml | 1 +
.../apache/camel/spring/processor/SpringInterceptSimpleRouteTest.xml | 1 +
.../camel/spring/processor/SpringInterceptSimpleRouteWhenStopTest.xml | 1 +
.../camel/spring/processor/SpringInterceptSimpleRouteWhenTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/SpringLoopCopyTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringLoopNoCopyTest.xml | 1 +
.../camel/spring/processor/SpringManagedThreadsThreadPoolTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringMethodCallTest.xml | 1 +
.../camel/spring/processor/SpringMulticastAggregatorTest-context.xml | 1 +
.../camel/spring/processor/SpringMulticastNoStopOnExceptionTest.xml | 1 +
.../camel/spring/processor/SpringMulticastStopOnExceptionTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringNestedChoiceIssueTest.xml | 1 +
.../SpringOnCompletionAndInterceptAndOnExceptionGlobalTest.xml | 1 +
.../spring/processor/SpringOnCompletionAndInterceptGlobalTest.xml | 1 +
.../camel/spring/processor/SpringOnCompletionAndInterceptTest.xml | 1 +
.../spring/processor/SpringOnCompletionCompleteAndFailureTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringOnCompletionGlobalTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringOnCompletionModeTest.xml | 1 +
.../camel/spring/processor/SpringOnCompletionOnCompleteOnlyTest.xml | 1 +
.../camel/spring/processor/SpringOnCompletionOnFailureOnlyTest.xml | 1 +
.../processor/SpringOnCompletionRouteScopeOverrideGlobalScopeTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringOnCompletionTest.xml | 1 +
.../camel/spring/processor/SpringOnCompletionUseOriginalBodyTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringOnCompletionWhenTest.xml | 1 +
.../processor/SpringRecipientListParallelOptionalPropertiesTest.xml | 1 +
.../spring/processor/SpringRecipientListParallelStreamingTest.xml | 1 +
.../apache/camel/spring/processor/SpringRecipientListParallelTest.xml | 1 +
.../camel/spring/processor/SpringRouteContextProduceBeanTest.xml | 1 +
.../camel/spring/processor/SpringRouteNodePrefixIdDuplicateTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringRouteNodePrefixIdTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringRoutePoliciesTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringRouteStopTest.xml | 1 +
.../processor/SpringRouteTopLevelOnCompletionMisconfiguredTest.xml | 1 +
.../processor/SpringRouteTopLevelOnExceptionMisconfiguredTest.xml | 1 +
.../processor/SpringRouteTopLevelTransactedMisconfiguredTest.xml | 1 +
.../apache/camel/spring/processor/SpringScheduledThreadPoolTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringSetHeaderTest-context.xml | 1 +
.../camel/spring/processor/SpringSetHeaderWithConstantTest-context.xml | 1 +
.../camel/spring/processor/SpringSetHeaderXPathResultTypeTest.xml | 1 +
.../apache/camel/spring/processor/SpringSimpleResultTypeRouteTest.xml | 1 +
.../camel/spring/processor/SpringSplitTokenizerGroupDynamicTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringSplitterBodyTest.xml | 1 +
.../camel/spring/processor/SpringSplitterNoStopOnExceptionTest.xml | 1 +
.../camel/spring/processor/SpringSplitterStopOnExceptionTest.xml | 1 +
.../apache/camel/spring/processor/SpringThrowExceptionMessageTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringThrowExceptionTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringToDynamicIgnoreTest.xml | 1 +
.../apache/camel/spring/processor/SpringToDynamicLanguageXPathTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringToDynamicTest.xml | 1 +
.../camel/spring/processor/SpringTraceUsingPropertyTest-context.xml | 1 +
.../camel/spring/processor/SpringTryCatchMisconfiguredFinallyTest.xml | 1 +
.../apache/camel/spring/processor/SpringTryCatchMisconfiguredTest.xml | 1 +
.../spring/processor/SpringTryCatchMustHaveExceptionConfiguredTest.xml | 1 +
.../camel/spring/processor/SpringTryProcessorMultipleExceptionTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringTryProcessorOnWhenTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringWireTapExpressionTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/SpringWireTapTest.xml | 1 +
.../org/apache/camel/spring/processor/SpringWireTapVoidBeanTest.xml | 1 +
.../apache/camel/spring/processor/SpringXPathHeaderTest-context.xml | 1 +
.../camel/spring/processor/ThreadsCoreAndMaxPoolKeepAliveTimeTest.xml | 1 +
.../org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolTest.xml | 1 +
.../org/apache/camel/spring/processor/ThreadsCorePoolTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/ThreadsDefaultTest.xml | 1 +
.../spring/processor/ThreadsExternalThreadPoolFactoryBeanTest.xml | 1 +
.../apache/camel/spring/processor/ThreadsThreadPoolFactoryBeanTest.xml | 1 +
.../org/apache/camel/spring/processor/ThrottlerGroupingTest.xml | 1 +
.../org/apache/camel/spring/processor/ThrottlerMethodCallTest.xml | 1 +
.../apache/camel/spring/processor/ThrottlerThreadPoolProfileTest.xml | 1 +
.../camel/spring/processor/ThrottlingInflightRoutePolicyTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/ValidateSimpleTest.xml | 1 +
.../org/apache/camel/spring/processor/WireTapOnPrepareTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/XsltTest-context.xml | 1 +
.../org/apache/camel/spring/processor/aggregator-custom-strategy.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/aggregator.xml | 1 +
.../processor/aggregator/SpringAggregateCompleteAllOnStopTest.xml | 1 +
.../processor/aggregator/SpringAggregateCompletionIntervalTest.xml | 1 +
.../spring/processor/aggregator/SpringAggregateControllerTest.xml | 1 +
.../processor/aggregator/SpringAggregateDiscardOnTimeoutTest.xml | 1 +
.../processor/aggregator/SpringAggregateExpressionSizeFallbackTest.xml | 1 +
.../spring/processor/aggregator/SpringAggregateExpressionSizeTest.xml | 1 +
.../aggregator/SpringAggregateExpressionTimeoutFallbackTest.xml | 1 +
.../aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml | 1 +
.../processor/aggregator/SpringAggregateExpressionTimeoutTest.xml | 1 +
.../processor/aggregator/SpringAggregateForceCompletionOnStopTest.xml | 1 +
.../SpringAggregateGroupedExchangeCompletionExpressionSizeTest.xml | 1 +
.../processor/aggregator/SpringAggregateSimplePredicateEagerTest.xml | 1 +
.../spring/processor/aggregator/SpringAggregateSimplePredicateTest.xml | 1 +
.../spring/processor/aggregator/SpringAggregateSimpleSizeTest.xml | 1 +
.../spring/processor/aggregator/SpringAggregateSimpleTimeoutTest.xml | 1 +
.../processor/aggregator/SpringAggregateThreadPoolProfileTest.xml | 1 +
.../aggregator/SpringAggregationStrategyBeanAdapterAllowNullTest.xml | 1 +
.../SpringAggregationStrategyBeanAdapterRefMethodNameTest.xml | 1 +
.../aggregator/SpringAggregationStrategyBeanAdapterRefTest.xml | 1 +
.../async/SpringAsyncDeadLetterChannelExecutorServiceRefTest.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/choice.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/convertBody.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/delayer.xml | 1 +
.../org/apache/camel/spring/processor/enrichExpressionTest.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/enricher.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/enricherref.xml | 1 +
.../org/apache/camel/spring/processor/failOverLoadBalance.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/filter.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/filterNoChild.xml | 1 +
.../resources/org/apache/camel/spring/processor/fromEndpointTest.xml | 1 +
.../org/apache/camel/spring/processor/fromMultipleEndpointTest.xml | 1 +
.../processor/idempotent/FileConsumerIdempotentLoadStoreTest.xml | 1 +
.../camel/spring/processor/idempotent/SpringCacheIdempotentTest.xml | 1 +
.../camel/spring/processor/idempotent/fileConsumerIdempotentTest.xml | 1 +
.../processor/intercept/SpringParentChildInterceptStrategyTest.xml | 1 +
.../org/apache/camel/spring/processor/interceptSendToEndpoint.xml | 1 +
.../apache/camel/spring/processor/interceptSendToEndpointDynamic.xml | 1 +
.../spring/processor/interceptSendToEndpointInOnExceptionTest.xml | 1 +
.../org/apache/camel/spring/processor/interceptSendToEndpointSkip.xml | 1 +
.../org/apache/camel/spring/processor/interceptSendToEndpointWhen.xml | 1 +
.../org/apache/camel/spring/processor/logEipCustomFormatterTest.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/loop.xml | 1 +
.../resources/org/apache/camel/spring/processor/markrollbackonly.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/multicast.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/normalizer.xml | 1 +
.../spring/processor/onexception/OnExceptionContinueSubRouteTest.xml | 1 +
.../processor/onexception/OnExceptionContinueSubSubRouteTest.xml | 1 +
.../camel/spring/processor/onexception/OnExceptionContinueTest.xml | 1 +
.../processor/onexception/OnExceptionLoadBalancerDoubleIssueTest.xml | 1 +
.../processor/onexception/OnExceptionWithRouteAndContinueTest.xml | 1 +
.../spring/processor/onexception/SpringContextScopeOnExceptionTest.xml | 1 +
.../processor/onexception/SpringOnExceptionUseOriginalMessageTest.xml | 1 +
.../camel/spring/processor/onexception/onExceptionSubRouteTest.xml | 1 +
.../org/apache/camel/spring/processor/pollEnrichExpressionTest.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/pollEnricher.xml | 1 +
.../resources/org/apache/camel/spring/processor/pollEnricherRef.xml | 1 +
.../resources/org/apache/camel/spring/processor/randomLoadBalance.xml | 1 +
.../camel/spring/processor/recipientListIgnoreInvalidEndpoints.xml | 1 +
.../org/apache/camel/spring/processor/recipientListWithArrayHeader.xml | 1 +
.../camel/spring/processor/recipientListWithStringDelimitedHeader.xml | 1 +
.../spring/processor/recipientListWithStringDelimitedProperty.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/removeHeader.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/removeHeaders.xml | 1 +
.../org/apache/camel/spring/processor/removeHeadersExclude.xml | 1 +
.../apache/camel/spring/processor/removePropertiesWithExclusion.xml | 1 +
.../apache/camel/spring/processor/removePropertiesWithoutExclusion.xml | 1 +
.../resources/org/apache/camel/spring/processor/removeProperty.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/resequencer.xml | 1 +
.../org/apache/camel/spring/processor/resequencerRejectOld.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/rollback.xml | 1 +
.../org/apache/camel/spring/processor/roundRobinLoadBalance.xml | 1 +
.../camel/spring/processor/routingSlipIgnoreInvalidEndpoints.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/saga.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/sagaRef.xml | 1 +
.../resources/org/apache/camel/spring/processor/samplingThrottler.xml | 1 +
.../org/apache/camel/spring/processor/samplingThrottlerWithDefault.xml | 1 +
.../org/apache/camel/spring/processor/scattergather/scatter-gather.xml | 1 +
.../resources/org/apache/camel/spring/processor/script-external.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/script.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/setBody.xml | 1 +
.../resources/org/apache/camel/spring/processor/setExchangePattern.xml | 1 +
.../apache/camel/spring/processor/setExchangePatternWithCustomId.xml | 1 +
.../org/apache/camel/spring/processor/setHeaderNameDynamic.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/setProperty.xml | 1 +
.../org/apache/camel/spring/processor/setPropertyNameDynamic.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/sortBodyTest.xml | 1 +
.../resources/org/apache/camel/spring/processor/sortExpressionTest.xml | 1 +
.../org/apache/camel/spring/processor/splitterMethodCallTest.xml | 1 +
.../org/apache/camel/spring/processor/splitterTokenizerTest.xml | 1 +
.../camel/spring/processor/splitterWithCustomThreadPoolExecutor.xml | 1 +
.../org/apache/camel/spring/processor/staticRecipientList.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/step.xml | 1 +
.../resources/org/apache/camel/spring/processor/stickyLoadBalance.xml | 1 +
.../resources/org/apache/camel/spring/processor/streamResequencer.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/throttler.xml | 1 +
.../resources/org/apache/camel/spring/processor/topicLoadBalance.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/transform.xml | 1 +
.../apache/camel/spring/processor/transformWithExpressionContext.xml | 1 +
.../src/test/resources/org/apache/camel/spring/processor/validate.xml | 1 +
.../org/apache/camel/spring/processor/weightedRandomLoadBalance.xml | 1 +
.../apache/camel/spring/processor/weightedRoundRobinLoadBalance.xml | 1 +
.../org/apache/camel/spring/processor/xPathHeaderNameContext.xml | 1 +
.../spring/processor/xPathHeaderNameResultTypeAndNamespaceContext.xml | 1 +
.../camel/spring/processor/xpathChoiceWithNamespaceOnRouteContext.xml | 1 +
.../test/resources/org/apache/camel/spring/processor/xpathFilter.xml | 1 +
.../org/apache/camel/spring/processor/xpathFilterWithNamespace.xml | 1 +
.../camel/spring/processor/xpathFilterWithNamespaceOnRouteContext.xml | 1 +
.../apache/camel/spring/produce/FluentProduceTemplateTest-context.xml | 1 +
.../org/apache/camel/spring/produce/ProduceTemplateTest-context.xml | 1 +
.../resources/org/apache/camel/spring/produce/ProduceTest-context.xml | 1 +
.../test/resources/org/apache/camel/spring/routingUsingProcessor.xml | 1 +
.../test/resources/org/apache/camel/spring/util/EndpointHelperTest.xml | 1 +
442 files changed, 455 insertions(+), 4 deletions(-)
diff --git a/components/camel-spring-xml/src/test/resources/META-INF/spring/camel-context.xml b/components/camel-spring-xml/src/test/resources/META-INF/spring/camel-context.xml
index 926a8424590..42d58a3a06b 100644
--- a/components/camel-spring-xml/src/test/resources/META-INF/spring/camel-context.xml
+++ b/components/camel-spring-xml/src/test/resources/META-INF/spring/camel-context.xml
@@ -31,6 +31,7 @@
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+
<route>
<from uri="direct:a.start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTest.xml
index e891a03a06f..e96b608e150 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<bean beanType="org.apache.camel.component.bean.AutowireConstructorBean"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTwoTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTwoTest.xml
index 708b4acdad2..33e08e179b7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTwoTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/AutowireConstructorRouteTwoTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<bean beanType="org.apache.camel.component.bean.AutowireConstructorTwoBean"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/BeanWithRecipientListTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/BeanWithRecipientListTest-context.xml
index 1c633ee81d7..ce5ae2c0cce 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/BeanWithRecipientListTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/BeanWithRecipientListTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="camelTemplate"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/SpringRouteMethodCallStaticTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/SpringRouteMethodCallStaticTest.xml
index 12903d132dc..efe1ce4b356 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/SpringRouteMethodCallStaticTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/SpringRouteMethodCallStaticTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/beanBindingTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/beanBindingTest.xml
index 90d3124a294..df0146adf31 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/beanBindingTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/beanBindingTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="template"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/camelContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/camelContext.xml
index b600446f8e1..07e701adbba 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/camelContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/bean/camelContext.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
<bean id="myBean" class="org.apache.camel.component.bean.ExampleBean"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/cron/cron.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/cron/cron.xml
index 37fd5f2eade..8272772b3cb 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/cron/cron.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/cron/cron.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="cron:tab?schedule=0/1+*+*+*+*+?"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/dataset/SpringDataSetTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/dataset/SpringDataSetTest-context.xml
index 3f75d3f4b7c..00907f92709 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/dataset/SpringDataSetTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/dataset/SpringDataSetTest-context.xml
@@ -26,6 +26,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- start this first to make sure the "direct:foo" consumer is ready -->
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/camelContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/camelContext.xml
index 60b4e2ddab5..69723eea588 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/camelContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/camelContext.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<package>org.apache.camel.component.event</package>
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="spring-event:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/mistypedPackage.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/mistypedPackage.xml
index 54278267eee..64bba5961ca 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/mistypedPackage.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/event/mistypedPackage.xml
@@ -30,6 +30,8 @@
<package>org.apache.camel.component.event
</package>
+ <jmxAgent id="jmx" disabled="true"/>
+
<route>
<from uri="spring-event:foo"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringCustomLogMaskTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringCustomLogMaskTest-context.xml
index c269075b0b0..dc74f46c27d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringCustomLogMaskTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringCustomLogMaskTest-context.xml
@@ -27,6 +27,7 @@
<bean id="CamelCustomLogMask" class="org.apache.camel.component.log.SpringLogMaskTest.MockMaskingFormatter"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="mask">
<from uri="direct:mock"/>
<to uri="log:mock?logMask=true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogMarkerTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogMarkerTest-context.xml
index 1df2c28ce36..a163b88bf3e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogMarkerTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogMarkerTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="log:cool?level=WARN&marker=testMarker"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogTest-context.xml
index eca8832d2bd..b357c8d5e05 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/SpringLogTest-context.xml
@@ -34,6 +34,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="ref:log"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/custom-exchange-formatter-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/custom-exchange-formatter-context.xml
index 009895778c9..33c5d69878f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/custom-exchange-formatter-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/log/custom-exchange-formatter-context.xml
@@ -27,6 +27,7 @@
<bean id="logFormatter" class="org.apache.camel.component.log.TestExchangeFormatter" scope="prototype" />
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="log:aaa?testProperty=aaa" id="log.aaa" />
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer2Test.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer2Test.xml
index 04865d67fd9..39245a82250 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer2Test.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer2Test.xml
@@ -38,6 +38,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<!-- also define Camel properties placeholder where we can configure it as well -->
<propertyPlaceholder id="properties" location="classpath:org/apache/camel/component/properties/myprop.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<!-- in this route we use Camels property placeholder {{ }} style -->
<route>
<from uri="direct:{{cool.bar}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.xml
index 35fc8bc2d98..04d9db06990 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurer3Test.xml
@@ -38,6 +38,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- in this route we use Camels property placeholder {{ }} style -->
<route>
<from uri="direct:{{foo}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerNestedTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerNestedTest.xml
index 61de46ad2a6..83333129f87 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerNestedTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerNestedTest.xml
@@ -36,6 +36,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- in this route we use Camels property placeholder {{ }} style -->
<route>
<from uri="direct:{{cool.bar}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerTest.xml
index a15e6d45815..872e1b48716 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/CamelSpringPropertyPlaceholderConfigurerTest.xml
@@ -44,6 +44,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- in this route we use Camels property placeholder {{ }} style -->
<route>
<from uri="direct:{{cool.bar}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineRouteContextRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineRouteContextRefTest.xml
index 33058f4c908..6f56d20cd9b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineRouteContextRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineRouteContextRefTest.xml
@@ -40,6 +40,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="myCoolRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineTest.xml
index 7e42e10cda1..76b45d99027 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringAttributeNewLineTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefBeanInjectTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefBeanInjectTest.xml
index 932500ba2fa..e23422fba95 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefBeanInjectTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefBeanInjectTest.xml
@@ -29,6 +29,7 @@
<bean id="simpleRoute" class="org.apache.camel.component.properties.route2.SpringBeanInjectRoute"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="simpleRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertiesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertiesTest.xml
index 618e354ac93..d8c429b72c9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertiesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertiesTest.xml
@@ -28,6 +28,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/component/properties/myprop.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="{{mybuilder}}"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertyInjectTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertyInjectTest.xml
index 7288ffc255a..838a146dfe6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertyInjectTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringBuilderRefPropertyInjectTest.xml
@@ -28,6 +28,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/component/properties/myprop.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="simpleRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerInlinedPropertiesPlaceholderTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerInlinedPropertiesPlaceholderTest.xml
index a30e2ca6dfa..94110623ef9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerInlinedPropertiesPlaceholderTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerInlinedPropertiesPlaceholderTest.xml
@@ -29,6 +29,7 @@
<camelContext errorHandlerRef="dlc" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties"
location="classpath:org/apache/camel/component/properties/cheese.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel">
<redeliveryPolicy maximumRedeliveries="{{max}}" redeliveryDelay="0"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerPropertiesPlaceholderTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerPropertiesPlaceholderTest.xml
index 3552b54ba96..d6ced55e93a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerPropertiesPlaceholderTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringErrorHandlerPropertiesPlaceholderTest.xml
@@ -29,6 +29,7 @@
<camelContext errorHandlerRef="dlc" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties"
location="classpath:org/apache/camel/component/properties/cheese.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel" redeliveryPolicyRef="myRedelivery"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTest.xml
index c0d6f212c49..7d4ef54f4b9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTest.xml
@@ -38,6 +38,8 @@
location="classpath:org/apache/camel/component/properties/myprop.properties"
xmlns="http://camel.apache.org/schema/spring"/>
+ <jmxAgent id="jmx" disabled="true"/>
+
<route>
<from uri="direct:start"/>
<!-- use prop namespace, to define a property placeholder, which maps to
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTokenizeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTokenizeTest.xml
index f57d6b8e7aa..dba6225d399 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTokenizeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringOptionalPropertiesDslTokenizeTest.xml
@@ -31,6 +31,8 @@
location="classpath:org/apache/camel/component/properties/myproperties.properties"
xmlns="http://camel.apache.org/schema/spring"/>
+ <jmxAgent id="jmx" disabled="true"/>
+
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackagePropertiesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackagePropertiesTest.xml
index bdd4c38d2f9..fc6a577cb4d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackagePropertiesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackagePropertiesTest.xml
@@ -27,7 +27,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/component/properties/myprop.properties"/>
<package>{{routebuilders}}</package>
- <jmxAgent id="agent"/>
+ <jmxAgent id="agent" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackageScanPropertiesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackageScanPropertiesTest.xml
index 55a75198130..5a4c58b29cb 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackageScanPropertiesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPackageScanPropertiesTest.xml
@@ -30,7 +30,7 @@
<package>org.apache.camel.{{routescan}}</package>
<includes>{{routeincludes}}</includes>
</packageScan>
- <jmxAgent id="agent"/>
+ <jmxAgent id="agent" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSL2Test.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSL2Test.xml
index 281ebbfe87e..1483e6c41ea 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSL2Test.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSL2Test.xml
@@ -30,6 +30,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:transactedHeader" />
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSLTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSLTest.xml
index 9d0316b2eee..aa27f570c02 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSLTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesAfterTransactedDSLTest.xml
@@ -27,6 +27,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="classpath:org/apache/camel/component/properties/myprop.properties" />
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:transactedHeader" />
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponent3Test.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponent3Test.xml
index 2bde5e29535..416cea4dba4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponent3Test.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponent3Test.xml
@@ -29,6 +29,8 @@
<propertyPlaceholder id="properties"
location="classpath:org/apache/camel/component/properties/cheese.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
+
<route>
<from uri="direct:start"/>
<to uri="{{cool.end}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPChoiceConvertBodyToTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPChoiceConvertBodyToTest.xml
index 1a5bc111924..6a8b0dd9ad6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPChoiceConvertBodyToTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPChoiceConvertBodyToTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPConvertBodyToTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPConvertBodyToTest.xml
index 1a641bf9096..fceffbc7c25 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPConvertBodyToTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentEIPConvertBodyToTest.xml
@@ -29,6 +29,8 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
+
<route>
<from uri="direct:start"/>
<convertBodyTo type="byte[]" charset="{{myCoolCharset}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentFunctionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentFunctionTest.xml
index b56a69a800f..ac6ec8de65b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentFunctionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentFunctionTest.xml
@@ -32,6 +32,8 @@
<propertiesFunction ref="beerFunction"/>
</propertyPlaceholder>
+ <jmxAgent id="jmx" disabled="true"/>
+
<route>
<from uri="direct:start"/>
<to uri="log:{{sys:os.name}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentInterceptFromTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentInterceptFromTest.xml
index d3f556033e1..178ae73bce5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentInterceptFromTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentInterceptFromTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptFrom uri="{{cool.start}}">
<transform>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentOnExceptionTest.xml
index f7b850d76f7..f7b5a191499 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentOnExceptionTest.xml
@@ -30,6 +30,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/component/properties/cheese.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.Exception</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentRefTest.xml
index af56d41a675..2e6a990227c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesComponentRefTest.xml
@@ -30,6 +30,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="ref:coolProperties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="{{cool.end}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteFromTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteFromTest.xml
index b378b5f2c1f..45c3607f32b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteFromTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteFromTest.xml
@@ -26,6 +26,7 @@
<camelContext id="myCamel" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/component/properties/myproperties.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo">
<from uri="{{cool.start}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteIdTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteIdTest.xml
index 3379ad92742..50aec5a9aa0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteIdTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertiesRouteIdTest.xml
@@ -26,6 +26,7 @@
<camelContext id="myCamel" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/component/properties/myproperties.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route id="{{cool.name}}">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertyPlaceholderOnExceptionRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertyPlaceholderOnExceptionRefTest.xml
index 74632b7cc56..1cf14650d18 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertyPlaceholderOnExceptionRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/properties/SpringPropertyPlaceholderOnExceptionRefTest.xml
@@ -36,6 +36,7 @@
<context:property-placeholder location="org/apache/camel/component/properties/cheese.properties"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- setup endpoint -->
<endpoint id="dead" uri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/RestRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/RestRefTest.xml
index 246c2a90799..c882ffee140 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/RestRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/RestRefTest.xml
@@ -36,6 +36,7 @@
</restContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<restContextRef ref="myCoolRest"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestConfigurationTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestConfigurationTest.xml
index 229b792dc0d..5ff93fb7443 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestConfigurationTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestConfigurationTest.xml
@@ -30,6 +30,7 @@
<bean id="myDummy" class="org.apache.camel.impl.FooBar"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<restConfiguration component="dummy-rest" host="localhost" port="9090">
<componentProperty key="foo" value="bar"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestDuplicateTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestDuplicateTest.xml
index 52ca6730283..ffb429498a5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestDuplicateTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestDuplicateTest.xml
@@ -28,6 +28,7 @@
<bean id="dummy-rest" class="org.apache.camel.component.rest.DummyRestConsumerFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<rest path="/users">
<get path="{id}">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetInterceptTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetInterceptTest.xml
index b75af927f9f..fcf698c41a7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetInterceptTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetInterceptTest.xml
@@ -28,6 +28,7 @@
<bean id="dummy-rest" class="org.apache.camel.component.rest.DummyRestConsumerFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<intercept>
<to uri="mock:intercept"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetOnExceptionTest.xml
index a4bae7c5da0..eda85405acb 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetOnExceptionTest.xml
@@ -32,6 +32,7 @@
<bean id="dummy-rest" class="org.apache.camel.component.rest.DummyRestConsumerFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetRouteOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetRouteOnExceptionTest.xml
index 064a9688259..f247915490c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetRouteOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetRouteOnExceptionTest.xml
@@ -32,6 +32,7 @@
<bean id="dummy-rest" class="org.apache.camel.component.rest.DummyRestConsumerFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<rest path="/say/hello">
<get>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml
index 9ba95ed1fd6..767deea4d94 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml
@@ -32,6 +32,8 @@
<propertyPlaceholder id="properties" location="custom.properties" ignoreMissingLocation="true">
</propertyPlaceholder>
+ <jmxAgent id="jmx" disabled="true"/>
+
<rest path="/say/hello">
<get>
<to uri="direct:hello"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml
index 567005f0a9b..63090c5b556 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml
@@ -32,6 +32,8 @@
<propertyPlaceholder id="properties" location="custom.properties" ignoreMissingLocation="true">
</propertyPlaceholder>
+ <jmxAgent id="jmx" disabled="true"/>
+
<rest id="hello" description="Hello Service" path="/say/hello">
<get id="get-say" description="Says hello to you">
<to uri="direct:hello"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestUriPrefixTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestUriPrefixTest.xml
index 8f04000b8c2..3b8e3ee0aaf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestUriPrefixTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestUriPrefixTest.xml
@@ -28,6 +28,7 @@
<bean id="dummy-rest" class="org.apache.camel.component.rest.DummyRestConsumerFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<rest path="/say/">
<get path="/hello">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/validator/camelContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/validator/camelContext.xml
index 2e91076e745..faceb27be4f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/validator/camelContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/validator/camelContext.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: example -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteFileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteFileTest.xml
index b24d9209315..0c3c23f5e0f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteFileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteFileTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="xslt:file:src/test/resources/org/apache/camel/component/xslt/mytransform.xsl"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteTest.xml
index 50e94037e43..0a68432c457 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/xslt/SpringXsltRouteTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="xslt:org/apache/camel/component/xslt/transform.xsl"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringConstantResultTypeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringConstantResultTypeTest.xml
index 6f29be079c5..fc15818f5b6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringConstantResultTypeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringConstantResultTypeTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setHeader name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleEmptyStringTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleEmptyStringTest.xml
index 4095265c461..7f0ca40e879 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleEmptyStringTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleEmptyStringTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setBody>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleExpressionTest.xml
index 38f5deda924..557debf49ec 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleExpressionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleMultiLineExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleMultiLineExpressionTest.xml
index 006dd4484a5..f54746c772c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleMultiLineExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleMultiLineExpressionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleWeirdIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleWeirdIssueTest.xml
index 0f39d6dfae0..87ce3110605 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleWeirdIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringSimpleWeirdIssueTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setBody>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringTokenXMLPairNamespaceSplitTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringTokenXMLPairNamespaceSplitTest.xml
index 26e2e94fbdb..039bafd8016 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringTokenXMLPairNamespaceSplitTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/SpringTokenXMLPairNamespaceSplitTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file:target/data/SpringTokenXMLPairNamespaceSplitTest/pair?initialDelay=0&delay=10"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleNewline.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleNewline.xml
index 2b27dc2f414..51bfc904b38 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleNewline.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleNewline.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<transform>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleRegexContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleRegexContext.xml
index eb68d581fa8..31902cba1e7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleRegexContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/language/springSimpleRegexContext.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start" />
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/EndpointToIdRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/EndpointToIdRefTest.xml
index 4fd021c9691..0f1d431db55 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/EndpointToIdRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/EndpointToIdRefTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="result" uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/NodeIdReferenceTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/NodeIdReferenceTest-context.xml
index 27b6434191b..224cf1ab7ba 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/NodeIdReferenceTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/NodeIdReferenceTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="camelTemplate"/>
<endpoint id="foo" uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RouteConfigurationPreconditionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RouteConfigurationPreconditionTest.xml
index 4b46716911d..e8e59039081 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RouteConfigurationPreconditionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RouteConfigurationPreconditionTest.xml
@@ -25,6 +25,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="classpath:org/apache/camel/spring/PreconditionTest.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<routeConfiguration>
<onException>
<exception>java.lang.Exception</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePreconditionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePreconditionTest.xml
index 45694d7ad82..1efd3580520 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePreconditionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePreconditionTest.xml
@@ -25,6 +25,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="classpath:org/apache/camel/spring/PreconditionTest.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<routeTemplate id="myTemplate">
<templateParameter name="activateT"/>
<route precondition="{{activateT}}">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePropertyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePropertyTest.xml
index e4abd1645a9..0c62cd444a6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePropertyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/RoutePropertyTest.xml
@@ -24,6 +24,7 @@
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="myRoute">
<routeProperty key="a" value="1"/>
<routeProperty key="b" value="2"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SendMessageOnRouteStartAndStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SendMessageOnRouteStartAndStopTest.xml
index fecdda238d5..84495367506 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SendMessageOnRouteStartAndStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SendMessageOnRouteStartAndStopTest.xml
@@ -26,6 +26,7 @@
<!-- this is our camel -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="myBuilder"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringBeanIoCStaticMethodTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringBeanIoCStaticMethodTest.xml
index 25d18ac58df..ae19d6ac8a3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringBeanIoCStaticMethodTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringBeanIoCStaticMethodTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setHeader name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringConsumerTemplateTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringConsumerTemplateTest-context.xml
index 149b4074a2d..da8bc37c730 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringConsumerTemplateTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringConsumerTemplateTest-context.xml
@@ -26,6 +26,7 @@
<!-- tag::e1[] -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define a producer template -->
<template id="producer"/>
<!-- define a consumer template -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringLogDebugBodyMaxCharsTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringLogDebugBodyMaxCharsTest.xml
index d7f65416229..40f07f17d1a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringLogDebugBodyMaxCharsTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringLogDebugBodyMaxCharsTest.xml
@@ -27,6 +27,9 @@
<bean id="logFormatter" class="org.apache.camel.impl.TraceExchangeFormatter"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
+ <jmxAgent id="jmx" disabled="true"/>
+
<properties>
<property key="CamelLogDebugBodyMaxChars" value="20"/>
</properties>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationBuilderIdOrPatternTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationBuilderIdOrPatternTest.xml
index f8b4d43f2f1..59d160f62cd 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationBuilderIdOrPatternTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationBuilderIdOrPatternTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeConfiguration id="handleError">
<onException>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationExternalTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationExternalTest.xml
index c83f58ede7a..735993f2d07 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationExternalTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/SpringRoutesConfigurationExternalTest.xml
@@ -38,6 +38,7 @@
</routeConfigurationContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- refer to external snippet -->
<routeConfigurationContextRef ref="myConf"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/beanAsEndpoint.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/beanAsEndpoint.xml
index fff1c05f332..9174f7717ce 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/beanAsEndpoint.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/beanAsEndpoint.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="bean:myBean"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/processorAsEndpoint.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/processorAsEndpoint.xml
index 80e606a02f9..e5b39ff9975 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/processorAsEndpoint.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/bind/processorAsEndpoint.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
<bean id="myProcessor" class="org.apache.camel.spring.bind.ProcessorStub"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/camelGlobalOptions.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/camelGlobalOptions.xml
index c3747c91615..f0ccb30dd38 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/camelGlobalOptions.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/camelGlobalOptions.xml
@@ -30,6 +30,7 @@
<globalOption key="KEY_2" value="VALUE_2" />
<globalOption key="KEY_3" value="VALUE_3" />
</globalOptions>
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start" />
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallConfigurationTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallConfigurationTest.xml
index 4cd4651faa9..c1f2cc0ab28 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallConfigurationTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallConfigurationTest.xml
@@ -26,6 +26,7 @@
http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<serviceCallConfiguration id="conf1">
<staticServiceDiscovery>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallFilterTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallFilterTest.xml
index fccbd88bca2..a5d6a7d8fc9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallFilterTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/cloud/ServiceCallFilterTest.xml
@@ -26,6 +26,7 @@
http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptSendToEndpoint uri="file:*" skipSendToOriginalEndpoint="true">
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAlreadyExistTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAlreadyExistTest-context.xml
index f06cb0bd64e..706d2c6255d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAlreadyExistTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAlreadyExistTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<consumerTemplate id="myConsumerTemplate"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAutoRegisterTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAutoRegisterTest-context.xml
index 4f8385a0e05..5e2faede865 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAutoRegisterTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateAutoRegisterTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateHasTwoTemplatesTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateHasTwoTemplatesTest-context.xml
index 6a07a64e9e9..6c64a7e292d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateHasTwoTemplatesTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateHasTwoTemplatesTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<consumerTemplate id="myTemplate"/>
<consumerTemplate id="myOtherTemplate"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateMaximumCacheSizeTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateMaximumCacheSizeTest-context.xml
index 2811e17fc67..9795fb07c24 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateMaximumCacheSizeTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ConsumerTemplateMaximumCacheSizeTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<consumerTemplate id="template" maximumCacheSize="50"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DeadLetterChannelRedeliveryConfigTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DeadLetterChannelRedeliveryConfigTest-context.xml
index dfe7218c292..0671045c8c6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DeadLetterChannelRedeliveryConfigTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DeadLetterChannelRedeliveryConfigTest-context.xml
@@ -25,6 +25,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="myTemplate"/>
<!-- set the errorHandlerRef to our DeadLetterChannel, this applies for this route only -->
<route errorHandlerRef="myDeadLetterErrorHandler">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DefaultErrorHandlerConfigTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DefaultErrorHandlerConfigTest-context.xml
index 9e3723739a0..ed2aba471b8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DefaultErrorHandlerConfigTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DefaultErrorHandlerConfigTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="myTemplate"/>
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DependencyInjectCamelTemplateTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DependencyInjectCamelTemplateTest-context.xml
index 936fec6f551..239be32059a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DependencyInjectCamelTemplateTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/DependencyInjectCamelTemplateTest-context.xml
@@ -27,6 +27,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="myTemplate" defaultEndpoint="mock:results"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/EndpointUriSetFromSpringTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/EndpointUriSetFromSpringTest-context.xml
index 21e24160804..3b97d4ddba1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/EndpointUriSetFromSpringTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/EndpointUriSetFromSpringTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
<bean name="foo:bar" class="org.apache.camel.component.mock.MockEndpoint"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ErrorHandlerRouteContextRefNotFoundTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ErrorHandlerRouteContextRefNotFoundTest.xml
index 201ede6f5fe..7d4495df6e4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ErrorHandlerRouteContextRefNotFoundTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ErrorHandlerRouteContextRefNotFoundTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="seda:a"/>
<to uri="seda:b"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/FluentProducerTemplateAutoRegisterTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/FluentProducerTemplateAutoRegisterTest-context.xml
index 4f8385a0e05..5e2faede865 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/FluentProducerTemplateAutoRegisterTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/FluentProducerTemplateAutoRegisterTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OnExceptionNoExceptionConfiguredTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OnExceptionNoExceptionConfiguredTest.xml
index 2c56ef292d6..badc9ca6042 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OnExceptionNoExceptionConfiguredTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OnExceptionNoExceptionConfiguredTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<handled>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnException.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnException.xml
index fee55a05468..24f81fad170 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnException.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnException.xml
@@ -48,6 +48,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="oneRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndDLCErrorHandler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndDLCErrorHandler.xml
index a741ac1549f..18abaff2e65 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndDLCErrorHandler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndDLCErrorHandler.xml
@@ -48,6 +48,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel"/>
<routeContextRef ref="oneRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndTwoDLCErrorHandler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndTwoDLCErrorHandler.xml
index a2a0baddb3c..0696f147c65 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndTwoDLCErrorHandler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefOnExceptionAndTwoDLCErrorHandler.xml
@@ -48,6 +48,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel"/>
<errorHandler id="dlc2" deadLetterUri="mock:dead2" type="DeadLetterChannel"/>
<routeContextRef ref="oneRoutes"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnException.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnException.xml
index aa4c1576f15..f71e6135a4b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnException.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnException.xml
@@ -48,6 +48,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="oneRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnExceptionAndDLCErrorHandler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnExceptionAndDLCErrorHandler.xml
index 5be9fbbe798..5e68e740d11 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnExceptionAndDLCErrorHandler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/OneRouteRefReverseOnExceptionAndDLCErrorHandler.xml
@@ -48,6 +48,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel"/>
<routeContextRef ref="oneRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/PackageResolverTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/PackageResolverTest.xml
index 1769eda2c94..146b1587ff5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/PackageResolverTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/PackageResolverTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAlreadyExistTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAlreadyExistTest-context.xml
index 6fece448e4c..52efb012feb 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAlreadyExistTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAlreadyExistTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="myTemplate"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterBeanIdExistsTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterBeanIdExistsTest-context.xml
index 6712903d33f..992420d01d9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterBeanIdExistsTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterBeanIdExistsTest-context.xml
@@ -28,6 +28,7 @@
<bean id="template" class="org.apache.camel.spring.example.DummyBean"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterTest-context.xml
index 4f8385a0e05..5e2faede865 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateAutoRegisterTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateHasTwoTemplatesTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateHasTwoTemplatesTest-context.xml
index 5ac6fc9dc89..8d60a13c601 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateHasTwoTemplatesTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateHasTwoTemplatesTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="myTemplate"/>
<template id="myOtherTemplate"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateMaximumCacheSizeTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateMaximumCacheSizeTest-context.xml
index d49ef74e809..066228b7bb7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateMaximumCacheSizeTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/ProducerTemplateMaximumCacheSizeTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="template" maximumCacheSize="50" defaultEndpoint="mock:cool"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupFalseTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupFalseTest.xml
index eb2a92f31e4..ac8e1270bc1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupFalseTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupFalseTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder location="classpath:org/apache/camel/spring/config/route.properties" id="properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" autoStartup="{{cool.foo.startup}}">
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupTrueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupTrueTest.xml
index e5153b671f6..3934a9f1284 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupTrueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteAutoStartupTrueTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder location="classpath:org/apache/camel/spring/config/route.properties" id="properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route id="bar" autoStartup="{{cool.bar.startup}}">
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefIncludeXmlFileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefIncludeXmlFileTest.xml
index bc986b671a9..20c2eac13a1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefIncludeXmlFileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefIncludeXmlFileTest.xml
@@ -29,6 +29,7 @@
<import resource="myCoolRoutes.xml"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- refer to a given route to be used -->
<routeContextRef ref="myCoolRoutes"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRefsTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRefsTest.xml
index 8052e284b09..2d7bf0267aa 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRefsTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRefsTest.xml
@@ -42,6 +42,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- we can include multiple route contexts -->
<routeContextRef ref="myCoolRoute"/>
<routeContextRef ref="myOtherRoute"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRoutesTest.xml
index e26aa46ab32..85d433b882c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefMultipleRoutesTest.xml
@@ -39,6 +39,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- refer to a given route to be used -->
<routeContextRef ref="myCoolRoutes"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefPropertyPlaceholderMultipleCamelContextRefsTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefPropertyPlaceholderMultipleCamelContextRefsTest.xml
index c28c43e1868..d87ca52be80 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefPropertyPlaceholderMultipleCamelContextRefsTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefPropertyPlaceholderMultipleCamelContextRefsTest.xml
@@ -33,11 +33,13 @@
<camelContext id="myCamel-1" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties1" location="mycamel-1.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="myCoolRoute"/>
</camelContext>
<camelContext id="myCamel-2" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties2" location="mycamel-2.properties"/>
+ <jmxAgent id="jmx2" disabled="true"/>
<routeContextRef ref="myCoolRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefTest.xml
index ac0df3836e9..e1eb34b1633 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/RouteRefTest.xml
@@ -33,6 +33,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- refer to a given route context to be included -->
<routeContextRef ref="myCoolRoute"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextCustomDefaultThreadPoolProfileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextCustomDefaultThreadPoolProfileTest.xml
index cdb488724c8..bd7157f02d0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextCustomDefaultThreadPoolProfileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextCustomDefaultThreadPoolProfileTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define the default thread profile settings -->
<threadPoolProfile id="customDefault" defaultProfile="true"
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextNoDependsOnTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextNoDependsOnTest.xml
index 9e32fb6f473..6b591bb4b1e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextNoDependsOnTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextNoDependsOnTest.xml
@@ -31,6 +31,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="myRouteBuilder"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml
index d71b31e4f46..966f33f6667 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringCamelContextThreadPoolProfilesWithPlaceholderTest.xml
@@ -28,6 +28,8 @@
<propertyPlaceholder id="properties" location="org/apache/camel/spring/config/pool.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
+
<!-- define a low profile -->
<threadPoolProfile id="low"
poolSize="{{low.min}}"
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringErrorHandlerConfigTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringErrorHandlerConfigTest.xml
index e25f57a07bc..a9225875368 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringErrorHandlerConfigTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringErrorHandlerConfigTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="defaultEH">
<redeliveryPolicy maximumRedeliveries="2" redeliveryDelay="1000" asyncDelayedRedelivery="true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedPrototypeBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedPrototypeBeanTest.xml
index 9dbe5bac88c..3969a40fa47 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedPrototypeBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedPrototypeBeanTest.xml
@@ -27,6 +27,7 @@
<bean id="myProducerBean" class="org.apache.camel.spring.config.MyProduceBean" scope="prototype"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedSingletonBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedSingletonBeanTest.xml
index aa233f84f99..e1b7782467f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedSingletonBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringProduceInjectedSingletonBeanTest.xml
@@ -27,6 +27,7 @@
<bean id="myProducerBean" class="org.apache.camel.spring.config.MyProduceBean" scope="singleton"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoFromTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoFromTest.xml
index 22a4dc79d8b..8ae892843b1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoFromTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoFromTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- this route has no from -->
<route id="myRoute">
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoOutputTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoOutputTest.xml
index 4ad0a819f20..0eeb4fb2314 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoOutputTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/SpringRouteNoOutputTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- this route has no outputs -->
<route id="myRoute">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnException.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnException.xml
index f6410faf117..54650860047 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnException.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnException.xml
@@ -50,6 +50,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="fooRoute"/>
<routeContextRef ref="barRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnExceptionAndDLCErrorHandler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnExceptionAndDLCErrorHandler.xml
index 366a7ccdc95..667ced8073b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnExceptionAndDLCErrorHandler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefOnExceptionAndDLCErrorHandler.xml
@@ -50,6 +50,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel"/>
<routeContextRef ref="fooRoute"/>
<routeContextRef ref="barRoute"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnException.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnException.xml
index 8ec247da096..a13a3fdf624 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnException.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnException.xml
@@ -50,6 +50,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="barRoute"/>
<routeContextRef ref="fooRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnExceptionAndDLCErrorHandler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnExceptionAndDLCErrorHandler.xml
index 0fd60e608ab..397b7498731 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnExceptionAndDLCErrorHandler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/TwoRouteRefReverseOnExceptionAndDLCErrorHandler.xml
@@ -50,6 +50,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel"/>
<routeContextRef ref="barRoute"/>
<routeContextRef ref="fooRoute"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/routeBuilderRef2.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/routeBuilderRef2.xml
index 92d3b7d4197..b83865709d3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/routeBuilderRef2.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/routeBuilderRef2.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="configuredRouteBuilder2"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/scan/explicitlyDefinedRouteExclusion.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/scan/explicitlyDefinedRouteExclusion.xml
index beecf7c7751..c2a9cd09e2b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/scan/explicitlyDefinedRouteExclusion.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/config/scan/explicitlyDefinedRouteExclusion.xml
@@ -28,6 +28,7 @@
http://www.springframework.org/schema/context/spring-context.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="start" uri="direct:start"/>
<endpoint id="result" uri="mock:end"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/debug/applicationContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/debug/applicationContext.xml
index 5ce9214f9ca..010df6d6c47 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/debug/applicationContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/debug/applicationContext.xml
@@ -24,6 +24,7 @@
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<filter id="f1">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/contentBasedRoute.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/contentBasedRoute.xml
index af37d8804d1..4427a90db3c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/contentBasedRoute.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/contentBasedRoute.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/expressionTrim.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/expressionTrim.xml
index 3755241bba5..74d2a5dd7f7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/expressionTrim.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/expressionTrim.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<transform>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/fooEventRoute.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/fooEventRoute.xml
index d16b7631b22..f5ef0963767 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/fooEventRoute.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/fooEventRoute.xml
@@ -31,6 +31,7 @@
<bean id="consumer2" class="org.apache.camel.spring.example.AnotherFooEventConsumer"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define a shared endpoint which the consumers can refer to instead of using url -->
<endpoint id="foo" uri="seda:foo?multipleConsumers=true"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoConsumer.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoConsumer.xml
index ce737a1333a..86a0b2f8ae5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoConsumer.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoConsumer.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
<!-- END SNIPPET: example -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoVmConsumer.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoVmConsumer.xml
index c8a8bb0f909..1d6e0c96bf9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoVmConsumer.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/pojoVmConsumer.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
<!-- END SNIPPET: example -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/simpleRoute.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/simpleRoute.xml
index 60441124810..20cc1077c2f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/simpleRoute.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/simpleRoute.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/xpathFilter.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/xpathFilter.xml
index f18fa58e898..e3298ff2d2b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/xpathFilter.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/example/xpathFilter.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileAntPathMatcherFileFilterTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileAntPathMatcherFileFilterTest-context.xml
index ef4a74a30ee..2422cdf758b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileAntPathMatcherFileFilterTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileAntPathMatcherFileFilterTest-context.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="camelTemplate"/>
<!-- use myFilter as filter to allow setting ANT paths for which files to scan for -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.xml
index 95d29cf4fd7..1ac2f0e1152 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/SpringFileConsumerPreMoveIssueTest?initialDelay=0&delay=10&preMove=before/${file:name.noext}-moved.${file:ext}"/>
<process ref="checker"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveTest.xml
index 0483c4194be..25efa10b2bd 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileConsumerPreMoveTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/SpringFileConsumerPreMoveTest?initialDelay=0&delay=10&preMove=work/work-${file:name}"/>
<process ref="checker"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileLanguageCBRTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileLanguageCBRTest.xml
index a7f4ca43bda..5829f0fbca0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileLanguageCBRTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileLanguageCBRTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/SpringFileLanguageCBRTest?initialDelay=0&delay=10&delete=true"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileRouteTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileRouteTest-context.xml
index 9c6b008bea8..8fbc6a45bea 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileRouteTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringFileRouteTest-context.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="camelTemplate"/>
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringSimpleFileNameWithQuoteTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringSimpleFileNameWithQuoteTest-context.xml
index b336ce00e37..7395df31595 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringSimpleFileNameWithQuoteTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/file/SpringSimpleFileNameWithQuoteTest-context.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/SpringSimpleFileNameWithQuoteTest?initialDelay=0&delay=10"/>
<setHeader name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/health/HealthCheckRegistryTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/health/HealthCheckRegistryTest.xml
index aa11fb92d6a..7bbf796fab8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/health/HealthCheckRegistryTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/health/HealthCheckRegistryTest.xml
@@ -28,6 +28,7 @@
<bean id="hc-repo-routes" class="org.apache.camel.impl.health.RoutesHealthCheckRepository"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo">
<from uri="direct:start"/>
<to uri="mock:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRefDataFormatTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRefDataFormatTest.xml
index 3cccc04a1fc..c47500929d9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRefDataFormatTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRefDataFormatTest.xml
@@ -29,6 +29,7 @@
<bean id="reverse" class="org.apache.camel.impl.RefDataFormatTest$MyReverseDataFormat"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<marshal>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyFactoryTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyFactoryTest.xml
index 1c9258e4e17..c7ca6aba463 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyFactoryTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyFactoryTest.xml
@@ -29,6 +29,7 @@
<bean id="myRoutePolicyFactory" class="org.apache.camel.impl.RoutePolicyFactoryTest$MyRoutePolicyFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo-route">
<from uri="direct:foo"/>
<to uri="mock:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyRefCallbackTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyRefCallbackTest.xml
index 881375af58b..78269b45ca8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyRefCallbackTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringRoutePolicyRefCallbackTest.xml
@@ -27,6 +27,7 @@
<bean id="myPolicy" class="org.apache.camel.impl.RoutePolicyCallbackTest$MyRoutePolicy"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" routePolicyRef="myPolicy">
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringSupervisingRouteControllerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringSupervisingRouteControllerTest.xml
index 54a1bdaa492..e497fc586a3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringSupervisingRouteControllerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/SpringSupervisingRouteControllerTest.xml
@@ -27,6 +27,7 @@
<bean id="jms" class="org.apache.camel.spring.impl.SpringSupervisingRouteControllerTest.MyJmsComponent"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeController id="myController"
supervising="true" initialDelay="100" threadPoolSize="2" backOffDelay="25" backOffMaxAttempts="3"/>
<route id="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/converter/SpringTypeConvertersTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/converter/SpringTypeConvertersTest.xml
index 6f0b2454cfb..30cda20ef0e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/converter/SpringTypeConvertersTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/converter/SpringTypeConvertersTest.xml
@@ -29,6 +29,7 @@
<!-- we just have an empty CamelContext as we test the converters without routes -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/transformer/SpringTransformerRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/transformer/SpringTransformerRouteTest.xml
index 319600d9bfe..f3aea9ab29f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/transformer/SpringTransformerRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/transformer/SpringTransformerRouteTest.xml
@@ -32,6 +32,7 @@
<bean id="myMyDataTypeFormatDef" class="org.apache.camel.processor.transformer.TransformerRouteTest$MyDataFormatDefinition"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="myXmlEndpoint" uri="direct:endpointXmlTransformer"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/validator/SpringValidatorRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/validator/SpringValidatorRouteTest.xml
index d0802f70a44..a9d222a6fb8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/validator/SpringValidatorRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/impl/validator/SpringValidatorRouteTest.xml
@@ -27,7 +27,8 @@
<bean id="myxml" class="org.apache.camel.processor.validator.ValidatorRouteTest.MyXmlComponent"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
-
+ <jmxAgent id="jmx" disabled="true"/>
+
<validators>
<predicateValidator type="json"><simple>${body} contains '{name:XOrder'</simple></predicateValidator>
<endpointValidator type="xml:XmlXOrderResponse" uri="myxml:endpoint"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/injectedBean.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/injectedBean.xml
index 246950bf774..39f6ea626c5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/injectedBean.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/injectedBean.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="namedEndpoint1" uri="direct:namedEndpoint1"/>
<endpoint id="injectByFieldName" uri="direct:injectByFieldName"/>
<endpoint id="injectByPropertyName" uri="direct:injectByPropertyName"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.xml
index e3f66cf9ab0..2994aee7954 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesContextScopedOnExceptionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.Exception</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesOnExceptionTest.xml
index 70f0dd425b5..1d1ce864f77 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesOnExceptionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="a">
<from uri="direct:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesTest.xml
index 0d625d67745..aca52e343db 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/SpringAdviceWithTwoRoutesTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="a">
<from uri="direct:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/mixedStreamCachingInterceptorTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/mixedStreamCachingInterceptorTest.xml
index 02d5326189f..d8d4ebcba8e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/mixedStreamCachingInterceptorTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/mixedStreamCachingInterceptorTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- this route has stream cache enabled -->
<route streamCache="true">
<from uri="direct:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/noStreamCachingInterceptorTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/noStreamCachingInterceptorTest.xml
index ee6e3b9011f..44ad7d9a8e1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/noStreamCachingInterceptorTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/noStreamCachingInterceptorTest.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: e1 -->
<!-- stream cache is disabled by default -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceMinimalConfiguration.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceMinimalConfiguration.xml
index 74ba262bddb..6c5797f4d69 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceMinimalConfiguration.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceMinimalConfiguration.xml
@@ -45,6 +45,7 @@
<!-- START SNIPPET: e2 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:okay"/>
<!-- we mark this route as transacted. Camel will lookup the spring transaction manager
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceUsingTransacted.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceUsingTransacted.xml
index 891b3c2ccba..0d39f773701 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceUsingTransacted.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataSourceUsingTransacted.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:okay"/>
<transacted/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithOnExceptionAndRollbackUsingTransacted.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithOnExceptionAndRollbackUsingTransacted.xml
index aa6518e5c57..ea9c951158c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithOnExceptionAndRollbackUsingTransacted.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithOnExceptionAndRollbackUsingTransacted.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithRouteScopedOnExceptionAndRollbackUsingTransacted.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithRouteScopedOnExceptionAndRollbackUsingTransacted.xml
index 81247cfee44..8d40dc5ab12 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithRouteScopedOnExceptionAndRollbackUsingTransacted.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/springTransactionalClientDataWithRouteScopedOnExceptionAndRollbackUsingTransacted.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:okay"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientDataSourceWithSpringRouteBuilder.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientDataSourceWithSpringRouteBuilder.xml
index d40e3e27d32..4e13f7d99c8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientDataSourceWithSpringRouteBuilder.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientDataSourceWithSpringRouteBuilder.xml
@@ -27,6 +27,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<package>org.apache.camel.spring.interceptor.route</package>
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientWithAnnotatedBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientWithAnnotatedBeanTest.xml
index 01ec9c232e8..08c4e1506c2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientWithAnnotatedBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/interceptor/transactionalClientWithAnnotatedBeanTest.xml
@@ -46,6 +46,7 @@
<bean id="bookService" class="org.apache.camel.spring.interceptor.AnnotatedBookServiceImpl"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="annotatedRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CamelRouteRefInjectionIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CamelRouteRefInjectionIssueTest.xml
index c5e483b9325..9e5b1e72bd6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CamelRouteRefInjectionIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CamelRouteRefInjectionIssueTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="myRoute"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml
index e1ced9d5a1c..cc973a9251c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
index c4fb1471c59..30d3a3a1ce2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml
index e3af6220323..14843b622e1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
index ebf63bcea95..700d5dec6ef 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/ContextScopedSpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CustomIdIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CustomIdIssueTest.xml
index baba9e24aa7..a8c389a74c7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CustomIdIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/CustomIdIssueTest.xml
@@ -25,6 +25,7 @@
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route customId="true" id="myRoute" description="here is a sample which processes the input files (leaving them in place - see the 'noop' flag) then performs content based routing on the message using XPath">
<from uri="file:src/data?initialDelay=0&delay=10&noop=true" customId="true" id="fromFile"/>
<choice customId="true" id="myChoice">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/FileWireTapWithXMLPayloadIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/FileWireTapWithXMLPayloadIssueTest.xml
index 574aeafc61f..54d80f19421 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/FileWireTapWithXMLPayloadIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/FileWireTapWithXMLPayloadIssueTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/FileWireTapWithXMLPayloadIssueTest?initialDelay=0&delay=10"/>
<convertBodyTo type="java.lang.String"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RedeliveryErrorHandlerTwoXmlFilesIssueTest-1.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RedeliveryErrorHandlerTwoXmlFilesIssueTest-1.xml
index 872af4a2660..cd754bfd65e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RedeliveryErrorHandlerTwoXmlFilesIssueTest-1.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RedeliveryErrorHandlerTwoXmlFilesIssueTest-1.xml
@@ -31,6 +31,7 @@
<bean id="counter" class="org.apache.camel.spring.issues.RedeliveryErrorHandlerTwoXmlFilesIssueTest.OnRedeliveryCounter"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="myErrorHandler">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RouteIdAutoAssignClashIssue.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RouteIdAutoAssignClashIssue.xml
index 92952783db0..06ac9ca7950 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RouteIdAutoAssignClashIssue.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/RouteIdAutoAssignClashIssue.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="route1">
<from uri="direct:start1"/>
<to uri="mock:start1"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithRouteScopedErrorHandlerIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithRouteScopedErrorHandlerIssueTest.xml
index 5f09c57cd81..24221ab11bf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithRouteScopedErrorHandlerIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithRouteScopedErrorHandlerIssueTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- dead letter channel -->
<errorHandler id="myDLC" deadLetterUri="mock:error" type="DeadLetterChannel"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithTwoRoutesOnExceptionIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithTwoRoutesOnExceptionIssueTest.xml
index ca70d5196c4..1b8ae4ebac8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithTwoRoutesOnExceptionIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringAdviceWithTwoRoutesOnExceptionIssueTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.Exception</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringCharlesSplitAndTryCatchRollbackIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringCharlesSplitAndTryCatchRollbackIssueTest.xml
index abf9d2a0308..e2526281350 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringCharlesSplitAndTryCatchRollbackIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringCharlesSplitAndTryCatchRollbackIssueTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.issues.CharlesSplitAndTryCatchRollbackIssueTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split stopOnException="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInitializationIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInitializationIssueTest.xml
index 57afc53e54b..3842121fb53 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInitializationIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInitializationIssueTest.xml
@@ -53,6 +53,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeBuilder ref="sampleRouteBuilder1"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanCamelContextScanIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanCamelContextScanIssueTest.xml
index 4caee5f16b3..c0687f5f0ea 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanCamelContextScanIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanCamelContextScanIssueTest.xml
@@ -32,6 +32,7 @@
<packageScan>
<package>org.apache.camel.spring.issues.contextscan3</package>
</packageScan>
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanIssueTest.xml
index 0cfaa6aecb1..01691da56d8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringInstanceFactoryBeanIssueTest.xml
@@ -29,6 +29,7 @@
<bean id="myHelloBean" factory-bean="factoryBean" factory-method="createMyHelloBean"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<bean ref="myHelloBean" method="hello"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringMultipleErrorHandlerOnExceptionIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringMultipleErrorHandlerOnExceptionIssueTest.xml
index df24396da0d..94b5ea7d669 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringMultipleErrorHandlerOnExceptionIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringMultipleErrorHandlerOnExceptionIssueTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlcA" type="DeadLetterChannel" deadLetterUri="mock:dead.a" redeliveryPolicyRef="redeliveryPolicyA"/>
<errorHandler id="dlcB" type="DeadLetterChannel" deadLetterUri="mock:dead.b" redeliveryPolicyRef="redeliveryPolicyB"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml
index 2bf55715f8a..d837f1fd6bf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
index a4c715737bc..fcca93aaa44 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml
index 8347dfd145e..e92bdad809b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
index 28067a18b37..80926cae5bd 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringOnExceptionRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPackageTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPackageTest.xml
index da17e494584..4fdf1c59330 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPackageTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPackageTest.xml
@@ -34,6 +34,7 @@
<excludes>**/*MyCoolRoute*</excludes>
<excludes>*contextscan*</excludes>
</packageScan>
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertiesAvailableEverywhereTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertiesAvailableEverywhereTest.xml
index c7eded6f3fc..8f229d242ab 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertiesAvailableEverywhereTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertiesAvailableEverywhereTest.xml
@@ -34,6 +34,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="ref:prop"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:header-start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertyPlaceholderIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertyPlaceholderIssueTest.xml
index 606bae5a371..62fd3be8584 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertyPlaceholderIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringPropertyPlaceholderIssueTest.xml
@@ -30,6 +30,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- use $simple{ start token in the fileName parameter
to avoid clash with spring property placeholder. However we can still use
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringRouteContextOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringRouteContextOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
index 2ef10cf988c..a394890adac 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringRouteContextOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringRouteContextOnExceptionNotHandledRouteScopedErrorHandlerRefIssueTwoRoutesTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler type="DeadLetterChannel" id="myDLC" deadLetterUri="mock:dead"/>
<routeContextRef ref="myRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringSingletonScopedBeanIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringSingletonScopedBeanIssueTest.xml
index ac8d154d9c3..843c3a16d34 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringSingletonScopedBeanIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringSingletonScopedBeanIssueTest.xml
@@ -27,6 +27,7 @@
<bean id="myBean" class="org.apache.camel.spring.issues.MyStatefulBean" scope="singleton"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="bean:myBean?method=doSomething"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringTryCatchWithSplitIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringTryCatchWithSplitIssueTest.xml
index d0011ad568b..3937f6a9ff8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringTryCatchWithSplitIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/SpringTryCatchWithSplitIssueTest.xml
@@ -27,6 +27,7 @@
<bean id="error" class="org.apache.camel.issues.TryCatchWithSplitIssueTest$GenerateError"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split><tokenize token="@"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan/SpringRouteIsComponentAnnotatedTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan/SpringRouteIsComponentAnnotatedTest.xml
index 6245d465dfc..e9ed85ff3e4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan/SpringRouteIsComponentAnnotatedTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan/SpringRouteIsComponentAnnotatedTest.xml
@@ -33,6 +33,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<!-- and then let Camel use those @Component scanned route builders -->
<contextScan/>
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
<!-- END SNIPPET: e1 -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan2/SpringRouteIsComponentAnnotated2Test.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan2/SpringRouteIsComponentAnnotated2Test.xml
index 568634860ee..714fd2fe031 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan2/SpringRouteIsComponentAnnotated2Test.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/contextscan2/SpringRouteIsComponentAnnotated2Test.xml
@@ -35,6 +35,7 @@
<!-- and you can use includes/excludes to filter which classes to match -->
<includes>org.apache.camel.spring.issues.contextscan2.*</includes>
</contextScan>
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/packagescan/camelContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/packagescan/camelContext.xml
index 7079558c755..24c3e113ee9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/packagescan/camelContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/issues/packagescan/camelContext.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<package>org.apache.camel.spring.issues.packagescan</package>
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo">
<from uri="direct:foo"/>
<to uri="mock:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/jmxConfigUsingProperties.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/jmxConfigUsingProperties.xml
index 67d900df2a9..5557e7c574f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/jmxConfigUsingProperties.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/jmxConfigUsingProperties.xml
@@ -28,7 +28,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/spring/jmx.properties"/>
- <!-- we can use propery placeholders when we define the JMX agent -->
+ <!-- we can use property placeholders when we define the JMX agent -->
<jmxAgent id="agent" disabled="{{myjmx.disabled}}"
usePlatformMBeanServer="{{myjmx.usePlatform}}"
statisticsLevel="RoutesOnly"
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/lifecycleStrategyInjection.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/lifecycleStrategyInjection.xml
index 00db0dfdd41..a5e34de36ea 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/lifecycleStrategyInjection.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/lifecycleStrategyInjection.xml
@@ -27,6 +27,7 @@
<bean id="lifecycleStrategy" class="org.apache.camel.spring.DummyLifecycleStrategy"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/camel-route.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/camel-route.xml
index d69fedf2219..7300b01747d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/camel-route.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/camel-route.xml
@@ -28,6 +28,7 @@
<!-- tag::e1[] -->
<!-- this camel route is in the camel-route.xml file -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/spring.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/spring.xml
index 6acaeb5a7cd..a22ecf12eb0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/spring.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/mock/spring.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file:src/test/data?initialDelay=0&delay=10&noop=true"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/patterns/FilterTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/patterns/FilterTest-context.xml
index 0541bd1ed52..59a86b627c0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/patterns/FilterTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/patterns/FilterTest-context.xml
@@ -28,6 +28,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/pollingconsumer/FileConsumerSpringSchedulerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/pollingconsumer/FileConsumerSpringSchedulerTest.xml
index 35c2e891226..40259e361a5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/pollingconsumer/FileConsumerSpringSchedulerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/pollingconsumer/FileConsumerSpringSchedulerTest.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" autoStartup="false">
<from uri="file:target/data/FileConsumerSpringSchedulerTest?scheduler=spring&scheduler.cron=0/2+*+*+*+*+?"/>
<to uri="log:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/postprocessor/camelCustomPostProcessorOnRouteBuilderTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/postprocessor/camelCustomPostProcessorOnRouteBuilderTest.xml
index 195f4b4f6cd..9931e67a575 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/postprocessor/camelCustomPostProcessorOnRouteBuilderTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/postprocessor/camelCustomPostProcessorOnRouteBuilderTest.xml
@@ -29,6 +29,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
<package>org.apache.camel.spring.postprocessor</package>
+ <jmxAgent id="jmx" disabled="true"/>
</camelContext>
</beans>
\ No newline at end of file
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerAllowDuplicatesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerAllowDuplicatesTest.xml
index a6414e1e4c3..85f3d444d53 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerAllowDuplicatesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerAllowDuplicatesTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<resequence>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerJMSPriorityTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerJMSPriorityTest.xml
index 6a527a7cb7d..15361bf4f09 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerJMSPriorityTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/BatchResequencerJMSPriorityTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- sort by JMSPriority by allowing duplicates (message can have same JMSPriority)
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CBRHeaderPredicateTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CBRHeaderPredicateTest.xml
index 96b123a97ce..a66ea0cd975 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CBRHeaderPredicateTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CBRHeaderPredicateTest.xml
@@ -27,6 +27,7 @@
<bean id="cbrBean" class="org.apache.camel.processor.CBRHeaderPredicateTest$MyCBRBean"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetAndRemoveSetTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetAndRemoveSetTest.xml
index 2d5e64344a5..dfea13068db 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetAndRemoveSetTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetAndRemoveSetTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetSetTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetSetTest.xml
index 8c5483678e0..1dfdb9b0870 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetSetTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipGetSetTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopBodyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopBodyTest.xml
index 33a2672348f..4bfb2504cf6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopBodyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopBodyTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersPatternTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersPatternTest.xml
index b1ec4c43a87..f89063443c5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersPatternTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersPatternTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersTest.xml
index 4c4db6ab30e..8ad1dd01461 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopHeadersTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopRemoveHeaderTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopRemoveHeaderTest.xml
index 94d6e34d715..79ea5ef7bd0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopRemoveHeaderTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopRemoveHeaderTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setHeader name="bar">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopTest.xml
index 049986b6f45..21b9d23ed38 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ClaimCheckEipPushPopTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CustomProcessorFactoryTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CustomProcessorFactoryTest.xml
index 0247242c928..6ba09ceb5bd 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CustomProcessorFactoryTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/CustomProcessorFactoryTest.xml
@@ -31,6 +31,7 @@
<bean id="customFactory" class="org.apache.camel.processor.CustomProcessorFactoryTest$MyFactory"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- a simple route -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DoubleLoadBalancerMisconfigurationTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DoubleLoadBalancerMisconfigurationTest.xml
index f1065c6bd48..5c6b062f92a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DoubleLoadBalancerMisconfigurationTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DoubleLoadBalancerMisconfigurationTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/EventNotifierExchangeSentExampleTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/EventNotifierExchangeSentExampleTest.xml
index d1ea4a876e2..1075bbff6af 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/EventNotifierExchangeSentExampleTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/EventNotifierExchangeSentExampleTest.xml
@@ -28,6 +28,7 @@
<bean id="myLoggingEventNotifier" class="org.apache.camel.processor.MyLoggingSentEventNotifer"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailOverLoadBalanceAutoStartupFalseTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailOverLoadBalanceAutoStartupFalseTest.xml
index 7566a8bfbae..a7ccdd963d4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailOverLoadBalanceAutoStartupFalseTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailOverLoadBalanceAutoStartupFalseTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" autoStartup="false">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverMaximumFailoverAttemptsTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverMaximumFailoverAttemptsTest.xml
index 009b56b8aaa..b91a976e6f8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverMaximumFailoverAttemptsTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverMaximumFailoverAttemptsTest.xml
@@ -37,6 +37,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinStickyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinStickyTest.xml
index 1975a0edcf6..54470b16fb1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinStickyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinStickyTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinTest.xml
index 204e512e3b2..eb429d37762 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/FailoverRoundRobinTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerDefaultTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerDefaultTest.xml
index 1052b758436..a2d52f7d2a1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerDefaultTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerDefaultTest.xml
@@ -37,6 +37,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.InheritErrorHandlerDefaultTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="errorHandler">
<from uri="direct:start"/>
<process ref="myProcessor"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerFalseTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerFalseTest.xml
index d2c97577d10..cbd51ba1413 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerFalseTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerFalseTest.xml
@@ -37,6 +37,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.InheritErrorHandlerFalseTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="errorHandler">
<from uri="direct:start"/>
<process ref="myProcessor" inheritErrorHandler="false"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerTrueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerTrueTest.xml
index 79f8eb2809c..82c0c893c98 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerTrueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/InheritErrorHandlerTrueTest.xml
@@ -37,6 +37,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.InheritErrorHandlerTrueTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="errorHandler">
<from uri="direct:start"/>
<process ref="myProcessor" inheritErrorHandler="true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/MulticastOnPrepareTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/MulticastOnPrepareTest.xml
index ba8c0fde772..418eb5aecd0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/MulticastOnPrepareTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/MulticastOnPrepareTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- use on prepare with multicast -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/OnExceptionContinueToRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/OnExceptionContinueToRouteTest.xml
index a66b2bca999..f671e5a5ab7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/OnExceptionContinueToRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/OnExceptionContinueToRouteTest.xml
@@ -30,6 +30,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerProcessorTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerProcessorTest.xml
index e1804157253..7822855746b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerProcessorTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerProcessorTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerRouteTest.xml
index 9134fa0fa40..c5db4eeed45 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/PolicyPerRouteTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListAggregationStrategyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListAggregationStrategyTest.xml
index 0233136d413..40824219eb0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListAggregationStrategyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListAggregationStrategyTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList aggregationStrategy="agg">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListDoNotStopOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListDoNotStopOnExceptionTest.xml
index 99b3732e454..24da9df776f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListDoNotStopOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListDoNotStopOnExceptionTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListOnPrepareTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListOnPrepareTest.xml
index 757ed2290f0..9b3438df04b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListOnPrepareTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListOnPrepareTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList onPrepare="animalDeepClonePrepare">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListStopOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListStopOnExceptionTest.xml
index e2a710f852f..5422e06ba43 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListStopOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RecipientListStopOnExceptionTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList stopOnException="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteNoAutoStartupTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteNoAutoStartupTest.xml
index b1fec278919..38b94409ba4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteNoAutoStartupTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteNoAutoStartupTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="seda:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderSimpleTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderSimpleTest.xml
index 285be09285f..66502602255 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderSimpleTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderSimpleTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route startupOrder="2">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderTest.xml
index 1874350eb22..212e46faf08 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route startupOrder="2">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderWithDefaultTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderWithDefaultTest.xml
index 457d7b2284d..6269f0df254 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderWithDefaultTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteStartupOrderWithDefaultTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route startupOrder="2">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeFailTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeFailTest.xml
index 38787e36b70..122b459740e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeFailTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeFailTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:bar"/>
<setHeader name="Exchange.XXX">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeTest.xml
index 4e54fc74dff..e2fec10c117 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/RouteWithConstantFieldFromExchangeTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- we can refer to constant fields from Exchange like we do in Java DSL -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteAllTasksTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteAllTasksTest.xml
index 16e36eee918..8d824afd0b4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteAllTasksTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteAllTasksTest.xml
@@ -31,6 +31,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- let this route complete all its pending messages when asked to shutdown -->
<route id="foo" autoStartup="false" shutdownRunningTask="CompleteAllTasks">
<from uri="file:target/data/SpringShutdownCompleteAllTasksTest?initialDelay=0&delay=10&synchronous=true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteCurrentTaskOnlyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteCurrentTaskOnlyTest.xml
index 58489f60c70..118e35b3699 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteCurrentTaskOnlyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ShutdownCompleteCurrentTaskOnlyTest.xml
@@ -30,6 +30,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route startupOrder="1" shutdownRunningTask="CompleteCurrentTaskOnly">
<from uri="file:target/data/SpringShutdownCompleteCurrentTaskOnlyTest?initialDelay=0&delay=10&synchronous=true"/>
<delay><constant>1000</constant></delay>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SimpleProcessorIdAwareTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SimpleProcessorIdAwareTest.xml
index c67e70c6e77..122fb3a801e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SimpleProcessorIdAwareTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SimpleProcessorIdAwareTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo">
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitCustomExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitCustomExpressionTest.xml
index 7927b817bd8..9d7c645f3b5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitCustomExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitCustomExpressionTest.xml
@@ -30,6 +30,7 @@
<bean id="myExpression" class="org.apache.camel.processor.SplitCustomExpressionTest$MyCustomExpression"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupMultiLinesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupMultiLinesTest.xml
index 6cad97ce7d7..1df8713ab66 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupMultiLinesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupMultiLinesTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split streaming="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupSkipFirstTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupSkipFirstTest.xml
index 53749fffadc..a5ced745563 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupSkipFirstTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitGroupSkipFirstTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split streaming="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitterOnPrepareTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitterOnPrepareTest.xml
index 7be592b6387..32c7f4a1164 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitterOnPrepareTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SplitterOnPrepareTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split onPrepare="fixNamePrepare">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringAggregateFromWireTapTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringAggregateFromWireTapTest.xml
index 29040d3b0ae..26d4569dcb6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringAggregateFromWireTapTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringAggregateFromWireTapTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<wireTap uri="direct:tap"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.xml
index b382e784e74..c6af3e88c0d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomExpressionTest.xml
index 1dcd2da5724..0fcff8f56a6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomExpressionTest.xml
@@ -27,6 +27,7 @@
<bean id="myExpression" class="org.apache.camel.spring.processor.SpringCustomExpressionTest$MyExpression"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<transform>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomPredicateTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomPredicateTest.xml
index f1b22757e5e..16ec1fdf6b4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomPredicateTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomPredicateTest.xml
@@ -27,6 +27,7 @@
<bean id="myPredicate" class="org.apache.camel.spring.processor.SpringCustomPredicateTest$MyPredicate"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomRefLoadBalanceTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomRefLoadBalanceTest.xml
index 582d26322ef..9e6f6919f96 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomRefLoadBalanceTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringCustomRefLoadBalanceTest.xml
@@ -29,6 +29,7 @@
<bean id="myBalancer" class="org.apache.camel.processor.CustomLoadBalanceTest$MyLoadBalancer"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyNewTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyNewTest.xml
index 84d70861d07..77a9cd27ff8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyNewTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyNewTest.xml
@@ -39,6 +39,7 @@
<bean id="myThrowProcessor" class="org.apache.camel.processor.DeadLetterChannelUseOriginalInBodyTest$MyThrowProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="a">
<from uri="direct:a"/>
<setBody><simple>${in.body} World</simple></setBody>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyTest.xml
index 97f17fe3646..3ccc3374b80 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDeadLetterChannelUseOriginalBodyTest.xml
@@ -55,6 +55,7 @@
<bean id="myThrowProcessor" class="org.apache.camel.processor.DeadLetterChannelUseOriginalInBodyTest$MyThrowProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="a">
<from uri="direct:a"/>
<setBody><simple>${in.body} World</simple></setBody>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDynamicRouterTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDynamicRouterTest.xml
index 758140d3b55..50a51d429bd 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDynamicRouterTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringDynamicRouterTest.xml
@@ -28,6 +28,7 @@
<bean id="mySlip" class="org.apache.camel.processor.DynamicRouterTest"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<dynamicRouter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringEnricherAggregateOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringEnricherAggregateOnExceptionTest.xml
index 0997a6a843d..e6c990afff9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringEnricherAggregateOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringEnricherAggregateOnExceptionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<enrich aggregationStrategy="myAggregator" aggregateOnException="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringErrorHandlerRedeliveryPolicyProfileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringErrorHandlerRedeliveryPolicyProfileTest.xml
index 6fb96ca5dd1..0b8a659d598 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringErrorHandlerRedeliveryPolicyProfileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringErrorHandlerRedeliveryPolicyProfileTest.xml
@@ -30,6 +30,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define the default error handler, and refer to a redelivery policy to use -->
<errorHandler id="eh" redeliveryPolicyRef="myPolicy"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateFilterTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateFilterTest.xml
index dc1332dface..475c69f858b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateFilterTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateFilterTest.xml
@@ -30,6 +30,7 @@
<bean id="myRepo" class="org.apache.camel.support.processor.idempotent.MemoryIdempotentRepository"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- we do not want to skip any duplicate messages -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateTest.xml
index e56de371285..ba181734821 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerNoSkipDuplicateTest.xml
@@ -27,6 +27,7 @@
<bean id="myRepo" class="org.apache.camel.support.processor.idempotent.MemoryIdempotentRepository"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- we do not want to skip any duplicate messages -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerRemoveOnFailureTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerRemoveOnFailureTest.xml
index a3a7238df03..e47b32f85ef 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerRemoveOnFailureTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerRemoveOnFailureTest.xml
@@ -27,6 +27,7 @@
<bean id="exception" class="java.lang.IllegalArgumentException"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- in case of a failure, we still want to regard any message as duplicates -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerTest.xml
index cec542b3559..f5c41e5a11f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringIdempotentConsumerTest.xml
@@ -29,6 +29,7 @@
<bean id="myRepo" class="org.apache.camel.support.processor.idempotent.MemoryIdempotentRepository"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<idempotentConsumer idempotentRepository="myRepo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromEndpointRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromEndpointRefTest.xml
index e395d57de09..03c17ecc942 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromEndpointRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromEndpointRefTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="start" uri="direct:start"/>
<endpoint id="bar" uri="seda:bar"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromTest.xml
index dd8142ea68c..a02301deae6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- intercept incoming messages and route them to the mock:middle1 endpoint
before we proceed and continue routing from the point of interceptions, that
is mock:end will be the next target -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriRegexTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriRegexTest.xml
index f1e60673aae..3a45d38b78f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriRegexTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriRegexTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- intercept incoming message arriving on either seda:foo or seda:bar endpoints as we use regex -->
<interceptFrom uri="seda:(foo|bar)">
<to uri="mock:intercept"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriSimpleLogTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriSimpleLogTest.xml
index 82aada4c8b3..4faf92f775c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriSimpleLogTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriSimpleLogTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- intercept incoming message arriving on the seda:bar endpoint -->
<interceptFrom uri="seda:bar">
<to uri="mock:bar"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriWildcardTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriWildcardTest.xml
index af6cf7d995d..72e3feb21e3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriWildcardTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromUriWildcardTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- intercept incoming message arriving on any of the seda endpoints as we use * wildcard -->
<interceptFrom uri="seda:*">
<to uri="mock:intercept"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenNoStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenNoStopTest.xml
index 8438ab982f9..4019c60799a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenNoStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenNoStopTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptFrom>
<when>
<simple>${body} contains 'Goofy'</simple>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenTest.xml
index e72f5de36c4..77499c4ce8b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptFrom>
<when>
<simple>${body} contains 'Goofy'</simple>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenWithChoiceTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenWithChoiceTest.xml
index 6447d6000ee..66481c6b7c6 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenWithChoiceTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWhenWithChoiceTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptFrom>
<when>
<simple>${body} contains 'Goofy'</simple>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWithStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWithStopTest.xml
index 7c5654fb9b3..d9324eb799c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWithStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptFromWithStopTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptFrom>
<to uri="mock:middle1"/>
<stop/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteStopTest.xml
index 98d9f491620..767d6dbbeac 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteStopTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<intercept>
<to uri="mock:intercepted"/>
<!-- stop continue routing -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteTest.xml
index dcbe7d56c08..09bd1a5f554 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- here we intercept each processing step in the routing and do a detour
routing where we route the exchange to the mock:intercepted endpoint.
Think the intercept as a AOP around that is weaven around each and
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenStopTest.xml
index ffcfb163217..fa5751d222e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenStopTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<intercept>
<!-- only trigger this interceptor if the message body contains the word Hello -->
<when>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenTest.xml
index 2e6f4cd3539..23cf498ea24 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringInterceptSimpleRouteWhenTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- here we intercept each processing step in the routing and do a detour
routing where we route the exhange to the mock:intercepted endpoint.
We have applied a when predicate so the interceptor only applies
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopCopyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopCopyTest.xml
index 25cdd33ddef..0776123b944 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopCopyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopCopyTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml
index 87dc56b8fd9..d163bd94973 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopDoWhileTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: ex1 -->
<route>
<from uri="direct:simple"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopNoCopyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopNoCopyTest.xml
index d0216162cc7..66b6619400a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopNoCopyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringLoopNoCopyTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringManagedThreadsThreadPoolTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringManagedThreadsThreadPoolTest.xml
index 2d2c521320b..360647e608f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringManagedThreadsThreadPoolTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringManagedThreadsThreadPoolTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- enable JMX -->
<jmxAgent id="jmx"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml
index 6a2bbba24dd..39c351aebff 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMethodCallTest.xml
@@ -27,6 +27,7 @@
<bean id="coolBean" class="org.apache.camel.spring.processor.MyCoolBean"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setHeader name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastAggregatorTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastAggregatorTest-context.xml
index c2ce79f8f70..0dae8206d25 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastAggregatorTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastAggregatorTest-context.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<multicast aggregationStrategy="aggregatorStrategy" >
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastNoStopOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastNoStopOnExceptionTest.xml
index c6e2cbf4f91..c8eb7b76d67 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastNoStopOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastNoStopOnExceptionTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.MulticastNoStopOnExceptionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<multicast stopOnException="false">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastStopOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastStopOnExceptionTest.xml
index b1859bb7c55..3b97388edbe 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastStopOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringMulticastStopOnExceptionTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.MulticastStopOnExceptionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<multicast stopOnException="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringNestedChoiceIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringNestedChoiceIssueTest.xml
index 6a6da904e40..1534c773b38 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringNestedChoiceIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringNestedChoiceIssueTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptAndOnExceptionGlobalTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptAndOnExceptionGlobalTest.xml
index d0233069a90..0a2c8120fb0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptAndOnExceptionGlobalTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptAndOnExceptionGlobalTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.Exception</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptGlobalTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptGlobalTest.xml
index 17aa205d0a2..fb43fb0d2af 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptGlobalTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptGlobalTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onCompletion>
<to uri="log:global"/>
<to uri="mock:sync"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptTest.xml
index e25e31a5d2e..aa8d18b11c5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionAndInterceptTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<intercept>
<to uri="mock:intercept"/>
</intercept>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionCompleteAndFailureTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionCompleteAndFailureTest.xml
index 3089c9907d4..f513e947a70 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionCompleteAndFailureTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionCompleteAndFailureTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<onCompletion onCompleteOnly="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionGlobalTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionGlobalTest.xml
index 227cc0ed0bd..67101768544 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionGlobalTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionGlobalTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<!-- this is a global onCompletion route that is invoke when any exchange is complete
as a kind of after callback -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionModeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionModeTest.xml
index 817008ca8f3..0da8d36c285 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionModeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionModeTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="seda:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnCompleteOnlyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnCompleteOnlyTest.xml
index cb41a4f4c32..e037e9641e5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnCompleteOnlyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnCompleteOnlyTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnFailureOnlyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnFailureOnlyTest.xml
index dee99ff4dd5..0cb09b0bb77 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnFailureOnlyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionOnFailureOnlyTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionRouteScopeOverrideGlobalScopeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionRouteScopeOverrideGlobalScopeTest.xml
index 4ce0890b4d3..f1fb4995527 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionRouteScopeOverrideGlobalScopeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionRouteScopeOverrideGlobalScopeTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<!-- this is a global onCompletion route that is invoke when any exchange is complete
as a kind of after callback -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionTest.xml
index ef3bc6c4177..cc99cae7f9a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionUseOriginalBodyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionUseOriginalBodyTest.xml
index 561505eb65a..00a4db0616a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionUseOriginalBodyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionUseOriginalBodyTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.OnCompletionUseOriginalBodyTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onCompletion useOriginalMessage="true" parallelProcessing="true">
<to uri="mock:before"/>
<delay>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionWhenTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionWhenTest.xml
index c9f41e0d964..5bb2415702b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionWhenTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringOnCompletionWhenTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<onCompletion>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelOptionalPropertiesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelOptionalPropertiesTest.xml
index 4d0e9956fa8..922116332f5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelOptionalPropertiesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelOptionalPropertiesTest.xml
@@ -30,6 +30,7 @@
<propertyPlaceholder id="properties"
location="classpath:org/apache/camel/component/properties/myprop.properties"
xmlns="http://camel.apache.org/schema/spring"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelStreamingTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelStreamingTest.xml
index 5e5b97b1d50..7b1aa6a9712 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelStreamingTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelStreamingTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList parallelProcessing="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelTest.xml
index d84c4d01bd6..f5bb4ae8e1b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRecipientListParallelTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList parallelProcessing="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteContextProduceBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteContextProduceBeanTest.xml
index 56631a1ae7b..74c6560117b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteContextProduceBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteContextProduceBeanTest.xml
@@ -38,6 +38,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="myRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdDuplicateTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdDuplicateTest.xml
index 14499ff4aee..6d63bd46ecf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdDuplicateTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdDuplicateTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" nodePrefixId="aaa">
<from uri="direct:foo"/>
<to uri="mock:foo" id="myMock"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdTest.xml
index 48ad6f5deaf..e224c491080 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteNodePrefixIdTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" nodePrefixId="aaa">
<from uri="direct:foo"/>
<to uri="mock:foo" id="myFoo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRoutePoliciesTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRoutePoliciesTest.xml
index 5f2ad8d4522..648ccd90f69 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRoutePoliciesTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRoutePoliciesTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route routePolicyRef="policy-a, policy-b">
<from uri="direct:start"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml
index e065f28b3b9..2e1112a82bc 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteStopTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnCompletionMisconfiguredTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnCompletionMisconfiguredTest.xml
index 558bdb04d88..f284676fe02 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnCompletionMisconfiguredTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnCompletionMisconfiguredTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnExceptionMisconfiguredTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnExceptionMisconfiguredTest.xml
index 0b2adffa127..61da6cce319 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnExceptionMisconfiguredTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelOnExceptionMisconfiguredTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelTransactedMisconfiguredTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelTransactedMisconfiguredTest.xml
index 688fadb236f..2cac7e8578e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelTransactedMisconfiguredTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringRouteTopLevelTransactedMisconfiguredTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringScheduledThreadPoolTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringScheduledThreadPoolTest.xml
index d9586941fcc..a66c45d3a3f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringScheduledThreadPoolTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringScheduledThreadPoolTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define a custom scheduled thread pool -->
<threadPool id="myPool" poolSize="5" threadName="myPool" scheduled="true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderTest-context.xml
index 911a8b877b5..1594d8b6e67 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderTest-context.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="seda:a"/>
<setHeader name="oldBodyValue">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderWithConstantTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderWithConstantTest-context.xml
index 411ec9e48be..02275de254b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderWithConstantTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderWithConstantTest-context.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="seda:a"/>
<setHeader name="theHeader">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderXPathResultTypeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderXPathResultTypeTest.xml
index ee91c8b0dbb..acd8bfc2648 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderXPathResultTypeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSetHeaderXPathResultTypeTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- is there a hello tag in the body -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSimpleResultTypeRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSimpleResultTypeRouteTest.xml
index bca969e8df8..9ae6934ce4c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSimpleResultTypeRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSimpleResultTypeRouteTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitTokenizerGroupDynamicTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitTokenizerGroupDynamicTest.xml
index 7744a14d42c..f39da5d1be8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitTokenizerGroupDynamicTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitTokenizerGroupDynamicTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterBodyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterBodyTest.xml
index a5ddedc9940..be67ed1dae8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterBodyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterBodyTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterNoStopOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterNoStopOnExceptionTest.xml
index 26f5fdc71ab..1485651d1d2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterNoStopOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterNoStopOnExceptionTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.SplitterNoStopOnExceptionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split stopOnException="false">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterStopOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterStopOnExceptionTest.xml
index 3762c232bc1..48fe691bb0b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterStopOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringSplitterStopOnExceptionTest.xml
@@ -27,6 +27,7 @@
<bean id="myProcessor" class="org.apache.camel.processor.SplitterStopOnExceptionTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split stopOnException="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionMessageTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionMessageTest.xml
index ede09899f12..183bf92ced7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionMessageTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionMessageTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionTest.xml
index 38c6aa30a6d..a87686dc2d1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringThrowExceptionTest.xml
@@ -29,6 +29,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicIgnoreTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicIgnoreTest.xml
index e31117a49e4..14bbb73f7e2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicIgnoreTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicIgnoreTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<toD uri="mock:${header.foo}" ignoreInvalidEndpoint="true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicLanguageXPathTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicLanguageXPathTest.xml
index 4f6ae462616..3b1b7fbb63b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicLanguageXPathTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicLanguageXPathTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<toD uri="language:xpath:/order/@uri"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicTest.xml
index 3da81882fdd..714523f0639 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringToDynamicTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<toD uri="mock:${header.foo}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTraceUsingPropertyTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTraceUsingPropertyTest-context.xml
index 8a8392d54a4..80ecf75e881 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTraceUsingPropertyTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTraceUsingPropertyTest-context.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: e1 -->
<camelContext trace="{{foo.trace}}" xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="properties" location="org/apache/camel/spring/processor/myprop.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<template id="camelTemplate" defaultEndpoint="{{foo.cool}}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredFinallyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredFinallyTest.xml
index cbf88b7bcdd..e10ae9a2cde 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredFinallyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredFinallyTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<doTry>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredTest.xml
index fd56ab2cb16..bfade42fdef 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMisconfiguredTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<doTry>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMustHaveExceptionConfiguredTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMustHaveExceptionConfiguredTest.xml
index 338f310f9d2..106242a5a3d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMustHaveExceptionConfiguredTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryCatchMustHaveExceptionConfiguredTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<doTry>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorMultipleExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorMultipleExceptionTest.xml
index 4f0703f78fb..f2fb5e6b7ca 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorMultipleExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorMultipleExceptionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorOnWhenTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorOnWhenTest.xml
index b7515d91858..06d4f7ef01c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorOnWhenTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringTryProcessorOnWhenTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapExpressionTest.xml
index d63cf27861a..780211447bf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapExpressionTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
index 8a15ee10763..aa3118e47cf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
@@ -26,6 +26,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapVoidBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapVoidBeanTest.xml
index 57c115d2764..7f2d49d2321 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapVoidBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringWireTapVoidBeanTest.xml
@@ -27,6 +27,7 @@
<bean id="tap" class="org.apache.camel.processor.WireTapVoidBeanTest$MyTapBean"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<wireTap uri="bean:tap" dynamicUri="false"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringXPathHeaderTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringXPathHeaderTest-context.xml
index b020d63d037..ce0200f748f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringXPathHeaderTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/SpringXPathHeaderTest-context.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:in"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolKeepAliveTimeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolKeepAliveTimeTest.xml
index f5df72afc25..c2e8c0cf6f3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolKeepAliveTimeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolKeepAliveTimeTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<threads poolSize="5" maxPoolSize="10" keepAliveTime="10" timeUnit="SECONDS"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolTest.xml
index a9cdb483407..cbc8dd98093 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCoreAndMaxPoolTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<threads poolSize="5" maxPoolSize="10"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCorePoolTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCorePoolTest.xml
index 61f5da9b83c..c884053fbd4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCorePoolTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsCorePoolTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<threads poolSize="5"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsDefaultTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsDefaultTest.xml
index a79f22b51c5..3268bd27ab2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsDefaultTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsDefaultTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<threads/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsExternalThreadPoolFactoryBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsExternalThreadPoolFactoryBeanTest.xml
index a371039eacb..670acc39c85 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsExternalThreadPoolFactoryBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsExternalThreadPoolFactoryBeanTest.xml
@@ -37,6 +37,7 @@
xmlns="http://camel.apache.org/schema/spring"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsThreadPoolFactoryBeanTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsThreadPoolFactoryBeanTest.xml
index 5020c17b356..763b9695f64 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsThreadPoolFactoryBeanTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThreadsThreadPoolFactoryBeanTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define a custom thread pool -->
<threadPool id="myPool" poolSize="2" maxPoolSize="4" threadName="myPool"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerGroupingTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerGroupingTest.xml
index 318a2b2ba87..6ee41f0e5b3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerGroupingTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerGroupingTest.xml
@@ -24,6 +24,7 @@
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" deadLetterUri="mock:dead" type="DeadLetterChannel"/>
<route errorHandlerRef="dlc">
<from uri="seda:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerMethodCallTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerMethodCallTest.xml
index d84727cb114..78f4bb7afd0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerMethodCallTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerMethodCallTest.xml
@@ -27,6 +27,7 @@
<bean id="myBean" class="org.apache.camel.spring.processor.SpringThrottlerMethodCallTest"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:expressionMethod"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerThreadPoolProfileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerThreadPoolProfileTest.xml
index dbc97c4fbc9..7818f388d1d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerThreadPoolProfileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlerThreadPoolProfileTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<threadPoolProfile id="myPool" poolSize="2" maxPoolSize="5" maxQueueSize="10"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlingInflightRoutePolicyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlingInflightRoutePolicyTest.xml
index 402baff169b..63f25ecdcb2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlingInflightRoutePolicyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ThrottlingInflightRoutePolicyTest.xml
@@ -38,6 +38,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="myRoute" routePolicyRef="myRoutePolicy">
<from uri="seda:foo?concurrentConsumers=20"/>
<to uri="log:foo?groupSize=10"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ValidateSimpleTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ValidateSimpleTest.xml
index 9dd398e1db8..b2caf408d6a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ValidateSimpleTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/ValidateSimpleTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/WireTapOnPrepareTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/WireTapOnPrepareTest.xml
index d537a809fca..f85b7f492ec 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/WireTapOnPrepareTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/WireTapOnPrepareTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- use on prepare with wiretap -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/XsltTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/XsltTest-context.xml
index d80f52d0a79..886e6c70c07 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/XsltTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/XsltTest-context.xml
@@ -27,6 +27,7 @@
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="template" defaultEndpoint="direct:start"/>
<route>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator-custom-strategy.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator-custom-strategy.xml
index 317f3e8c83a..6d6cd7340aa 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator-custom-strategy.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator-custom-strategy.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionTimeout="1000">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator.xml
index 8e6c65c57cd..204c80c564e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator.xml
@@ -30,6 +30,7 @@
<!-- spring property placeholder, ignore resource not found as the file resource is for unit testing -->
<propertyPlaceholder id="properties"
ignoreMissingLocation="true" location="classpath:custom.properties"/>
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompleteAllOnStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompleteAllOnStopTest.xml
index a444315524e..032f2eb67e0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompleteAllOnStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompleteAllOnStopTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo">
<from uri="seda:start"/>
<to uri="mock:input"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompletionIntervalTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompletionIntervalTest.xml
index 814edc2f364..6ccf7f44ebf 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompletionIntervalTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateCompletionIntervalTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="seda:start"/>
<!-- trigger completion of all current aggregated exchanges every 5th second -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateControllerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateControllerTest.xml
index e7d7fa9ef2c..70aefb433c5 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateControllerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateControllerTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionSize="10" aggregateController="myController">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateDiscardOnTimeoutTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateDiscardOnTimeoutTest.xml
index 04f44db1376..4b7bae4859b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateDiscardOnTimeoutTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateDiscardOnTimeoutTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionSize="3"
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeFallbackTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeFallbackTest.xml
index 632e89c6b33..e2129a7cefb 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeFallbackTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeFallbackTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionSize="3">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeTest.xml
index c0be36e2725..eda819d3e00 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionSizeTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutFallbackTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutFallbackTest.xml
index dbc80ae0ae7..20d55ced051 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutFallbackTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutFallbackTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionTimeout="2000">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml
index 9d7ff908ae8..faf01694c20 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutPerGroupTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionTimeout="5000">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutTest.xml
index fb2c26c8adc..376efc9262c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateExpressionTimeoutTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionTimeoutCheckerInterval="10">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateForceCompletionOnStopTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateForceCompletionOnStopTest.xml
index f1bbff81e59..5fa3e8da404 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateForceCompletionOnStopTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateForceCompletionOnStopTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo">
<from uri="direct:forceCompletionTrue"/>
<aggregate aggregationStrategy="aggregatorStrategy" forceCompletionOnStop="true" completionSize="10">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateGroupedExchangeCompletionExpressionSizeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateGroupedExchangeCompletionExpressionSizeTest.xml
index 8db57daddca..9355e04e511 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateGroupedExchangeCompletionExpressionSizeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateGroupedExchangeCompletionExpressionSizeTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" eagerCheckCompletion="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateEagerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateEagerTest.xml
index e4f51fde714..dd544b9f69a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateEagerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateEagerTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" eagerCheckCompletion="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateTest.xml
index e62137304a8..0df8bb5fdd3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimplePredicateTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleSizeTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleSizeTest.xml
index 2e45328e9e4..e6e07fd9256 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleSizeTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleSizeTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionSize="3">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleTimeoutTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleTimeoutTest.xml
index d937fa6117d..193d993a848 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleTimeoutTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateSimpleTimeoutTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="aggregatorStrategy" completionTimeout="100" completionTimeoutCheckerInterval="10">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateThreadPoolProfileTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateThreadPoolProfileTest.xml
index b3bff70158a..26786af13b8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateThreadPoolProfileTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregateThreadPoolProfileTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define a thread pool profile -->
<threadPoolProfile id="myProfile" poolSize="2" maxQueueSize="8" rejectedPolicy="Abort"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterAllowNullTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterAllowNullTest.xml
index c5d31c6563e..2706d358159 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterAllowNullTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterAllowNullTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="myAppender" aggregationStrategyMethodName="addUsers" aggregationStrategyMethodAllowNull="true"
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefMethodNameTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefMethodNameTest.xml
index af3a22caa6e..51e1e6a2786 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefMethodNameTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefMethodNameTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="myAppender" aggregationStrategyMethodName="append" completionSize="3">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefTest.xml
index 27d5fa95dd7..29f9009f507 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/aggregator/SpringAggregationStrategyBeanAdapterRefTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<aggregate aggregationStrategy="myAppender" completionSize="3">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncDeadLetterChannelExecutorServiceRefTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncDeadLetterChannelExecutorServiceRefTest.xml
index fe204eedf6b..6363dfe4cba 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncDeadLetterChannelExecutorServiceRefTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncDeadLetterChannelExecutorServiceRefTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<errorHandler id="dlc" type="DeadLetterChannel" deadLetterUri="mock:dead" executorServiceRef="myAsyncPool">
<redeliveryPolicy maximumRedeliveries="2" redeliveryDelay="0" logStackTrace="false" asyncDelayedRedelivery="true"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/choice.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/choice.xml
index 5362f7ef449..6e5a8683f38 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/choice.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/choice.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml
index ed568a63fc9..63e5b74a35b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/delayer.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/delayer.xml
index a45d09db54e..b952d1239f8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/delayer.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/delayer.xml
@@ -29,6 +29,7 @@
<bean id="exchangeAwareBean" class="org.apache.camel.processor.ExchangeAwareDelayCalcBean"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="seda:a"/>
<delay>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enrichExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enrichExpressionTest.xml
index bf9a77ac3c9..d0589753969 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enrichExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enrichExpressionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricher.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricher.xml
index 5879219dd6b..4fb96d3c2c8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricher.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricher.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<enrich aggregationStrategy="sampleAggregator">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricherref.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricherref.xml
index 9c58dfbd8fa..fc1535a7c9c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricherref.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/enricherref.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- define cool endpoint -->
<endpoint id="cool" uri="direct:resource"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/failOverLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/failOverLoadBalance.xml
index b99ae3d9115..1b9c9231213 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/failOverLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/failOverLoadBalance.xml
@@ -28,6 +28,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="noErrorHandler">
<from uri="direct:exception"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filter.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filter.xml
index 7677fba6103..bc65eadfff8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filter.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filter.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filterNoChild.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filterNoChild.xml
index a791cba7c3d..51c5450d870 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filterNoChild.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/filterNoChild.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromEndpointTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromEndpointTest.xml
index 003002c77bd..60219c2e60f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromEndpointTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromEndpointTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:results"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromMultipleEndpointTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromMultipleEndpointTest.xml
index 9855c5e2b77..ca958aaa96a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromMultipleEndpointTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/fromMultipleEndpointTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentLoadStoreTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentLoadStoreTest.xml
index 7af07449c31..5b02d61266d 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentLoadStoreTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/FileConsumerIdempotentLoadStoreTest.xml
@@ -37,6 +37,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/FileConsumerIdempotentLoadStoreTest/?initialDelay=0&delay=10&idempotent=true&idempotentRepository=#fileStore&move=done/${file:name}"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/SpringCacheIdempotentTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/SpringCacheIdempotentTest.xml
index aba23061ff3..ce4b2b7964f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/SpringCacheIdempotentTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/SpringCacheIdempotentTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="idempotent-cache">
<from uri="direct:start" />
<log message="Message id: ${header.MessageId}"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/fileConsumerIdempotentTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/fileConsumerIdempotentTest.xml
index e6585d38546..d852cb9f94b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/fileConsumerIdempotentTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/idempotent/fileConsumerIdempotentTest.xml
@@ -37,6 +37,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="file://target/data/FileConsumerIdempotentTest/?initialDelay=0&delay=10&idempotent=true&idempotentRepository=#fileStore&move=done/${file:name}"/>
<to uri="mock:result"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml
index ef87c69b232..a552340ec1a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/intercept/SpringParentChildInterceptStrategyTest.xml
@@ -28,6 +28,7 @@
class="org.apache.camel.processor.intercept.ParentChildInterceptStrategyTest$MyParentChildInterceptStrategy"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="route">
<from uri="direct:start"/>
<to uri="mock:a" id="task-a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpoint.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpoint.xml
index b29dd1c44d2..da6d50b3154 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpoint.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpoint.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- we intercept by endpoint, that means that whenever an exchange is about to be sent to
this endpoint, its intercepted and routed with this detour route beforehand
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointDynamic.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointDynamic.xml
index 33f71bf4aed..bcd6382064c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointDynamic.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointDynamic.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- intercept sending to any file component -->
<interceptSendToEndpoint uri="file:*" skipSendToOriginalEndpoint="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointInOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointInOnExceptionTest.xml
index 2278581645d..3930f08e5de 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointInOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointInOnExceptionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.io.IOException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointSkip.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointSkip.xml
index 8105e11f627..c59dd74b970 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointSkip.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointSkip.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- since we set the skipSendToOriginalEndpoint attribute to true we instruct
Camel to skip sending the exchange to the original intended destination.
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointWhen.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointWhen.xml
index e93ba9ee319..e99a2e1dc5a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointWhen.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/interceptSendToEndpointWhen.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<interceptSendToEndpoint uri="mock:foo">
<when><simple>${body} == 'Hello World'</simple></when>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/logEipCustomFormatterTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/logEipCustomFormatterTest.xml
index f3f00f63eee..7a90ad63cee 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/logEipCustomFormatterTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/logEipCustomFormatterTest.xml
@@ -27,6 +27,7 @@
<bean id="CamelCustomLogMask" class="org.apache.camel.spring.processor.SpringLogEipMaskTest.MockMaskingFormatter"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route id="foo" logMask="true">
<from uri="direct:foo"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/loop.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/loop.xml
index de9387920ad..51dde2ec252 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/loop.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/loop.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: ex1 -->
<route>
<from uri="direct:a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/markrollbackonly.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/markrollbackonly.xml
index dd161c0f72c..a0b12c09ab0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/markrollbackonly.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/markrollbackonly.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="mock:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/multicast.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/multicast.xml
index 462c51c7c78..bdd40d2e509 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/multicast.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/multicast.xml
@@ -30,6 +30,7 @@
<bean id="attachStringProcessor" class="org.apache.camel.processor.AppendingProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<multicast>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/normalizer.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/normalizer.xml
index 98aff50f386..0271be25e15 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/normalizer.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/normalizer.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubRouteTest.xml
index 942938e29ac..b3686d023e7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubRouteTest.xml
@@ -30,6 +30,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubSubRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubSubRouteTest.xml
index b78f6fb05ea..96b28a77738 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubSubRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueSubSubRouteTest.xml
@@ -30,6 +30,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueTest.xml
index d8497adda71..47901283d56 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionContinueTest.xml
@@ -30,6 +30,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionLoadBalancerDoubleIssueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionLoadBalancerDoubleIssueTest.xml
index 1a6b6e518b1..4fba84692e2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionLoadBalancerDoubleIssueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionLoadBalancerDoubleIssueTest.xml
@@ -33,6 +33,7 @@
</bean>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.Exception</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionWithRouteAndContinueTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionWithRouteAndContinueTest.xml
index cc63c98417b..cd9fc323c7f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionWithRouteAndContinueTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/OnExceptionWithRouteAndContinueTest.xml
@@ -30,6 +30,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringContextScopeOnExceptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringContextScopeOnExceptionTest.xml
index 4d3bf188927..55c5e6f2b68 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringContextScopeOnExceptionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringContextScopeOnExceptionTest.xml
@@ -31,6 +31,7 @@
<bean id="orderService" class="org.apache.camel.spring.processor.onexception.OrderService"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- context scoped on exception -->
<onException>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringOnExceptionUseOriginalMessageTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringOnExceptionUseOriginalMessageTest.xml
index 211fc8f0342..d48d0f2c3fb 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringOnExceptionUseOriginalMessageTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/SpringOnExceptionUseOriginalMessageTest.xml
@@ -29,6 +29,7 @@
<bean id="proc" class="org.apache.camel.processor.onexception.OnExceptionUseOriginalMessageTest$MyProcessor"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException useOriginalMessage="true">
<exception>java.lang.IllegalArgumentException</exception>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/onExceptionSubRouteTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/onExceptionSubRouteTest.xml
index df6ad437b73..1fc3e4643d3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/onExceptionSubRouteTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/onexception/onExceptionSubRouteTest.xml
@@ -38,6 +38,7 @@
<!-- this is the camel context where we define the routes -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route errorHandlerRef="deadLetter">
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnrichExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnrichExpressionTest.xml
index ef987597491..d8217a7a86f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnrichExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnrichExpressionTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricher.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricher.xml
index ebce883aad6..8b585821374 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricher.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricher.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:enricher-test-1"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricherRef.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricherRef.xml
index 111c3de79d3..27f49df5eb3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricherRef.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/pollEnricherRef.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="foo1" uri="seda:foo1"/>
<endpoint id="foo2" uri="seda:foo2"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/randomLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/randomLoadBalance.xml
index d1e564fae7f..a08df8ad716 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/randomLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/randomLoadBalance.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListIgnoreInvalidEndpoints.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListIgnoreInvalidEndpoints.xml
index a02768c7ca3..8d74b9db47f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListIgnoreInvalidEndpoints.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListIgnoreInvalidEndpoints.xml
@@ -28,6 +28,7 @@
-->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:startA" />
<recipientList ignoreInvalidEndpoints="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithArrayHeader.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithArrayHeader.xml
index bbeeac213ee..eab26a24d78 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithArrayHeader.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithArrayHeader.xml
@@ -28,6 +28,7 @@
from("direct:a").recipientList(header("recipientListHeader"));
-->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<recipientList>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml
index 8ab3ffd1923..2b0b5e6361a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedHeader.xml
@@ -29,6 +29,7 @@
-->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:a" />
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedProperty.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedProperty.xml
index 82b279644b6..564332bf17c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedProperty.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/recipientListWithStringDelimitedProperty.xml
@@ -28,6 +28,7 @@
-->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:a" />
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeader.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeader.xml
index 5c20a14eed6..b8502043da9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeader.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeader.xml
@@ -25,6 +25,7 @@
">
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setHeader name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeaders.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeaders.xml
index 595736f5eb5..424af3f24f2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeaders.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeaders.xml
@@ -25,6 +25,7 @@
">
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- remove all dude headers by wildcard -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeadersExclude.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeadersExclude.xml
index a7093ba3659..c168d81448f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeadersExclude.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeHeadersExclude.xml
@@ -25,6 +25,7 @@
">
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- remove all dude headers by wildcard -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithExclusion.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithExclusion.xml
index 2df9c753d12..2bbaad034c8 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithExclusion.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithExclusion.xml
@@ -25,6 +25,7 @@
">
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setProperty name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithoutExclusion.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithoutExclusion.xml
index 702976bfa5a..9ca9a8f8316 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithoutExclusion.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removePropertiesWithoutExclusion.xml
@@ -25,6 +25,7 @@
">
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setProperty name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeProperty.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeProperty.xml
index 45b63614e2b..2515dcfbca9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeProperty.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/removeProperty.xml
@@ -25,6 +25,7 @@
">
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setProperty name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencer.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencer.xml
index 95a9d844339..a705d7055f1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencer.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencer.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<resequence>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencerRejectOld.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencerRejectOld.xml
index 8213e3db005..3aa0881adf4 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencerRejectOld.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/resequencerRejectOld.xml
@@ -24,6 +24,7 @@
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<onException>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/rollback.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/rollback.xml
index be5558eccf7..04d73d6f659 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/rollback.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/rollback.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/roundRobinLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/roundRobinLoadBalance.xml
index 3a2657e0b39..cf21876148b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/roundRobinLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/roundRobinLoadBalance.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/routingSlipIgnoreInvalidEndpoints.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/routingSlipIgnoreInvalidEndpoints.xml
index 357d51083ce..66701b6a116 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/routingSlipIgnoreInvalidEndpoints.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/routingSlipIgnoreInvalidEndpoints.xml
@@ -24,6 +24,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a" />
<routingSlip ignoreInvalidEndpoints="true">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/saga.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/saga.xml
index 9f575e8c42f..25127c0c44f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/saga.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/saga.xml
@@ -28,6 +28,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<saga>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sagaRef.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sagaRef.xml
index 9ff1a8b7d03..c9f08253f12 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sagaRef.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sagaRef.xml
@@ -29,6 +29,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<saga sagaService="mySagaService">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
index 87ec9f5d8b3..9fe4c784394 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
@@ -24,6 +24,7 @@
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:sample"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottlerWithDefault.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottlerWithDefault.xml
index 42f7329a608..a639033642e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottlerWithDefault.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottlerWithDefault.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:sample"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/scattergather/scatter-gather.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/scattergather/scatter-gather.xml
index 764c2380b5b..a5b1d94eb8b 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/scattergather/scatter-gather.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/scattergather/scatter-gather.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<recipientList>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script-external.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script-external.xml
index f28757bc102..4a0d0cb6948 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script-external.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script-external.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<script>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script.xml
index 88432c0a165..cca9522d888 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/script.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<script>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setBody.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setBody.xml
index 26cef3790d8..3735dc05819 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setBody.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setBody.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setBody>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePattern.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePattern.xml
index fae8df36587..20e37be9b29 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePattern.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePattern.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- Send the exchange as InOnly -->
<route>
<from uri="direct:testInOut"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePatternWithCustomId.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePatternWithCustomId.xml
index 00fdec7df1d..3115d4883c2 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePatternWithCustomId.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setExchangePatternWithCustomId.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<!-- Send the exchange as InOnly -->
<route>
<from uri="direct:testInOut" id="a"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setHeaderNameDynamic.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setHeaderNameDynamic.xml
index f1e8242b8e9..db85243877c 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setHeaderNameDynamic.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setHeaderNameDynamic.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setHeader name="$simple{type:org.apache.camel.spring.processor.SpringSetPropertyNameDynamicTest$TestConstans.EXCHANGE_PROP_TX_FAILED}">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setProperty.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setProperty.xml
index 381983d9bd8..f18c885e944 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setProperty.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setProperty.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setProperty name="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setPropertyNameDynamic.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setPropertyNameDynamic.xml
index aa6434594e5..0cfab3de105 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setPropertyNameDynamic.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/setPropertyNameDynamic.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<setProperty name="$simple{type:org.apache.camel.spring.processor.SpringSetPropertyNameDynamicTest$TestConstans.EXCHANGE_PROP_TX_FAILED}">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortBodyTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortBodyTest.xml
index e0d54ef7fb1..69bdb910ade 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortBodyTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortBodyTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- will sort the body using a default comparator -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortExpressionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortExpressionTest.xml
index 4be662a82ff..a83bd165379 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortExpressionTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/sortExpressionTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<!-- will tokenize the body by comma and sort it -->
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterMethodCallTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterMethodCallTest.xml
index 0bc6767a34f..e12022b2a1f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterMethodCallTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterMethodCallTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterTokenizerTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterTokenizerTest.xml
index 632bcd144e9..5e02887b1b7 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterTokenizerTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterTokenizerTest.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: e1 -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<split>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterWithCustomThreadPoolExecutor.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterWithCustomThreadPoolExecutor.xml
index 03fd4b9b7da..8dc53a8f8b0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterWithCustomThreadPoolExecutor.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/splitterWithCustomThreadPoolExecutor.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:parallel-custom-pool"/>
<split executorService="myThreadPoolExecutor">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/staticRecipientList.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/staticRecipientList.xml
index 14da7471281..63f21b7d3db 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/staticRecipientList.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/staticRecipientList.xml
@@ -28,6 +28,7 @@
from("direct:a").to("mock:x", "mock:y", "mock:z");
-->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:a"/>
<to uri="mock:x"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/step.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/step.xml
index 28f300d6b91..cc2ca34e3a0 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/step.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/step.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<step id="foo">
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/stickyLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/stickyLoadBalance.xml
index b8ac362cf1b..33cb420705a 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/stickyLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/stickyLoadBalance.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/streamResequencer.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/streamResequencer.xml
index 8c28bfc32c1..719c5efaa78 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/streamResequencer.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/streamResequencer.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<resequence>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/throttler.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/throttler.xml
index b0b2c56bbb2..270811d9dfc 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/throttler.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/throttler.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<onException>
<exception>org.apache.camel.processor.ThrottlerRejectedExecutionException</exception>
<handled>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/topicLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/topicLoadBalance.xml
index fdcaf4df62f..b6e9c6d12b3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/topicLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/topicLoadBalance.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transform.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transform.xml
index a58dc2442a2..63b36dcd6c9 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transform.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transform.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<process ref="myProcessor"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transformWithExpressionContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transformWithExpressionContext.xml
index b4a94ced8aa..8d1fc327dce 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transformWithExpressionContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/transformWithExpressionContext.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<transform>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/validate.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/validate.xml
index 453a375b743..97772fb7c16 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/validate.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/validate.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<validate>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRandomLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRandomLoadBalance.xml
index 9f32bccdbfa..6885330a162 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRandomLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRandomLoadBalance.xml
@@ -28,6 +28,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRoundRobinLoadBalance.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRoundRobinLoadBalance.xml
index 3619689eb0b..d8aa4921c88 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRoundRobinLoadBalance.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/weightedRoundRobinLoadBalance.xml
@@ -28,6 +28,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<loadBalance>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameContext.xml
index 5ecfdcb986e..35b2812fe74 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameContext.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:in"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameResultTypeAndNamespaceContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameResultTypeAndNamespaceContext.xml
index 6953c86d994..2cc2a484348 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameResultTypeAndNamespaceContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xPathHeaderNameResultTypeAndNamespaceContext.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:in"/>
<choice>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathChoiceWithNamespaceOnRouteContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathChoiceWithNamespaceOnRouteContext.xml
index 1d845660001..2f2c43ab7c1 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathChoiceWithNamespaceOnRouteContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathChoiceWithNamespaceOnRouteContext.xml
@@ -27,6 +27,7 @@
<import resource="xpathChoiceWithNamespaceOnRouteContextRouteContext.xml" />
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="myCoolRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilter.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilter.xml
index 40951586768..caecfcd3dab 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilter.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilter.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespace.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespace.xml
index 9ada3903e69..35e57bf8b89 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespace.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespace.xml
@@ -27,6 +27,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<filter>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespaceOnRouteContext.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespaceOnRouteContext.xml
index 2f7cd2aa037..77ad0a3949e 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespaceOnRouteContext.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/xpathFilterWithNamespaceOnRouteContext.xml
@@ -36,6 +36,7 @@
</routeContext>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<routeContextRef ref="myCoolRoutes"/>
</camelContext>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/FluentProduceTemplateTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/FluentProduceTemplateTest-context.xml
index a2487bafb3e..b8f75cc6fc3 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/FluentProduceTemplateTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/FluentProduceTemplateTest-context.xml
@@ -28,6 +28,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<fluentTemplate id="camelTemplate" />
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTemplateTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTemplateTest-context.xml
index 6e620807812..5b930ac6d7f 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTemplateTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTemplateTest-context.xml
@@ -28,6 +28,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<template id="camelTemplate" />
<route>
<from uri="direct:start"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTest-context.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTest-context.xml
index 3c1f443e34a..a56564d8194 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTest-context.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/produce/ProduceTest-context.xml
@@ -31,6 +31,7 @@
<context:component-scan base-package="org.apache.camel.spring.produce"/>
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<to uri="log:TraceMessage"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/routingUsingProcessor.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/routingUsingProcessor.xml
index 5ed8804cdb5..c59271b3440 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/routingUsingProcessor.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/routingUsingProcessor.xml
@@ -26,6 +26,7 @@
<!-- START SNIPPET: example -->
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<route>
<from uri="direct:start"/>
<process ref="myProcessor"/>
diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/util/EndpointHelperTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/util/EndpointHelperTest.xml
index 38f9452384b..6d78e554c57 100644
--- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/util/EndpointHelperTest.xml
+++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/util/EndpointHelperTest.xml
@@ -25,6 +25,7 @@
">
<camelContext xmlns="http://camel.apache.org/schema/spring">
+ <jmxAgent id="jmx" disabled="true"/>
<endpoint id="foo" uri="mock:foo"/>
<endpoint id="coolbar" uri="mock:bar"/>
</camelContext>