JMS Session pooling for large numbers of Topic subscribers
- by matthewKizoom
I'm writing an app that will create lots of JMS topic subscribers. What is best practise regarding reusing sessions?
A session per subscriber? A pool of sessions? With a session per subscriber the thread count seems unreasonable. Is this a job for something like a ServerSessionPool? What I've seen so far seems to suggest that ServerSessionPool is more geared towards one receiver consuming messages concurrently rather than lots of receivers.
I'm currently working with HornetQ 2.0.0GA embedded in JBoss 4.3.0CP6.