Contexts and Connections, how many are needed
"George H" <[email protected]> Mon, 4 Jun 2007 23:37:02 +0300
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, If I have a program that has a durable subscriber for 4 topics do I need to have a separate context and connection object per topic for each durable subscriber ? When I first started using openjms I found out that I got many exception when I use a single context and connection to do this. I had to resort to a context/connection object per topic to have a durable subscriber for each. I've have not read anywhere if this was actually needed or if I was just doing something the hard way when there was a simpler way to do it. Does anyone have any tips and/or suggestions on this matter? Thanks in advance. -- "Nothing is impossible for the person that doesn't have to do it" "The probability of anything happening is in inverse ratio to its desirability" "If I were a roman statue, I'd be made alabastard" -- George H [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/