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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...