DurableSubscriber - Topic

Hi,i new to JMS, and have a question:I'm using publish/subscribe messaging domain. Can i have multiple durable subscribers on the same topic i.e. can each message have multiple durable-consumers?
[217 byte] By [igor_ba] at [2007-11-26 15:22:02]
# 1
Yes.
SteveNaivea at 2007-7-8 21:37:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Thanx for reply...

As i understood, there couldn't be multiple durable subscribers on the same topic, because, when one subscriber reads the topic message, this message is deleted from this topic. So, another durable-subscriber (trying to read, after some time), would not find any message on this topic...

That's how i understood this publish/sub. is working...

but could you explain me how it really works. If multiple durable-sub's can use same topic, how does JMS provider distinguish which subscriber has read the message, so he could leave message on topic for all other durable-sub's.

igor_ba at 2007-7-8 21:37:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
With JMS there are Queues and Topics. Both can have multiple consumers/subscribers, however messages can only be read from a queue once, so it's pot luck which consumer processes the message. With a topic the message stays until all subscribers have read it or until the message expires.
SteveNaivea at 2007-7-8 21:37:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...