open class IdTimestampMessageHeaderInitializer : MessageHeaderInitializer
A org.springframework.messaging.support.MessageHeaderInitializer to customize the strategy for ID and TIMESTAMP message header generation.
Author
Rossen Stoyanchev
Since
4.1
IdTimestampMessageHeaderInitializer()
A org.springframework.messaging.support.MessageHeaderInitializer to customize the strategy for ID and TIMESTAMP message header generation. |
open fun getIdGenerator(): IdGenerator
Return the configured |
|
open fun initHeaders(headerAccessor: MessageHeaderAccessor): Unit |
|
open fun isEnableTimestamp(): Boolean
Return whether the timestamp header is enabled or not. |
|
open fun setDisableIdGeneration(): Unit
A shortcut for calling |
|
open fun setEnableTimestamp(enableTimestamp: Boolean): Unit
Whether to enable the automatic addition of the By default this property is set to false. |
|
open fun setIdGenerator(idGenerator: IdGenerator): Unit
Configure the IdGenerator strategy to initialize By default this property is set to To have no ids generated at all, see |