Fwd: I could not use .transacted() in camel route with SpringBoot, got exception

2019-03-08 Thread Wang Yan
thanks for the hints i tried below code to get PlatformTransactionManager instance from spring boot context but it failed with below exceptions. do i need more configurations for getting the instance of PlatformTransactionManager ? @Resource private PlatformTransactionManager

Re: I could not use .transacted() in camel route with SpringBoot, got exception

2019-03-07 Thread Willem Jiang
The transacted DSL is built on top of Spring PlatformTransactionManager. If you want to use the transacted with Spring Boot, you need to make sure you can get PlatformTransactionManager from the application context. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Fri, Mar 8, 2019 at 4:46

I could not use .transacted() in camel route with SpringBoot, got exception

2019-03-07 Thread Wang Yan
I could not use .transacted() in camel route with SpringBoot, got exception No bean could be found in the registry of type: PlatformTransactionManager" Is it expected behavior for SpringBoot+Camel setup? below is example of the code