zhfeng opened a new issue #1197:
URL: https://github.com/apache/camel-quarkus/issues/1197
It looks like failing with
```
Caused by: java.lang.RuntimeException:
org.apache.camel.FailedToCreateRouteException: Failed to create route route1
at: >>> Transacted <<< in route: Route(route1)[From[timer:foo?period=5000] ->
[Transacted]] because of policy must be specified on:
org.apache.camel.reifier.TransactedReifier@61710c6
at
org.apache.camel.quarkus.core.CamelMainRecorder.start(CamelMainRecorder.java:98)
at
io.quarkus.deployment.steps.Main$start29.deploy_0(Main$start29.zig:97)
at io.quarkus.deployment.steps.Main$start29.deploy(Main$start29.zig:36)
at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:153)
... 6 more
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create
route route1 at: >>> Transacted <<< in route:
Route(route1)[From[timer:foo?period=5000] -> [Transacted]] because of policy
must be specified on: org.apache.camel.reifier.TransactedReifier@61710c6
at
org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:393)
at
org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:117)
at
org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:669)
at
org.apache.camel.quarkus.core.FastCamelContext.startRouteDefinitions(FastCamelContext.java:481)
at
org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2598)
at
org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:367)
at
org.apache.camel.support.service.BaseService.init(BaseService.java:83)
at
org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2431)
at org.apache.camel.quarkus.core.CamelMain.doInit(CamelMain.java:49)
at
org.apache.camel.support.service.BaseService.init(BaseService.java:83)
at
org.apache.camel.support.service.BaseService.start(BaseService.java:111)
at
org.apache.camel.quarkus.core.CamelMainRecorder.start(CamelMainRecorder.java:96)
... 9 more
Caused by: java.lang.IllegalArgumentException: policy must be specified on:
org.apache.camel.reifier.TransactedReifier@61710c6
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:171)
at
org.apache.camel.reifier.TransactedReifier.createProcessor(TransactedReifier.java:41)
at
org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:766)
at
org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:511)
at
org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:391)
... 20 more
```
since it does not support the camel-spring and that means we can not use the
SpringTransactedPolicy any more. I wonder it is possible to create a new
QuarkusTransactedPolicy which could leverage the CDITransactionManager from the
narayana-jta extenstion.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]