INT-1301 MessagingTemplate methods now return void instead of boolean, but they throw Exceptions if the underlying channel send() invocation returns false.
This commit is contained in:
@@ -63,8 +63,8 @@ public class ApplicationEventInboundChannelAdapter extends MessageProducerSuppor
|
||||
}
|
||||
}
|
||||
|
||||
private boolean sendEventAsMessage(ApplicationEvent event) {
|
||||
return this.sendMessage(MessageBuilder.withPayload(event).build());
|
||||
private void sendEventAsMessage(ApplicationEvent event) {
|
||||
this.sendMessage(MessageBuilder.withPayload(event).build());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user