Hi,

You need to ask Red Hat support about Red Hat product.

BTW found a related topic
http://camel.465427.n5.nabble.com/blueprint-myBatis-transactions-td5764629.html

Thanks,
Tomo


On 04/26/2017 05:51 AM, imranrazakhan wrote:
Hi,

I am configuring Apache Camel MyBatis route in Jboss Fuse, but getting error

"Unable to convert value org.mybatis.spring.SqlSessionFactoryBean@3de15b24
to type org.apache.ibatis.session.SqlSessionFactory"

I verified only camel-mybatis is installed in jboss, it look like it still
expecting old ibatis

My Config:
<bean id="sqlSessionFactory"
class="org.mybatis.spring.SqlSessionFactoryBean">
         <property name="dataSource" ref="mySqlDS"/>
         <property name="configLocation" ref="mybatisConfig"/>
         <property name="mapperLocations">
                <array value-type="org.springframework.core.io.Resource">
                <bean class="org.springframework.core.io.ClassPathResource">
                        <argument value="xyz.xml" />
                </bean>
                </array>
                </property>
     </bean>

     <bean id="mybatis"
class="org.apache.camel.component.mybatis.MyBatisComponent">
         <property name="sqlSessionFactory" ref="sqlSessionFactory"/>
     </bean>





--
View this message in context: 
http://camel.465427.n5.nabble.com/Unable-to-convert-value-org-mybatis-spring-SqlSessionFactoryBean-3de15b24-to-type-org-apache-ibatis-y-tp5798274.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to