类 QueueConfig

java.lang.Object
cn.myafx.rabbitmq.QueueConfig

public class QueueConfig extends Object
队列配置
  • 字段详细资料

    • Queue

      public String Queue
      队列
    • RoutingKey

      public String RoutingKey
      队列路由key
    • DelayQueue

      public String DelayQueue
      延迟队列
    • DelayRoutingKey

      public String DelayRoutingKey
      延迟队列路由key
    • Durable

      public boolean Durable
      队列是否持久化,默认true
    • Exclusive

      public boolean Exclusive
      连接断开是否删除队列,默认false
    • AutoDelete

      public boolean AutoDelete
      当已经没有消费者时,服务器是否可以删除该Exchange, 默认false
    • Exchange

      public String Exchange
      默认amq.direct
    • QueueArguments

      public Map<String,Object> QueueArguments
      队列参数
    • BindArguments

      public Map<String,Object> BindArguments
      队列绑定交换器参数
    • IsRoutingKeyParam

      public boolean IsRoutingKeyParam
      路由key是否加参数
    • IsQueueParam

      public boolean IsQueueParam
      队列是否加参数
  • 构造器详细资料

    • QueueConfig

      public QueueConfig()
  • 方法详细资料

    • copy

      public QueueConfig copy()
      copy
      返回:
      QueueConfig