类 SimpMessageHeaderAccessor

  • 直接已知子类:
    StompHeaderAccessor

    public class SimpMessageHeaderAccessor
    extends NativeMessageHeaderAccessor
    A base class for working with message headers in simple messaging protocols that support basic messaging patterns. Provides uniform access to specific values common across protocols such as a destination, message type (e.g. publish, subscribe, etc), session id, and others.

    Use one of the static factory method in this class, then call getters and setters, and at the end if necessary call MessageHeaderAccessor.toMap() to obtain the updated headers.

    从以下版本开始:
    4.0
    作者:
    Rossen Stoyanchev