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

currentAttributes

open static fun currentAttributes(): SimpAttributes

Return the SimpAttributes currently bound to the thread or raise an java.lang.IllegalStateException if none are bound..

Exceptions

java.lang.IllegalStateException - if attributes are not bound

Return
the attributes, never null