Return the configured receive operation timeout value.
Return the configured receive-timeout header. @since 5.0
Return the configured default send operation timeout value.
Return the configured send-timeout header. @since 5.0
Configure the default timeout value to use for receive operations. May be overridden for individual messages when using sendAndReceive operations. @param receiveTimeout the receive timeout in milliseconds @see #setReceiveTimeoutHeader(string)
Set the name of the header used to determine the send timeout (if present). Default {@value #DEFAULT_RECEIVE_TIMEOUT_HEADER}. The header is removed before sending the message to avoid propagation. @since 5.0
Configure the default timeout value to use for send operations. May be overridden for individual messages. @param sendTimeout the send timeout in milliseconds @see #setSendTimeoutHeader(string)
Set the name of the header used to determine the send timeout (if present). Default {@value #DEFAULT_SEND_TIMEOUT_HEADER}. <p>The header is removed before sending the message to avoid propagation. @since 5.0
Whether the thread sending a reply should have an exception raised if the receiving thread isn't going to receive the reply either because it timed out, or because it already received a reply, or because it got an exception while sending the request message. <p>The default value is {@code false} in which case only a WARN message is logged. If set to {@code true} a {@link MessageDeliveryException} is raised in addition to the log message. @param throwExceptionOnLateReply whether to throw an exception or not
The default header key used for a receive timeout.
The default header key used for a send timeout.
A messaging template that resolves destinations names to {@link MessageChannel}'s to send and receive messages from.
@author Mark Fisher @author Rossen Stoyanchev @author Gary Russell @since 4.0