Set up your durable subscriber in conf/default/jbossmq-state.xml, eg:
Create a durable TopicSubscriber:
This should work.
Thanks Peter ,
I think by writing in jbossmq-state.xml
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 ??
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.