Package me.ehp246.aufjms.api.annotation
Annotation Interface OfDelay
When applied to a parameter of a ByJms interface, it specified
the argument should be used for
MessageProducer.setDeliveryDelay(long).
If applied to multiple parameters, only the first applies.
When applied to a parameter, the parameter type must be Duration. The value of the annotation is ignored.
Can be applied to a method as well.
When applied to method, Spring property placeholder is supported.
- Since:
- 1.0
- Author:
- Lei Yang
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Default:
- "PT0S"
-