[ https://issues.apache.org/jira/browse/CAMEL-20240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-20240. --------------------------------- Resolution: Not A Bug It was a typo in the example. I have fixed that > Routes Configuration quickstart tests failing with 4.3.0 > -------------------------------------------------------- > > Key: CAMEL-20240 > URL: https://issues.apache.org/jira/browse/CAMEL-20240 > Project: Camel > Issue Type: Bug > Affects Versions: 4.3.0 > Reporter: Thomas Cunningham > Priority: Major > > Tried running the Routes Configuration example in camel-spring-boot-examples > with camel 4.3.0, getting errors with both openjdk17 and openjdk21 : > > [INFO] --< > org.apache.camel.springboot.example:camel-example-spring-boot-routes-configuration > >-- > [INFO] Building Camel SB Examples :: Spring Boot :: Routes Configuration > 4.3.0 [51/72] > [INFO] from routes-configuration/pom.xml > [INFO] --------------------------------[ jar > ]--------------------------------- > [INFO] > [INFO] --- clean:3.2.0:clean (default-clean) @ > camel-example-spring-boot-routes-configuration --- > [INFO] Deleting > /private/tmp/camel-spring-boot-examples/routes-configuration/target > [INFO] > [INFO] --- enforcer:3.3.0:enforce (enforce-maven-version) @ > camel-example-spring-boot-routes-configuration --- > [INFO] > [INFO] --- enforcer:3.3.0:enforce (enforce-java-version) @ > camel-example-spring-boot-routes-configuration --- > [INFO] > [INFO] --- resources:3.3.1:resources (default-resources) @ > camel-example-spring-boot-routes-configuration --- > [INFO] Copying 6 resources from src/main/resources to target/classes > [INFO] > [INFO] --- camel-package:4.3.0:prepare-example (default) @ > camel-example-spring-boot-routes-configuration --- > [WARNING] Parameter 'filter' (user property 'filter') is read-only, must not > be used in configuration > [INFO] > [INFO] --- compiler:3.11.0:compile (default-compile) @ > camel-example-spring-boot-routes-configuration --- > [INFO] Changes detected - recompiling the module! :source > [INFO] Compiling 3 source files with javac [debug target 17] to target/classes > [WARNING] system modules path not set in conjunction with -source 17 > [INFO] > [INFO] --- resources:3.3.1:testResources (default-testResources) @ > camel-example-spring-boot-routes-configuration --- > [INFO] skip non existing resourceDirectory > /private/tmp/camel-spring-boot-examples/routes-configuration/src/test/resources > [INFO] > [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ > camel-example-spring-boot-routes-configuration --- > [INFO] Changes detected - recompiling the module! :dependency > [INFO] Compiling 1 source file with javac [debug target 17] to > target/test-classes > [WARNING] system modules path not set in conjunction with -source 17 > [INFO] > [INFO] --- surefire:3.1.2:test (default-test) @ > camel-example-spring-boot-routes-configuration --- > [INFO] Using auto detected provider > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider > [INFO] > [INFO] ------------------------------------------------------- > [INFO] T E S T S > [INFO] ------------------------------------------------------- > [INFO] Running sample.camel.MyCamelApplicationJUnit5Test > 08:35:11.142 [main] INFO > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener -- > CamelSpringBootExecutionListener preparing: class > sample.camel.MyCamelApplicationJUnit5Test > 08:35:11.149 [main] INFO > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler -- Enabling Camel > JMX as camel-debug has been found in the classpath. > > . ____ _ __ _ _ > /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ > ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ > \\/ ___)| |_)| | | | | || (_| | ) ) ) ) > ' |____| .__|_| |_|_| |_\__, | / / / / > =========|_|==============|___/=/_/_/_/ > :: Spring Boot :: (v3.2.0) > > 2023-12-15T08:35:11.438-05:00 INFO 91663 --- [ main] > s.camel.MyCamelApplicationJUnit5Test : Starting > MyCamelApplicationJUnit5Test using Java 21 with PID 91663 (started by > tcunning in /private/tmp/camel-spring-boot-examples/routes-configuration) > 2023-12-15T08:35:11.439-05:00 INFO 91663 --- [ main] > s.camel.MyCamelApplicationJUnit5Test : No active profile set, falling > back to 1 default profile: "default" > 2023-12-15T08:35:12.245-05:00 INFO 91663 --- [ main] > o.a.camel.util.concurrent.ThreadType : The type of thread detected is > PLATFORM > 2023-12-15T08:35:12.739-05:00 INFO 91663 --- [ main] > s.camel.MyCamelApplicationJUnit5Test : Started > MyCamelApplicationJUnit5Test in 1.566 seconds (process running for 2.411) > 2023-12-15T08:35:12.744-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Setting shutdown timeout to [10 > SECONDS] on CamelContext with name [camelContext]. > 2023-12-15T08:35:12.753-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > before: class sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > 2023-12-15T08:35:12.754-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : Initialized > CamelSpringBootExecutionListener now ready to start CamelContext > 2023-12-15T08:35:12.754-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Starting CamelContext with name > [camelContext]. > 2023-12-15T08:35:12.783-05:00 INFO 91663 --- [ main] > o.a.c.impl.engine.AbstractCamelContext : Detected: camel-debug JAR > (Enabling Camel Debugging) > 2023-12-15T08:35:12.982-05:00 WARN 91663 --- [ main] > o.s.test.context.TestContextManager : Caught exception while invoking > 'beforeTestMethod' callback on TestExecutionListener > [org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener] for > test method [public void > sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages() throws > java.lang.Exception] and test instance > [sample.camel.MyCamelApplicationJUnit5Test@7f4a1cac] > > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 > at: >>> To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in > route: Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... > because of Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:217) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:724) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:590) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2364) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at org.apache.camel.support.service.BaseService.init(BaseService.java:78) > ~[camel-api-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2000) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at org.apache.camel.support.service.BaseService.start(BaseService.java:105) > ~[camel-api-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:119) > ~[camel-spring-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.lambda$handleCamelContextStartup$1(CamelAnnotationsHandler.java:403) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelSpringTestHelper.doToSpringCamelContexts(CamelSpringTestHelper.java:108) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.handleCamelContextStartup(CamelAnnotationsHandler.java:400) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.beforeTestMethod(CamelSpringBootExecutionListener.java:105) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:299) > ~[spring-test-6.1.1.jar:6.1.1] > at > org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) > ~[spring-test-6.1.1.jar:6.1.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachCallbacks$2(TestMethodTestDescriptor.java:167) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachCallbacks(TestMethodTestDescriptor.java:166) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:133) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) > ~[surefire-booter-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) > ~[surefire-booter-3.1.2.jar:3.1.2] > at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) > ~[surefire-booter-3.1.2.jar:3.1.2] > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) > ~[surefire-booter-3.1.2.jar:3.1.2] > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: There are 1 > parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:845) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:745) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) > ~[camel-support-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:45) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:37) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:870) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:610) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:213) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > ... 72 common frames omitted > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > There are 1 parameters that couldn't be set on the endpoint. Check the uri if > the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:302) > ~[camel-support-4.3.0.jar:4.3.0] > at > org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191) > ~[camel-support-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:811) > ~[camel-base-engine-4.3.0.jar:4.3.0] > ... 79 common frames omitted > > OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader > classes because bootstrap classpath has been appended > WARNING: A Java agent has been loaded dynamically > (/Users/tcunning/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.10/byte-buddy-agent-1.14.10.jar) > WARNING: If a serviceability tool is in use, please run with > -XX:+EnableDynamicAgentLoading to hide this warning > WARNING: If a serviceability tool is not in use, please run with > -Djdk.instrument.traceUsage for more information > WARNING: Dynamic loading of agents will be disallowed by default in a future > release > 2023-12-15T08:35:13.750-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > after: class sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.953 > s <<< FAILURE! -- in sample.camel.MyCamelApplicationJUnit5Test > [ERROR] sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages -- > Time elapsed: 1.009 s <<< ERROR! > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 > at: >>> To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in > route: Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... > because of Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:217) > at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76) > at > org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:724) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:590) > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2364) > at org.apache.camel.support.service.BaseService.init(BaseService.java:78) > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2000) > at org.apache.camel.support.service.BaseService.start(BaseService.java:105) > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) > at > org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:119) > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.lambda$handleCamelContextStartup$1(CamelAnnotationsHandler.java:403) > at > org.apache.camel.test.spring.junit5.CamelSpringTestHelper.doToSpringCamelContexts(CamelSpringTestHelper.java:108) > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.handleCamelContextStartup(CamelAnnotationsHandler.java:400) > at > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.beforeTestMethod(CamelSpringBootExecutionListener.java:105) > at > org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:299) > at > org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: There are 1 > parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:845) > at > org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:745) > at > org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) > at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:45) > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:37) > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:870) > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:610) > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:213) > ... 19 more > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > There are 1 parameters that couldn't be set on the endpoint. Check the uri if > the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:302) > at > org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191) > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:811) > ... 26 more > > [INFO] Running sample.camel.MyCamelApplicationJUnit5Test > 2023-12-15T08:35:13.785-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > preparing: class sample.camel.MyCamelApplicationJUnit5Test > 2023-12-15T08:35:13.786-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Enabling Camel JMX as camel-debug > has been found in the classpath. > 2023-12-15T08:35:13.786-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Setting shutdown timeout to [10 > SECONDS] on CamelContext with name [camelContext]. > 2023-12-15T08:35:13.787-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > before: class sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > 2023-12-15T08:35:13.788-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : Initialized > CamelSpringBootExecutionListener now ready to start CamelContext > 2023-12-15T08:35:13.788-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Starting CamelContext with name > [camelContext]. > 2023-12-15T08:35:13.794-05:00 WARN 91663 --- [ main] > o.s.test.context.TestContextManager : Caught exception while invoking > 'beforeTestMethod' callback on TestExecutionListener > [org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener] for > test method [public void > sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages() throws > java.lang.Exception] and test instance > [sample.camel.MyCamelApplicationJUnit5Test@6b751cb1] > > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 > at: >>> To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in > route: Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... > because of Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:217) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:724) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:590) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2364) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at org.apache.camel.support.service.BaseService.init(BaseService.java:78) > ~[camel-api-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2000) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at org.apache.camel.support.service.BaseService.start(BaseService.java:105) > ~[camel-api-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:119) > ~[camel-spring-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.lambda$handleCamelContextStartup$1(CamelAnnotationsHandler.java:403) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelSpringTestHelper.doToSpringCamelContexts(CamelSpringTestHelper.java:108) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.handleCamelContextStartup(CamelAnnotationsHandler.java:400) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.beforeTestMethod(CamelSpringBootExecutionListener.java:105) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:299) > ~[spring-test-6.1.1.jar:6.1.1] > at > org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) > ~[spring-test-6.1.1.jar:6.1.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachCallbacks$2(TestMethodTestDescriptor.java:167) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachCallbacks(TestMethodTestDescriptor.java:166) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:133) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:162) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) > ~[surefire-booter-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) > ~[surefire-booter-3.1.2.jar:3.1.2] > at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) > ~[surefire-booter-3.1.2.jar:3.1.2] > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) > ~[surefire-booter-3.1.2.jar:3.1.2] > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: There are 1 > parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:845) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:745) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) > ~[camel-support-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:45) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:37) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:870) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:610) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:213) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > ... 71 common frames omitted > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > There are 1 parameters that couldn't be set on the endpoint. Check the uri if > the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:302) > ~[camel-support-4.3.0.jar:4.3.0] > at > org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191) > ~[camel-support-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:811) > ~[camel-base-engine-4.3.0.jar:4.3.0] > ... 78 common frames omitted > > 2023-12-15T08:35:13.796-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > after: class sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.021 > s <<< FAILURE! -- in sample.camel.MyCamelApplicationJUnit5Test > [ERROR] sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages -- > Time elapsed: 0.011 s <<< ERROR! > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 > at: >>> To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in > route: Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... > because of Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:217) > at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76) > at > org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:724) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:590) > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2364) > at org.apache.camel.support.service.BaseService.init(BaseService.java:78) > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2000) > at org.apache.camel.support.service.BaseService.start(BaseService.java:105) > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) > at > org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:119) > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.lambda$handleCamelContextStartup$1(CamelAnnotationsHandler.java:403) > at > org.apache.camel.test.spring.junit5.CamelSpringTestHelper.doToSpringCamelContexts(CamelSpringTestHelper.java:108) > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.handleCamelContextStartup(CamelAnnotationsHandler.java:400) > at > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.beforeTestMethod(CamelSpringBootExecutionListener.java:105) > at > org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:299) > at > org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: There are 1 > parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:845) > at > org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:745) > at > org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) > at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:45) > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:37) > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:870) > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:610) > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:213) > ... 19 more > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > There are 1 parameters that couldn't be set on the endpoint. Check the uri if > the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:302) > at > org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191) > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:811) > ... 26 more > > [INFO] Running sample.camel.MyCamelApplicationJUnit5Test > 2023-12-15T08:35:13.813-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > preparing: class sample.camel.MyCamelApplicationJUnit5Test > 2023-12-15T08:35:13.813-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Enabling Camel JMX as camel-debug > has been found in the classpath. > 2023-12-15T08:35:13.813-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Setting shutdown timeout to [10 > SECONDS] on CamelContext with name [camelContext]. > 2023-12-15T08:35:13.814-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > before: class sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > 2023-12-15T08:35:13.815-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : Initialized > CamelSpringBootExecutionListener now ready to start CamelContext > 2023-12-15T08:35:13.815-05:00 INFO 91663 --- [ main] > o.a.c.t.s.j.CamelAnnotationsHandler : Starting CamelContext with name > [camelContext]. > 2023-12-15T08:35:13.820-05:00 WARN 91663 --- [ main] > o.s.test.context.TestContextManager : Caught exception while invoking > 'beforeTestMethod' callback on TestExecutionListener > [org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener] for > test method [public void > sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages() throws > java.lang.Exception] and test instance > [sample.camel.MyCamelApplicationJUnit5Test@ce2eaa7] > > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 > at: >>> To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in > route: Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... > because of Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:217) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:724) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:590) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2364) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at org.apache.camel.support.service.BaseService.init(BaseService.java:78) > ~[camel-api-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2000) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at org.apache.camel.support.service.BaseService.start(BaseService.java:105) > ~[camel-api-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) > ~[camel-core-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:119) > ~[camel-spring-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.lambda$handleCamelContextStartup$1(CamelAnnotationsHandler.java:403) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelSpringTestHelper.doToSpringCamelContexts(CamelSpringTestHelper.java:108) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.handleCamelContextStartup(CamelAnnotationsHandler.java:400) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.beforeTestMethod(CamelSpringBootExecutionListener.java:105) > ~[camel-test-spring-junit5-4.3.0.jar:4.3.0] > at > org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:299) > ~[spring-test-6.1.1.jar:6.1.1] > at > org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) > ~[spring-test-6.1.1.jar:6.1.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachCallbacks$2(TestMethodTestDescriptor.java:167) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$6(TestMethodTestDescriptor.java:203) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:203) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeEachCallbacks(TestMethodTestDescriptor.java:166) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:133) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) > ~[junit-jupiter-engine-5.10.1.jar:5.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) ~[na:na] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) > ~[junit-platform-engine-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) > ~[junit-platform-launcher-1.10.1.jar:1.10.1] > at > org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:162) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:120) > ~[surefire-junit-platform-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) > ~[surefire-booter-3.1.2.jar:3.1.2] > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) > ~[surefire-booter-3.1.2.jar:3.1.2] > at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) > ~[surefire-booter-3.1.2.jar:3.1.2] > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) > ~[surefire-booter-3.1.2.jar:3.1.2] > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: There are 1 > parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:845) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:745) > ~[camel-base-engine-4.3.0.jar:4.3.0] > at > org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) > ~[camel-support-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:45) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:37) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:870) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:610) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:213) > ~[camel-core-reifier-4.3.0.jar:4.3.0] > ... 71 common frames omitted > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > There are 1 parameters that couldn't be set on the endpoint. Check the uri if > the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:302) > ~[camel-support-4.3.0.jar:4.3.0] > at > org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191) > ~[camel-support-4.3.0.jar:4.3.0] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:811) > ~[camel-base-engine-4.3.0.jar:4.3.0] > ... 78 common frames omitted > > 2023-12-15T08:35:13.822-05:00 INFO 91663 --- [ main] > c.t.s.j.CamelSpringBootExecutionListener : CamelSpringBootExecutionListener > after: class sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 > s <<< FAILURE! -- in sample.camel.MyCamelApplicationJUnit5Test > [ERROR] sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages -- > Time elapsed: 0.009 s <<< ERROR! > org.apache.camel.FailedToCreateRouteException: Failed to create route route3 > at: >>> To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in > route: Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... > because of Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:217) > at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:76) > at > org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:724) > at > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:590) > at > org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2364) > at org.apache.camel.support.service.BaseService.init(BaseService.java:78) > at > org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2000) > at org.apache.camel.support.service.BaseService.start(BaseService.java:105) > at > org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2019) > at > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:208) > at > org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:119) > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.lambda$handleCamelContextStartup$1(CamelAnnotationsHandler.java:403) > at > org.apache.camel.test.spring.junit5.CamelSpringTestHelper.doToSpringCamelContexts(CamelSpringTestHelper.java:108) > at > org.apache.camel.test.spring.junit5.CamelAnnotationsHandler.handleCamelContextStartup(CamelAnnotationsHandler.java:400) > at > org.apache.camel.test.spring.junit5.CamelSpringBootExecutionListener.beforeTestMethod(CamelSpringBootExecutionListener.java:105) > at > org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:299) > at > org.springframework.test.context.junit.jupiter.SpringExtension.beforeEach(SpringExtension.java:240) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) > at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: There are 1 > parameters that couldn't be set on the endpoint. Check the uri if the > parameters are spelt correctly and that they are properties of the endpoint. > Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:845) > at > org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:745) > at > org.apache.camel.support.CamelContextHelper.resolveEndpoint(CamelContextHelper.java:123) > at org.apache.camel.reifier.SendReifier.resolveEndpoint(SendReifier.java:45) > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:37) > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:870) > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:610) > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:213) > ... 19 more > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve > endpoint: log://yaml?showBodyType=false&showEchangePattern=false due to: > There are 1 parameters that couldn't be set on the endpoint. Check the uri if > the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > at > org.apache.camel.support.DefaultComponent.validateParameters(DefaultComponent.java:302) > at > org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:191) > at > org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:811) > ... 26 more > > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] sample.camel.MyCamelApplicationJUnit5Test.shouldProduceMessages > [ERROR] Run 1: MyCamelApplicationJUnit5Test.shouldProduceMessages » > FailedToCreateRoute Failed to create route route3 at: >>> > To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in route: > Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... because of > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > [ERROR] Run 2: MyCamelApplicationJUnit5Test.shouldProduceMessages » > FailedToCreateRoute Failed to create route route3 at: >>> > To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in route: > Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... because of > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > [ERROR] Run 3: MyCamelApplicationJUnit5Test.shouldProduceMessages » > FailedToCreateRoute Failed to create route route3 at: >>> > To[log:yaml?showBodyType=false&showEchangePattern=false] <<< in route: > Route(route3)[From[timer:yaml?period=3s] -> [OnException[[ja... because of > Failed to resolve endpoint: > log://yaml?showBodyType=false&showEchangePattern=false due to: Failed to > resolve endpoint: log://yaml?showBodyType=false&showEchangePattern=false due > to: There are 1 parameters that couldn't be set on the endpoint. Check the > uri if the parameters are spelt correctly and that they are properties of the > endpoint. Unknown parameters=[\{showEchangePattern=false}] > [INFO] > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 -- This message was sent by Atlassian Jira (v8.20.10#820010)