spring-framework / org.springframework.messaging.simp / SimpAttributesContextHolder / setAttributesFromMessage

setAttributesFromMessage

open static fun setAttributesFromMessage(message: Message<*>): Unit

Extract the SiMP session attributes from the given message, wrap them in a SimpAttributes instance and bind it to the current thread,

Parameters

message - the message to extract session attributes from