This content has been marked as final.
Show 3 replies
-
1. Re: Fuse with Mybatis and blueprint
bharadwaj Apr 9, 2015 1:55 AM (in response to atul.k)Hi ,
How are u loading SqlMapConfig.xml in blueprint camel context ? can u share code snippet..
-
2. Re: Fuse with Mybatis and blueprint
atul.k Apr 9, 2015 2:19 AM (in response to bharadwaj)Please find below:
<bean id="mybatisConfig" class="org.springframework.core.io.ClassPathResource">
<argument value="SqlMapConfig.xml" />
</bean>
-
3. Re: Fuse with Mybatis and blueprint
bharadwaj Apr 9, 2015 2:27 AM (in response to atul.k)You can't load xml configuration directly into blueprint config. define your mybatis configuration in blueprint itself. Please refer below code :
https://github.com/apache/camel/tree/master/examples/camel-example-mybatis