/** * @param discardChannel the discard channel. * @return the handler spec. * @see AbstractCorrelatingMessageHandler#setDiscardChannel(MessageChannel) */ public S discardChannel(MessageChannel discardChannel) { Assert.notNull(discardChannel, "'discardChannel' must not be null."); this.handler.setDiscardChannel(discardChannel); return _this(); }
handler.setDiscardChannel(discards); handler.setSendPartialResultOnExpiry(true);
/** * @param discardChannel the discard channel. * @return the handler spec. * @see AbstractCorrelatingMessageHandler#setDiscardChannel(MessageChannel) */ public S discardChannel(MessageChannel discardChannel) { Assert.notNull(discardChannel, "'discardChannel' must not be null."); this.handler.setDiscardChannel(discardChannel); return _this(); }
/** * @param discardChannel the discard channel. * @return the handler spec. * @see AbstractCorrelatingMessageHandler#setDiscardChannel(MessageChannel) */ public S discardChannel(MessageChannel discardChannel) { Assert.notNull(discardChannel, "'discardChannel' must not be null."); this.handler.setDiscardChannel(discardChannel); return _this(); }
/** * @param discardChannel the discard channel. * @return the handler spec. * @see AbstractCorrelatingMessageHandler#setDiscardChannel(MessageChannel) */ public S discardChannel(MessageChannel discardChannel) { Assert.notNull(discardChannel, "'discardChannel' must not be null."); this.handler.setDiscardChannel(discardChannel); return _this(); }