Spring引导、ActiveMQ生产者阻塞和侦听器未处理的消息

Spring引导、ActiveMQ生产者阻塞和侦听器未处理的消息,spring,spring-boot,activemq,Spring,Spring Boot,Activemq,我正在使用外部activemq实例运行spring boot starter activemq的spring boot 2.3.5 所有生产者和消费者都在同一个应用程序中运行,消息流如下所示: RestController exposing a single endpoint (processing time < 5ms, produces 1 message) -> Update state of the requesting client (processing time <

我正在使用外部activemq实例运行spring boot starter activemq的spring boot 2.3.5

所有生产者和消费者都在同一个应用程序中运行,消息流如下所示:

RestController exposing a single endpoint (processing time < 5ms, produces 1 message)
-> Update state of the requesting client (processing time < 2ms, produces 3 messages)
--> Update associated user profile (processing time < 2ms)
--> Update associated statistics (processing time < 2ms)
--> Update view model (processing time < 3ms)
spring:
  activemq:
    broker-url: tcp://localhost:61616
    user: admin
    password: admin
    non-blocking-redelivery: true
    pool:
      block-if-full: true
      block-if-full-timeout: -1
      idle-timeout: 30000
      max-connections: 50
      time-between-expiration-check: -1
      use-anonymous-producers: true
      max-sessions-per-connection: 500
      enabled: false
  jms:
    listener:
      acknowledge-mode: auto
      auto-startup: true
      concurrency: 100
      max-concurrency: 200
    pub-sub-domain: false
    template:
      default-destination:
      delivery-mode: non_persistent
      priority: 100
      qos-enabled: true
      receive-timeout: 1000
      time-to-live: 36000

您是否注意到您的配置中禁用了池(
已启用:false
)?大多数情况下,池对解决ActiveMQ的性能问题有很大帮助。激活池是否也存在同样的问题?