Skip to content

Spring Integration 6.3 to 6.4 Migration Guide

Artem Bilan edited this page Jul 3, 2024 · 3 revisions

Deprecate LobHandler usage

With modern drivers we don't need BLOB-specific handling anymore. The regular PreparedStatement.setBytes() and ResultSet.getBytes() are enough for our serialized messages. Therefore a LobHandler option of the JdbcChannelMessageStore, JdbcMessageStore, ChannelMessageStorePreparedStatementSetter and MessageRowMapper is deprecated with no replacement.

Improve JdbcLockRegistry and RedisLockRegistry

The unlock() operation of JdbcLockRegistry and RedisLockRegistry now throws a ConcurrentModificationException when the data in DB cannot be marked as unlocked properly. Also, the LockRepository.delete() now returns boolean result of unlocking query to notify a JdbcLockRegistry.JdbcLock.unlock() operation to throw a ConcurrentModificationException if delete has failed.