JMS performance

前端 未结 3 1672
生来不讨喜
生来不讨喜 2021-02-18 17:05

I\'m having a bit of trouble with understanding JMS from a performance perspective. We have this very straightforward code in our application:

QueueConnection co         


        
3条回答
  •  庸人自扰
    2021-02-18 17:42

    The only thing you need to create again and again is the msg itself - if you are sending to the same queue.

    So yes, you can remember the Connection, Session and Sender.

提交回复
热议问题