JMS Session pooling for large numbers of Topic subscribers

Posted by matthewKizoom on Stack Overflow See other posts from Stack Overflow or by matthewKizoom
Published on 2010-04-29T15:03:13Z Indexed on 2010/04/29 15:07 UTC
Read the original article Hit count: 421

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about jms

Related posts about hornetq