-
-
Notifications
You must be signed in to change notification settings - Fork 9
component sql
assimbly edited this page Jul 26, 2018
·
6 revisions
The SQL component lets you query a database.
query
for a queue named 'order' just add
select orderid,amount from order
or
insert into order(orderid,amout) values (1,1000)
In order to make a connection to the database you first need to create a service of type "JDBC connection". This service is required.".
- dataSource. Here you set the id of the service (note this option will be automatically set if not configured)
For all options, see Camel documentation