Spring integration - Queue/Poller seems to exhaust threadpool without any action

后端 未结 2 1309
深忆病人
深忆病人 2020-12-21 04:47

I have a Spring integration app, attached to an AMQP broker.

I want to receive messages from an amqp-queue, and update db records.

In order to improve perfor

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-21 05:14

    It appears I needed a bridge to map between the amqp-inbound queue (which is a pub/sub style queue), and a queue-channel.

    
    
    
    
    
    
        
    
    
    
        
    
    
    
    

    This seems like a LOT of code to achieve a fairly trivial task - so if anyone has better solutions, or suggestions for improvements, I'd love to see them.

提交回复
热议问题