Annotation Interface OfType


@Retention(RUNTIME) @Target({METHOD,PARAMETER}) public @interface OfType
Specifies the value for Message.setJMSType(String).

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:
      ""