"ONIT" wrote : 
  | This is inspite of the fact that I get a new ConnectionFactory, 
InitialContext, Queue, Connection, Session, and MessageConsumer everytime the 
EJB getResponse method is called.  

Well you're not really getting a new Connection, Session each time.

You're using JmsXA, which is the JCA JMS resource adapter. This caches 
underlying connnections to the JMS system for you, so when you call 
createSession it will return a pre-existing session from the pool if available.

This is very similar to the way database connections work in an ejb - when you 
call createConnection it doesn't actually create a new connection every time.

I shall investigate further...

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to