-
1. Re: Durable Topic
pra Oct 17, 2001 7:38 AM (in response to amit)Set up your durable subscriber in conf/default/jbossmq-state.xml, eg:
john
needle
DurableSubscriberExample
DurableSubscriberExample
testDurableTopic
Create a durable TopicSubscriber:
TopicConnection con=factory.createTopicConnection("john","needle");
con.createDurableSubscriber(yourTopic,"DurableSubscriberExample");
This should work.
//Peter -
2. Re: Durable Topic
amit Oct 17, 2001 9:41 PM (in response to amit)Thanks Peter ,
I think by writing in jbossmq-state.xml
system
pass
passsystem
passsystem
hiveTopic
this will make the user to be durable but what about the topic , we havent mentioned any where that the topic is durable.
May be I am messing up with durable TOPIC and durable SUBSCRIBER, are these same thing or diff ?? -
3. Re: Durable Topic
pra Oct 18, 2001 2:51 AM (in response to amit)I don't get it:
"hiveTopic", thats the name of the durable topic.
Look it up in jndi, log in, specify your id, and you got yourself a durable subscriptions. When everything works this means that all messages sent to the topic will allways be sent to a subsriber with the correct id, if no such subsriber is online the messages will be retained until such a subscriber gets online.
//Peter -