iBATIS
The ibatis: component allows you to query, poll, insert, update and delete data in a relational database using Apache iBATIS.
URI format
ibatis:operationName
Where operationName is the name in the iBATIS XML configuration file which maps to the query, insert, update or delete operation you wish to evaluate.
For example if you wish to poll a database for rows using iBATIS and then send them to a JMS Queue via ActiveMQ you could do
from("ibatis:selectAllAccounts"). to("activemq:MyQueue");
Or to consume beans from a JMS queue and insert them into a database you could do...
from("activemq:Some.Queue"). to("ibatis:insertAccount");
Options
Name |
Default Value |
Description |
---|