MessageHeader
instead@Documented @Retention(value=RUNTIME) @Target(value={PARAMETER,TYPE,METHOD}) @Repeatable(value=Headers.class) @Bindable @Deprecated public @interface Header
An annotation that can be applied to method argument to indicate that the method argument is bound from a message header.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Deprecated.
If used on a class level with @Headers this is the header name and value is the value.
|
java.lang.String |
value
Deprecated.
If used as a bound parameter, this is the header name.
|