Just use ibatis as the component name in your java dsl as shown here
However that requires the sqlMapConfig.xml file to be in the root of the classpath for IBatisComponent to be able to load it.
If you have the file loacated elsewhere, you can set it on the IBatisComponent which you can configure in the camel xml file also
Ibatis works in my project:
But I need in Processor use connection from Ibatis to call stored procedure from database:
Connection conn = null;
CallableStatement cstmtRequest = null;
conn = ...;
You could possible get the iBatis SqlMapClient from the IBatisComponent and/or the endpoint. And I would assume that API may have a way of getting a connection / API to invoke a stored procedure.
Thank you for reply