This content has been marked as final.
Show 3 replies
-
1. Re: Queue Connection management
divine_comedy Jul 10, 2003 3:08 PM (in response to divine_comedy)Forgot to ask the following question :
- Is a Queue object thread safe ?
Thanks. -
2. Re: Queue Connection management
nphelps Jul 10, 2003 6:34 PM (in response to divine_comedy)On you first question, it is a good design pattern to use a single connection, yes. You can use multiple Sessions which will provide for concurrent message delivery etc.
As to your second question... I'd recommend you close the connection. -
3. Re: Queue Connection management
nphelps Jul 10, 2003 6:35 PM (in response to divine_comedy)> - Is a Queue object thread safe ?
A Queue object is inherently thread safe because it is read only.