-
1. Re: persistent subscriber not so persistent?
idigunix Jun 2, 2003 2:19 PM (in response to idigunix)P.S.: I've also noticed that jbossmq will allow more than one subscriber to be connected using the same name. I.E. I can have several copies of my client connected all using the name "sub1". I thought that the JMS spec says that only one client at a time can use a particular subscriber name?
-
2. Re: persistent subscriber not so persistent?
idigunix Jun 5, 2003 11:04 AM (in response to idigunix)eureka!
I figured it out. My client was acquiring a new ID each time because of a malformed jbossmq-state.xml file. D'OH!
I config'ed jbossmq to use the UserRolesLoginModule, which results in user/password entries in both the jbossmq-state.xml and the user/roles.properties files. It seems that you can ignore the password and role entries in jbossmq-state.xml if you have them defined properly in the .properties files.
My issue was that I had buggered up the jbossmq-state file inadvertantly. -
3. Re: persistent subscriber not so persistent?
adrian.brock Jun 5, 2003 6:16 PM (in response to idigunix)Can you post the example code that
broke your jbossmq-state.xml?
What is just the old chestnut that you were
using an anonymous connection to make a
durable subscription?
Regards,
Adrian