org.springframework.messaging.handler.annotation

Annotation Type Headers



  • @Target(value=PARAMETER)
     @Retention(value=RUNTIME)
     @Documented
    public @interface Headers
    Annotation which indicates that a method parameter should be bound to the headers of a message. The annotated parameter must be assignable to Map with String keys and Object values.
    Since:
    4.0
    Author:
    Rossen Stoyanchev