THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
URI format
Code Block |
---|
ibatis:entityName 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
Code Block |
---|
from("ibatis:selectAllAccounts").
to("activemq:MyQueue");
|
Or to consume beans from a JMS queue and insert them into a database you could do...
Code Block |
---|
from("activemq:MySome.Queue"). to("velocity:com/acme/MyResponse.vmibatis:insertAccount"); |
...
Options
Name | Default Value | Description |
---|
...