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
    Modifier and Type
    Optional Element
    Description
    TTL in duration.
  • Element Details

    • value

      String value
      TTL in duration.

      Default is no TTL/expiration.

      See Also:
      Default:
      "PT0S"