Designing Messaging Applications with Temporary Queues
Subject:   Code on the client side
Date:   2007-04-26 10:20:57
From:   chun chikwong
Response to: Code on the client side

Hi folks,

If anyone has the same question with the "Close the Connection as soon as you are done with all the threads" like I did, Thakur suggested we can use workerThread.join() to wait till the thread dies, then we close the connection afterward.

Thanks for Thakur pointing it out.