Package org.apache.camel.component.sql
Class SqlHelper
- java.lang.Object
-
- org.apache.camel.component.sql.SqlHelper
-
public final class SqlHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringresolveQuery(org.apache.camel.CamelContext camelContext, String query, String placeholder)Resolve the query by loading the query from the classpath or file resource if needed.
-
-
-
Method Detail
-
resolveQuery
public static String resolveQuery(org.apache.camel.CamelContext camelContext, String query, String placeholder) throws org.apache.camel.NoTypeConversionAvailableException, IOException
Resolve the query by loading the query from the classpath or file resource if needed.- Throws:
org.apache.camel.NoTypeConversionAvailableExceptionIOException
-
-