-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Spring Integration 5.4 to 5.5 Migration Guide
Artem Bilan edited this page Jan 28, 2021
·
13 revisions
The global default errorCahnnel
, created by the Framework automatically (if doesn't exists), now supplied with two configuration properties:
-
spring.integration.channels.error.requireSubscribers=true
global property is added to indicate that global defaulterrorChannel
must be configured with therequireSubscribers
option (or not); -
spring.integration.channels.error.ignoreFailures=true
global property is added to indicate that global defaulterrorChannel
must ignore (or not) dispatching errors and pass the message to the next handler.
They are made as true
by default for better end-user experience when there is no subscribers to handle errors or when one of the subscribers fails and the rest should process an error yet.
If the application logic is based on a default (false
) value for those options, it is better to reconsider configuration in favor of custom error channel (not global), or change those properties in the META-INF/spring.integration.properties
file.