Single queue: concurrent message processing with multiple consumers

后端 未结 3 1578
庸人自扰
庸人自扰 2021-01-22 01:12

I am new to jms. The goal is to process messages concurrently from a queue in an asynchronous listener\'s onMessage method by attaching a listener instance to multiple consume

3条回答
  •  星月不相逢
    2021-01-22 02:01

    Instead in the applicationcontext.xml, where you have made the bean of mail container, you can add concurrent consumer property which would be a better approach.

    
    
        100
    
    
    
    
    

提交回复
热议问题