-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Spring Integration 5.0 to 5.1 Migration Guide
Artem Bilan edited this page Apr 23, 2018
·
16 revisions
- move
StaticMessageHeaderAccessor
to rootintegration
package - move acknowledgment related classes to a new
acks
package - move
MMIH
tohandler.support
, alongside argument resolvers, alsoHandlerMethodArgumentResolversHolder
- move
ErrorMessagePublisher
tocore
- move
PatternMatchUtils
tosupport.utils
- move
MessageSourceManagement
tosupport.management
- remove direct reference to
MicrometerMetricsCapter
fromIntegrationManagementSupport
- add new class
MetricsCaptorLoader
- move
OperationsCallback
to inner interface inRemoteFileOperations
- move
HttpContextUtils
toconfig
- move
IntegrationManagementConfigurer
frommanagement
toconfig
- make
graph
a top-level package - move classes from
config.dsl
package todsl
one - rename core
event
package toevents
The IntegrationFlowContext
is now an interface and IntegrationFlowRegistration
is an inner interface of the IntegrationFlowContext
.
Exceptions caught and re-thrown by AbstractDispatcher
are now more consistent:
- A
MessagingException
of any kind, with afailedMessage
property, is re-thrown unchanged - All other exceptions are wrapped in a
MessageDeliveryException
with thefailedMessage
property set
Previously:
- A
MessagingException
of any kind, with afailedMessage
property, was re-thrown unchanged - A
MessagingException
, with nofailedMessage
property, was wrapped in aMessagingException
with thefailedMessage
property set - Other
RuntimeException
s were re-thrown unchanged - Checked exceptions were wrapped in a
MessageDeliveryException
with thefailedMessage
property set
An integrationSimpleEvaluationContext
bean for the SimpleEvaluationContext
is register now alongside with the integrationEvaluationContext
bean for the StandardEvaluationContext
. Therefore an injection for the EvaluationContext
should be reconsidered for the appropriate bean to use.