Annotation Type QueueBinding


  • @Target({})
    @Retention(RUNTIME)
    public @interface QueueBinding
    Defines a queue, the exchange it is to be bound to, and an optional binding key; used with @RabbitListener.
    Since:
    1.5
    Author:
    Gary Russell, Alex Panchenko
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] admins
      Return a list of admin bean names that should declare this component.
      Argument[] arguments  
      java.lang.String declare  
      java.lang.String ignoreDeclarationExceptions  
      java.lang.String[] key  
    • Element Detail

      • value

        Queue value
        Returns:
        the queue.
      • exchange

        Exchange exchange
        Returns:
        the exchange.
      • key

        java.lang.String[] key
        Returns:
        the routing key or pattern for the binding. Multiple elements will result in multiple bindings.
        Default:
        {}
      • ignoreDeclarationExceptions

        java.lang.String ignoreDeclarationExceptions
        Returns:
        true if the declaration exceptions should be ignored.
        Since:
        1.6
        Default:
        "false"
      • arguments

        Argument[] arguments
        Returns:
        the arguments to apply when declaring this binding
        Since:
        1.6
        Default:
        {}
      • declare

        java.lang.String declare
        Returns:
        true if the admin(s), if present, should declare this component.
        Since:
        2.1
        Default:
        "true"
      • admins

        java.lang.String[] admins
        Return a list of admin bean names that should declare this component. By default all admins will declare it
        Returns:
        the bean names
        Since:
        2.1
        Default:
        {}