-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Spring Integration 6.1 to 6.2 Migration Guide
- Remove unused
ThreadLocalfromRedisStoreMessageSource - Mail module is upgraded to
org.eclipse.angus:jakarta.mail-2.0.2 - Deprecation of the `AbstractChannelMessageStoreQueryProvider
The ThreadLocal<RedisStore> resourceHolder variable in the RedisStoreMessageSource is out of use for a while in favor of IntegrationResourceHolder and its store attribute.
Public methods getResource(), afterCommit(Object object), and afterRollback(Object object) were removed altogether since they haven't done any logic since functionality was migrated to IntegrationResourceHolder.
See Redis Store Inbound Channel Adapter documentation for more information.
The IMAP functionality in Spring Integration has moved to the latest Java Mail implementation with Eclipse Angus.
So, the com.sun.mail.imap package has been replaced with org.eclipse.angus.mail.imap.
Methods from the AbstractChannelMessageStoreQueryProvider have been moved to the super ChannelMessageStoreQueryProvider interface as default.
Since there is no more functionality in the AbstractChannelMessageStoreQueryProvider class, it was deprecated (for removal) and its usage in the implementations was replaced with just the super ChannelMessageStoreQueryProvider interface.
Therefore there might be some breaking change where this AbstractChannelMessageStoreQueryProvider is used directly in the target projects.
Consider to migrate to the mentioned super ChannelMessageStoreQueryProvider interface.