[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: caching the initial session created

ataylor do-not-reply at jboss.com
Fri Mar 20 07:29:30 EDT 2009


ok thats fine, I was just wondering how we would deal with this at a management leve, for instance the following test:


  | Connection connection = JMSUtil.createConnection(connectorFactory);
  | connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
  | assertEquals(1, service.getServer().getConnectionCount());
  | 

would always fail since there are actually 2 connections, is that fine?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219802#4219802

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219802



More information about the jboss-dev-forums mailing list