spring-framework / org.springframework.messaging.support / IdTimestampMessageHeaderInitializer / setEnableTimestamp

setEnableTimestamp

open fun setEnableTimestamp(enableTimestamp: Boolean): Unit

Whether to enable the automatic addition of the org.springframework.messaging.MessageHeaders#TIMESTAMP header on MessageHeaderAccessor instances being initialized.

By default this property is set to false.