您觉得本文档还缺少什么内容?可以自己补充~

更多配置参考spring boot 集成 rabbitmq:

bc:
  rabbitmq:
    # 若系统中有使用了mq ,则一定不能设置成false
    enabled: false
    ip: 127.0.0.1
    port: 5672
    username: 'root'
    password: 'root'

spring:
  rabbitmq:
    enabled: ${bc.rabbitmq.enabled}
    host: ${bc.rabbitmq.ip}
    port: ${bc.rabbitmq.port}
    username: ${bc.rabbitmq.username}
    password: ${bc.rabbitmq.password}
    listener:
      type: direct # simple direct

results matching ""

    No results matching ""