Is there any way to dynamicaly add a user and passwd for a durable subscriber ?
Cause if I start my application I dont now yet how much subscribers I'm going to have. And I want to add subscribers at runtime.
At the moment I'm working with jboss2.4.4 and if I want to add a durable subsription I have to add a user and passwd via the jbossmq-state.xml file. And the real problem is that jboss has to be restarted.
So for each durable subscription I want to add I have to restart my application server. And that is really out of the question.
Maybe I'm overlooking something. But is there anyone who can help me with my problem ?
Thx in advance,
You can click on loadConfig in the Console Manager, mbean StateManager, and the jbossmq-state.xml file is reloaded. Or, you can add users on the same page.