@Documented @Target(value={PARAMETER,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface MetaDataValue
key. If required, and no such MetaData value is available, the handler will not be
invoked.| Modifier and Type | Required Element and Description |
|---|---|
String |
value
The key of the MetaData field to inject as method parameter.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
required
Indicates whether the MetaData must be available in order for the Message handler method to be invoked.
|
public abstract String value
public abstract boolean required
false, in which case null is injected as parameter.
Note that if the annotated parameter is a primitive type, the required property will always be
true.Copyright © 2010–2025. All rights reserved.