org.apache.camel.processor.aggregate.jdbc
Interface JdbcOptimisticLockingExceptionMapper

All Known Implementing Classes:
DefaultJdbcOptimisticLockingExceptionMapper

public interface JdbcOptimisticLockingExceptionMapper

Mapper allowing different JDBC vendors to be mapped with vendor specific error codes to an JdbcAggregationRepository.OptimisticLockingException}.


Method Summary
 boolean isOptimisticLocking(Exception cause)
          Checks the caused exception whether its to be considered as an JdbcAggregationRepository.OptimisticLockingException.
 

Method Detail

isOptimisticLocking

boolean isOptimisticLocking(Exception cause)
Checks the caused exception whether its to be considered as an JdbcAggregationRepository.OptimisticLockingException.

Parameters:
cause - the caused exception
Returns:
true if the caused should be rethrown as an JdbcAggregationRepository.OptimisticLockingException.


Apache Camel