Annotation Interface SolaceQueue


@Retention(RUNTIME) @Target({PARAMETER,ANNOTATION_TYPE}) public @interface SolaceQueue
Provision a queue on the Solace broker.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the queue that is provisioned on the broker.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The queue accessType.
    boolean
    Whether the queue is automatically registered with other resources like ConnectorArgBuilder and SolaceMessaging.
    int
    The maximum message size in bytes Default 10000000
    long
    The maximum number of time the queue will deliver the message.
    boolean
    Whether message redelivery is enabled; set to false so that a message is never redelivered.
  • Element Details

    • name

      String name
      The name of the queue that is provisioned on the broker. Must match pattern '^(input|output)-([0-9]|1[0-9])(-.*)?$' For instance: input-0, input-10, output-1, output-19, input-0-customizer, output-1-for-abc
    • autoRegistered

      boolean autoRegistered
      Whether the queue is automatically registered with other resources like ConnectorArgBuilder and SolaceMessaging. When set to false, the naming convention does not apply and any queue name can be used. Default true
      Default:
      true
    • accessType

      The queue accessType. Default AccessType.NON_EXCLUSIVE
      Default:
      NON_EXCLUSIVE
    • maxRedeliveryCount

      long maxRedeliveryCount
      The maximum number of time the queue will deliver the message. Default 1
      Default:
      1L
    • redeliveryEnabled

      boolean redeliveryEnabled
      Whether message redelivery is enabled; set to false so that a message is never redelivered. Default true
      Default:
      true
    • maxMsgSize

      int maxMsgSize
      The maximum message size in bytes Default 10000000
      Default:
      10000000