The below code is taking more time for getting the connection factory, session ,queue respectively.
My requirement is to use a pooled Jms connection factory for getting the sessions.
Please help me for the same.
QueueConnectionFactory qcf = (QueueConnectionFactory)ic.lookup("java:comp/env/jms/QCF"); Queue destQueue = (Queue)ic.lookup("java:comp/env/jms/TESTQUEUE");ic.close(); QueueConnection connection = qcf.createQueueConnection(); QueueSession session = connection.createQueueSession(0, false); Please let me know the solution for the same. Many Thanks in Advance ..
I moved this from the design forum.
Please don't post user questions in the design forum.