Reason for a JMS Session object to be used in a single threaded context

后端 未结 2 1126
既然无缘
既然无缘 2021-01-06 15:23

I am a newbie to JMS. So this may be a really noob question for the experts out here in SO. However I am having difficulty trying to grok one very important concept of how J

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-06 15:55

    The Session class handles transactions. So while there is normally only one Connection, you can have multiple threads having their own session context, each with its individual transaction context.

提交回复
热议问题