Skip to content

Spring Integration 5.3 to 5.4 Migration Guide

Artem Bilan edited this page Sep 15, 2020 · 3 revisions

Table of Contents

Java DSL changes

The IntegrationFlows.from(Supplier<T>) has been replaced with the IntegrationFlows.fromSupplier(Supplier<T>) since the IntegrationFlows.from(MessageSource<?>) has the same semantics and doesn't compile on Java 14.

MongoDb changes

The value in the message sequence document has been changes from int to long. It is recommended to remove messagesSequence document and let the framework to recreate it on demand. Of course the message store has to be cleared from existing (old) documents to let the sequence to be unique on the next application lifecycle.