Not able to Stop MQueue listener

前端 未结 1 980
太阳男子
太阳男子 2020-12-20 06:10

I have the following configuration for my MQueue:



        
1条回答
  •  伪装坚强ぢ
    2020-12-20 06:53

    I actually had to set autoStartup to true.

    Since I can't do that using jms:listener-container, I instanciated a DefaultMessageListenerContainer bean and set the autoStartup property to false.

    Here's the code that worked for me :

    
        
        
        
        
    
    
     
        
      
    

    0 讨论(0)
提交回复
热议问题