[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - caching the initial session created
ataylor
do-not-reply at jboss.com
Fri Mar 20 06:23:33 EDT 2009
Currently when we create a new jms connection we only actually create a session if we are authenticating and then we close it once authentication has taken place.
I'm changing this so that firstly we always authorize and secondly caching the initial session and reusing it for the first actual session created. The only issue is that the initial core session is created with xa, autoCommitSends, autoCommitAcks and preAcknowledge set to false and ackBatchSize set to 0. O though the best thing was to add an extra method to core session to allow these values to be reset.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219784#4219784
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219784
More information about the jboss-dev-forums
mailing list