-
1. Re: about subscription
adrian.brock May 6, 2003 5:31 AM (in response to lian)What do you mean "more than one use"?
Durable subscriptions can be removed
using jbossmq-state.xml, but it requires you
to restart the topic which is disruptive.
Regards,
Adrian -
2. Re: about subscription
lian May 8, 2003 8:40 PM (in response to lian)when the jboss restart, the queue/topic created by the mean will be lost. I wish it be written to the jbossmq-destinations-service.xml file. When the jboss is restarted, the queue/topic will be registered. i have to develop a tool to write to the jbossmq-destinations-service.xml. but until now i find in jboss version3.2.1, the location of jbossmq-destinations-service.xml is changed. i do not know what will happen in the future.
as a distributed system using jboss, i also let the too administrate the durable subscription. but when a account is online, the tool can not do the durable subscription. -
3. Re: about subscription
lian May 8, 2003 8:45 PM (in response to lian)when the jboss restart, the queue/topic created by the mean will be lost. I wish it be written to the jbossmq-destinations-service.xml file. When the jboss is restarted, the queue/topic will be registered. i have to develop a tool to write to the jbossmq-destinations-service.xml. but until now i find in jboss version3.2.1, the location of jbossmq-destinations-service.xml is changed. i do not know what will happen in the future.
as a distributed system using jboss, i also let the too administrate the durable subscription. but when a account is online, the tool can not do the durable subscription. -
4. Re: about subscription
adrian.brock May 11, 2003 5:02 AM (in response to lian)You don't have to use
jbossmq-destinations-service.xml
to configure queues/topics.
You could maintain your own
dynamic-destinations-service.xml
in the deploy directory or even one per queue.
MyQueue-service.xml
You can get the deploy directory from the
jboss.system:service=ServerInfo mbean.
For the durable subscriptions, the best
approach is to use the JMS api.
The state manager will persist the subscription
for you.
Regards,
Adrian -
5. Re: about subscription
lian May 14, 2003 9:56 PM (in response to lian)thanks for your help.
I think that is good idea to write my config informatin in seperate file.
can you tell me the format of the mean to write the topic, queue and connectionFactory or give me a file as an example . -
6. Re: about subscription
adrian.brock May 15, 2003 6:39 AM (in response to lian)It is the same format as
jbossmq-destinations-service.xml
Just copy it to something like
my-destinations-service.xml
and change it.
Regards,
Adrian