Sep 17th, 2008, 07:33 AM
Topics in ActiveMQ using JmsTemplate - ensuring delivery
If you have a subscriber to a topic, then what properties should you be setting on the publishing JmsTemplate and/or the subscribing DefaultMessageListenerContainer if you'd like to ensure that no messages are missed by a subscriber and you'd like the subscriber to be tolerant of dropping out temporarily (ie gaps in network connectivity)?
When there are no subscribers, then using JConsole, I can see that is queuing messages, but the queue depth remains at zero. Ideally, I'd like the the messages to hang around a while so that subscribers have a chance to reconnect within a given time limit without missing any messages.
My apologies if this is more of a general/ActiveMQ question.