Skip to content

Commit e2b398a

Browse files
committed
Adapt to the latest Reactor
1 parent a4ffddf commit e2b398a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-integration-core/src/main/java/org/springframework/integration/channel/FluxMessageChannel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public void subscribeTo(Publisher<Message<?>> publisher) {
8282
ConnectableFlux<?> connectableFlux =
8383
Flux.from(publisher)
8484
.handle((message, sink) -> sink.next(send(message)))
85-
.onErrorContinue()
85+
.onErrorContinue((throwable, o) -> logger.warn("Error during processing event: " + o, throwable)
86+
)
8687
.doOnComplete(() -> this.publishers.remove(publisher))
8788
.hide() // TODO remove after upgrade to Reactor 3.1.9.RELEASE or later
8889
.publish();

0 commit comments

Comments
 (0)