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:
Mark Fisher
2010-07-29 21:14:24 +00:00
parent 00d1713981
commit 164023c8bc
13 changed files with 76 additions and 61 deletions

View File

@@ -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