GH-1937 Remove error handling from reactive function bootstrap

Resolves #1937
This commit is contained in:
Oleg Zhurakousky
2020-06-17 15:52:51 +02:00
parent 9aa6eab026
commit 10fc8dea30

View File

@@ -389,10 +389,7 @@ public class FunctionConfiguration {
Iterator<String> outputBindingIter = outputBindingNames.iterator();
((Iterable) resultPublishers).forEach(publisher -> {
Flux flux = Flux.from((Publisher) publisher)
.onErrorContinue((ex, pay) -> {
logger.error("Failed to process the following content which will be dropped: " + pay, (Throwable) ex);
});
Flux flux = Flux.from((Publisher) publisher);
if (!CollectionUtils.isEmpty(outputBindingNames)) {
MessageChannel outputChannel = this.applicationContext.getBean(outputBindingIter.next(), MessageChannel.class);
flux = flux.doOnNext(message -> {