org.springframework.integration.handler.annotation
Annotation Type HeaderProperty
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
@Documented
public @interface HeaderProperty
Annotation indicating that a method parameter's value should be
retrieved from a property in the message header. The value of
the annotation provides the property key, and the optional
'required' property specifies whether the property 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