Hello,

BTW, is it necessary also to close QueueSession and QueueSender?
How expensive open/create methods are? Are they polled or cached
in server?

What is the best practice for a client to send messages:

one which is similar to jdbc (get connections -> create statements ->
execute -> close everything in one method

or to cache QueueSession and QueueConnection in the client?

Thanks.


[EMAIL PROTECTED] wrote:
> 
> Never mind.  I see that one must close one's QueueConnection, or the main
> thread won't die.  Perhaps the test case should be updated by someone with
> permissions.
> 
> Wes
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] jbosstest\mdb
> 
> The MDB test in jbosstest is hanging.  Not sure what is causing it, but the
> client hangs when it tries to return from Main.  This is with the CVS from
> last night.
> 
> Wes
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

-- 
__________________________________________________
Alexander Kogan  PTC   www.ptc.com
[EMAIL PROTECTED]    140 Kendrick St. Needham MA 02494

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to