use of org.apache.camel.component.mybatis.MyBatisBeanComponent in project camel-quarkus by apache.
the class CamelMyBatisRecorder method createMyBatisBeanComponent.
public RuntimeValue<MyBatisBeanComponent> createMyBatisBeanComponent(RuntimeValue<SqlSessionFactory> sqlSessionFactory) {
MyBatisBeanComponent component = new MyBatisBeanComponent();
component.setSqlSessionFactory(sqlSessionFactory.getValue());
return new RuntimeValue<>(component);
}
Aggregations