Class SqlHelper


  • public final class SqlHelper
    extends Object
    • 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.NoTypeConversionAvailableException
        IOException