org.springframework.integration.handler.annotation
Annotation Type HeaderAttribute
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
@Documented
public @interface HeaderAttribute
Annotation indicating that a method parameter's value should be
retrieved from an attribute in the message header. The value of
the annotation provides the attribute key, and the optional
'required' property specifies whether the attribute value must
be available within the header.
- Author:
- Mark Fisher
value
public abstract java.lang.String value
- Default:
- ""
required
public abstract boolean required
- Default:
- true