Hi,
 
Here is a patch to MessengerSupport.java that will close the producers after they are done send() and call().  I have not done the same for the consumers, the reason is that I am afraid when the consumer is closed, the value returned will no longer be available if gc'd.

William Lam
SpiritSoft  http://www.spirit-soft.com
-    [EMAIL PROTECTED]
'     508-473-3227 x 104
7      508-473-3672
È     781-775-3659

 

Attachment: MessengerSupport.java
Description: MessengerSupport.java

This message contains confidential information and is intended only for the named 
individual
and may not be disseminated without prior permission.  If you are not the named 
addressee,
you should not disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this message in error and delete this 
e-message from your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as
information could be intercepted, corrupted, lost, destroyed, delayed in transmission,
incomplete, or may contain viruses. The sender therefore does not accept liability for 
any
errors or omissions in the contents of this Message which arise as a result of e-mail 
transmission.  If verification is required please request a hard-copy version. This 
message
is provided for informational purposes and should not be construed as a solicitation or
offer to buy or sell any software or services.

 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to