Annotation Type 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
      java.lang.String name
      Return the argument name.
    • Optional Element Summary

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

      • name

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

        java.lang.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

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