Spring Bean Custom Scope JMS

前端 未结 2 436
南旧
南旧 2021-01-18 14:51

I am using Spring Framework to concurrently consume messages off of a JMS queue using a DefaultMessageListenerContainer. I want the abilit

2条回答
  •  被撕碎了的回忆
    2021-01-18 15:24

    Use SimpleThreadScope implementation which come with Spring

    http://docs.spring.io/spring/docs/3.0.x/api/org/springframework/context/support/SimpleThreadScope.html

提交回复
热议问题