spring-framework / org.springframework.messaging.core / GenericMessagingTemplate / setReceiveTimeoutHeader

setReceiveTimeoutHeader

open fun setReceiveTimeoutHeader(receiveTimeoutHeader: String): Unit

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