Re: session sharing question

2022-12-23 Thread Justin Bertram
The javax.jms.Queue and javax.jms.Topic objects have no explicit correlation to any resource on the broker. Holding them has no impact on broker operation. The JavaDoc [1] for the createQueue method states: > Note that this method simply creates an object that encapsulates the name of a queue. It

RE: session sharing question

2022-12-23 Thread John Lilley
Justin, I am in the process of transforming our code to use a pool of sessions and producers. But I have a question about resource use. We tend to have a lot of queues, because each “job” gets its own queue, and there might be 300 jobs that come and go every hour. When using a JMS client, do