Package | Description |
---|---|
org.springframework.messaging.simp |
Generic support for Simple Messaging Protocols including protocols such as STOMP.
|
Modifier and Type | Method and Description |
---|---|
static SimpAttributes |
SimpAttributesContextHolder.currentAttributes()
Return the SimpAttributes currently bound to the thread or raise an
IllegalStateException if none are bound. |
static SimpAttributes |
SimpAttributes.fromMessage(Message<?> message)
Extract the SiMP session attributes from the given message and
wrap them in a
SimpAttributes instance. |
static SimpAttributes |
SimpAttributesContextHolder.getAttributes()
Return the SimpAttributes currently bound to the thread.
|
Modifier and Type | Method and Description |
---|---|
static void |
SimpAttributesContextHolder.setAttributes(SimpAttributes attributes)
Bind the given SimpAttributes to the current thread.
|