@Override public void setThrowExceptionOnLateReply(boolean throwExceptionOnLateReply) { super.setThrowExceptionOnLateReply(throwExceptionOnLateReply); this.throwExceptionOnLateReplySet = true; }
@Override public Message<?> sendAndReceive(MessageChannel destination, Message<?> requestMessage) { if (!this.throwExceptionOnLateReplySet) { synchronized (this) { if (!this.throwExceptionOnLateReplySet) { Properties integrationProperties = IntegrationContextUtils.getIntegrationProperties(this.beanFactory); Boolean throwExceptionOnLateReply = Boolean.valueOf(integrationProperties .getProperty(IntegrationProperties.THROW_EXCEPTION_ON_LATE_REPLY)); super.setThrowExceptionOnLateReply(throwExceptionOnLateReply); this.throwExceptionOnLateReplySet = true; } } } return super.sendAndReceive(destination, requestMessage); }
@Override public void setThrowExceptionOnLateReply(boolean throwExceptionOnLateReply) { super.setThrowExceptionOnLateReply(throwExceptionOnLateReply); this.throwExceptionOnLateReplySet = true; }
@Override public Message<?> sendAndReceive(MessageChannel destination, Message<?> requestMessage) { if (!this.throwExceptionOnLateReplySet) { synchronized (this) { if (!this.throwExceptionOnLateReplySet) { Properties integrationProperties = IntegrationContextUtils.getIntegrationProperties(this.beanFactory); Boolean throwExceptionOnLateReply = Boolean.valueOf(integrationProperties .getProperty(IntegrationProperties.THROW_EXCEPTION_ON_LATE_REPLY)); super.setThrowExceptionOnLateReply(throwExceptionOnLateReply); this.throwExceptionOnLateReplySet = true; } } } return super.sendAndReceive(destination, requestMessage); }