This content has been marked as final.
Show 3 replies
-
1. Re: Why do i get this
darranl Jun 30, 2004 11:49 AM (in response to snavjot)Have you opened any connection that you have not closed?
-
2. Re: Why do i get this
snavjot Jun 30, 2004 12:06 PM (in response to snavjot)hi,
this is my code snippet. Am i to close the QueueConnection also?
navjot
try{
QueueConnection qc = qcf.createQueueConnection();
QueueSession qs = qc.createQueueSession(true,QueueSession.AUTO_ACKNOWLEDGE);
QueueSender qsender = qs.createSender(q);
MapMessage msg = qs.createMapMessage();
msg.setString("TO","");
msg.setString("SUBJECT", "Order Confirmation");
msg.setString("DATA"," Thx for placing the order with us.");
qsender.send(msg);
qsender.close();
}
catch(..) -
3. Re: Why do i get this
adrian.brock Jun 30, 2004 8:38 PM (in response to snavjot)FAQ in the JCA forum/wiki.