From: genman <do-...@jb...> - 2005-10-03 23:41:38
|
Okay, I think I understand a lot better now. There is an object bound to JNDI that creates the ServerSessionPool which itself is a factory that implements ServerSessionPoolFactory. It seems reasonable to just extend/replace org.jboss.jms.asf.StdServerSessionPool with a version that does as I want. To get a single thread pool, it would make sense, then, to replace StdServerSessionPoolFactory to have threads tied to a pool that this class manages or at least has a reference to. (Each StdServerSessionPool created would share a common thread pool.) I can probably create what I want with this approach, though it would be nice to also change the signature of ServerSessionPoolFactory.getServerSessionPool() to allow for a more generalized configuration parameter object to get passed in. It seems like JCA 1.5 uses a work management model, so perhaps I should just wait for JCA 1.5? http://www-128.ibm.com/developerworks/java/library/j-jca2/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898828#3898828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898828 |