[jboss-dev-forums] [Design of JBoss ESB] - Re: JmsConnectionPool: Allowing control over the number of S
tfennelly
do-not-reply at jboss.com
Tue May 12 05:08:13 EDT 2009
Yeah... the name of the JmsConnectionPool class is probably confusing the situation a bit, since it's really pooling session.
Anyway... yes... as I see it, the JmsConnectionPool interface would remain as is. The mods would all be internal to the JmsConnectionPool class.
I think the Session->Connection relationship can be tracked easily in either case. I think it will be 6 of one half dozen of the other. With option #1 you'd have a slightly more complicated "free session" lookup because you'd need to look in multiple pools. With option #2 you'd have a slightly more complex lookup of all sessions associated with a connection (e.g. for connection cleanup) because they're all in one pool. In either case, it's not rocket science anyway.
I'll post back soon with more specific details.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4230344#4230344
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230344
More information about the jboss-dev-forums
mailing list