Package me.ehp246.aufjms.api.annotation
Annotation Interface OfTtl
Specifies the binding point of the value for
JMSProducer.setTimeToLive(long).
Can be applied to a parameter or a method on a ByJms interface.
When applied to a parameter, Duration or String type is supported.
When applied to a parameter, the specified value is ignored.
When applied to a method, Spring property placeholder is supported.
Only applicable on ByJms interfaces.
- Since:
- 1.0
- Author:
- Lei Yang
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueTTL in duration.Default is no TTL/expiration.
- See Also:
- Default:
- "PT0S"
-