public static interface SqlEndpointBuilderFactory.SqlBuilders
| Modifier and Type | Method and Description |
|---|---|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
sql(String path)
SQL (camel-sql)
Perform SQL queries using Spring JDBC.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder |
sql(String componentName,
String path)
SQL (camel-sql)
Perform SQL queries using Spring JDBC.
|
default SqlEndpointBuilderFactory.SqlEndpointBuilder sql(String path)
sql:query
Path parameter: query (required)
Sets the SQL query to perform. You can externalize the query by using
file: or classpath: as prefix and specify the location of the file.path - querydefault SqlEndpointBuilderFactory.SqlEndpointBuilder sql(String componentName, String path)
sql:query
Path parameter: query (required)
Sets the SQL query to perform. You can externalize the query by using
file: or classpath: as prefix and specify the location of the file.componentName - to use a custom component name for the endpoint
instead of the default namepath - queryApache Camel