Annotation Interface Argument


@Target({}) @Retention(RUNTIME) public @interface Argument
Represents an argument used when declaring queues etc within a QueueBinding.
Since:
1.6
Author:
Gary Russell
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Return the argument name.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Return the argument value.
    The argument value, an empty string is translated to null for example to represent a present header test for a headers exchange.
  • Element Details

    • name

      String name
      Return the argument name.
      Returns:
      the argument name.
    • value

      String value
      The argument value, an empty string is translated to null for example to represent a present header test for a headers exchange.
      Returns:
      the argument value.
      Default:
      ""
    • type

      String type
      Return the argument value.
      Returns:
      the type of the argument value.
      Default:
      "java.lang.String"