Class SpringConnectionStrategy

java.lang.Object
org.apache.camel.component.spring.jdbc.SpringConnectionStrategy
All Implemented Interfaces:
org.apache.camel.component.jdbc.ConnectionStrategy

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

    • SpringConnectionStrategy

      public SpringConnectionStrategy()
  • Method Details

    • 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