You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm quite new to Camel so perhaps I'm using it wrong, however when using Quarkus 2.7.5.Final everything is working fine. Once I upgrade to Quarkus 2.8.0.Final then I get this exception upon start up:
ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.RuntimeCamelException: org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'
at org.apache.camel.RuntimeCamelException.wrapRuntimeException(RuntimeCamelException.java:66)
at org.apache.camel.support.service.BaseService.doFail(BaseService.java:413)
at org.apache.camel.support.service.BaseService.fail(BaseService.java:342)
at org.apache.camel.support.service.BaseService.init(BaseService.java:88)
at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:137)
at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown Source)
at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown Source)
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:103)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:67)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:41)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:120)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
Caused by: org.apache.camel.xml.io.XmlPullParserException: Unexpected attribute '{http://camel.apache.org/schema/spring}uri'
at org.apache.camel.xml.in.BaseParser.handleUnexpectedAttribute(BaseParser.java:203)
at org.apache.camel.xml.in.BaseParser.doParse(BaseParser.java:110)
at org.apache.camel.xml.in.ModelParser.doParsePostDefinition(ModelParser.java:2991)
at org.apache.camel.xml.in.ModelParser.lambda$doParseRestDefinition$79(ModelParser.java:1103)
at org.apache.camel.xml.in.BaseParser.doParse(BaseParser.java:126)
at org.apache.camel.xml.in.ModelParser.doParseRestDefinition(ModelParser.java:1083)
at org.apache.camel.xml.in.ModelParser.lambda$doParseRestsDefinition$217(ModelParser.java:3099)
at org.apache.camel.xml.in.BaseParser.doParse(BaseParser.java:126)
at org.apache.camel.xml.in.ModelParser.doParseRestsDefinition(ModelParser.java:3096)
at org.apache.camel.xml.in.ModelParser.parseRestsDefinition(ModelParser.java:3077)
at org.apache.camel.dsl.xml.io.XmlRoutesBuilderLoader$1.configure(XmlRoutesBuilderLoader.java:56)
at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:633)
at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:579)
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:515)
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:1175)
at org.apache.camel.main.RoutesConfigurer.addDiscoveredRoutes(RoutesConfigurer.java:238)
at org.apache.camel.main.RoutesConfigurer.configureRoutes(RoutesConfigurer.java:213)
at org.apache.camel.quarkus.main.CamelMain.configureRoutes(CamelMain.java:70)
at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:590)
at org.apache.camel.quarkus.main.CamelMain.initCamelContext(CamelMain.java:116)
at org.apache.camel.quarkus.main.CamelMain.doInit(CamelMain.java:86)
at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
... 12 more
I'm quite new to Camel so perhaps I'm using it wrong, however when using Quarkus 2.7.5.Final everything is working fine. Once I upgrade to Quarkus 2.8.0.Final then I get this exception upon start up:
In my pom I have this snippet:
And in my application.properites file I have:
my-rests.xml
looks like this:and
my-routes.xml
looks like this:Is this me using it wrong, or is there an issue?
Thank you for your help.
The text was updated successfully, but these errors were encountered: