Skip to content

Spring Integration 2.0 to 2.1 Migration Guide

ghillert edited this page Jan 3, 2012 · 44 revisions

Spring Integration 2.0 to 2.1 Migration Guide

For reference see: https://jira.springsource.org/browse/INT-2324

Dependencies

XML Schema Changes

Removed Classes

Removed and/or removed Methods

Deprecations

Functional Changes

Routers

Since Spring Integration 2.1 the ignore-channel-name-resolution-failures attribute is removed in favor of consolidating its behavior with the resolution-required attribute. Also, the resolution-required attribute now defaults to true. Prior to these changes, the resolution-required attribute defaulted to false causing messages to be silently dropped when no channel was resolved and no default-output-channel was set. The new behavior will require at least one resolved channel and by default will throw a MessageDeliveryException if no channel was determined (or an attempt to send was not successful).

If you desire to drop messages silently simply set:

default-output-channel="nullChannel"

Configuration Changes

Clone this wiki locally