Class SpringConnectionStrategy

  • All Implemented Interfaces:
    org.apache.camel.component.jdbc.ConnectionStrategy

    public class SpringConnectionStrategy
    extends Object
    implements org.apache.camel.component.jdbc.ConnectionStrategy
    • Constructor Detail

      • SpringConnectionStrategy

        public SpringConnectionStrategy()
    • Method Detail

      • getConnection

        public Connection getConnection​(DataSource dataSource)
                                 throws Exception
        Specified by:
        getConnection in interface org.apache.camel.component.jdbc.ConnectionStrategy
        Throws:
        Exception
      • isConnectionTransactional

        public boolean isConnectionTransactional​(Connection connection,
                                                 DataSource dataSource)
        Specified by:
        isConnectionTransactional in interface org.apache.camel.component.jdbc.ConnectionStrategy