Annotation Interface OfProperty


@Retention(RUNTIME) @Target(PARAMETER) public @interface OfProperty
When applied to a parameter of a ByJms interface, it specifies the name and argument for Message.setObjectProperty(String, Object).

When applied to a method, Spring property placeholder is supported.

When applied to a parameter of a Invoking method, it specifies the injection point for the value of the named property.

All properties will be set/get via Message.setObjectProperty(String, Object) or Message.getObjectProperty(String) No type checking, conversion or validation will be done.

Since:
1.0
Author:
Lei Yang
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the value.
  • Element Details

    • value

      String value
      The name of the value. Required.
      Default:
      ""