Expose error.ignoreFailures global property (#3481)
* Expose `error.ignoreFailures` global property The global default `errorChannel` can have more then only one logging subscriber. There is no guarantee in which order subscribers are called and one of them fails the rest are not called. * Expose `spring.integration.channels.error.ignoreFailures` global property for default `errorChannel` and make it `true` by default for better end-user experience when it is expected to have error being handled by all the subscribers * * Fix language in the `whats-new.adoc` * * Fix `JmsTests` for error channel to propagate an exception * More language fixes for whats-new.adoc Co-authored-by: Gary Russell <grussell@vmware.com> Co-authored-by: Gary Russell <grussell@vmware.com>
This commit is contained in:
@@ -41,6 +41,8 @@ public class ErrorChannelAutoCreationTests {
|
||||
assertThat(this.errorChannel).isInstanceOf(PublishSubscribeChannel.class);
|
||||
assertThat(TestUtils.getPropertyValue(this.errorChannel, "dispatcher.requireSubscribers", Boolean.class))
|
||||
.isTrue();
|
||||
assertThat(TestUtils.getPropertyValue(this.errorChannel, "dispatcher.ignoreFailures", Boolean.class))
|
||||
.isTrue();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user