Package me.ehp246.aufjms.api.annotation
Annotation Interface OfDelay
Specifies the argument value should be passed to
MessageProducer.setDeliveryDelay(long).
If applied to multiple parameters, only the first is accepted.
When applied to a parameter on a ByJms interface, its type must be String or Duration. The value of the annotation is ignored.
Can be applied to a method.
When applied to method, Spring property placeholder is supported.
Only applicable to ByJms interfaces.
- Since:
- 1.0
- Author:
- Lei Yang
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Default:
- "PT0S"
-