Package org.apache.camel.component.jdbc
Interface ConnectionStrategy
- All Known Implementing Classes:
DefaultConnectionStrategy
public interface ConnectionStrategy
Pluggable strategy for working with
Connection
with the JdbcProducer
.-
Method Summary
Modifier and TypeMethodDescriptiongetConnection
(DataSource dataSource) boolean
isConnectionTransactional
(Connection connection, DataSource dataSource)
-
Method Details
-
getConnection
- Throws:
Exception
-
isConnectionTransactional
-