Annotation Interface OfType


@Retention(RUNTIME) @Target({METHOD,PARAMETER}) public @interface OfType
Specifies the binding point of the value for Message.setJMSType(String). The annotation can be applied on both the client side, i.e., ByJms interfaces, and the server side, i.e., ForJmsType classes.

Can be applied to a parameter or a method on a ByJms interface.

When applied to a parameter, only String type is supported.

When applied to a parameter, the specified value is ignored.

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

Since:
1.0
Author:
Lei Yang
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      ""