Hi, All

In the JMS specification, it is said that:

JMS semantics only apply once the provider has reached a 'steady state' 
with respect to a new client.
I feel it is difficult to understand its true meaning. I have such a 
question:

(Q1) Publish P at time X published a message M of which its time to live 
is set to Y (So, M's expiration time is X+Y).
And then at time Z ( X < Z < X+Y) a subscriber subscribed to the 
corresponding topic, what's the result?
I mean whether this subscriber still has a chance to get a copy of 
message M.

(Q2) According to what Andreas said: "When you publish to a topic 
without a subscriber, the messages are
dropped. Either start your subscriber first or use a durable 
subscriber", It seems that the router
will drop this message if the topic has no subscribers EVEN the message 
didn't expired, isn't it?

(Q3) For routing networking, the problem becomes more complex. Also 
according to what Andreas said:

"If the connection goes down, all remote subscriptions for the SPECIFIC 
ROUTERS are deleted, except there is
a static route for those routers. Then they will survive and messages 
will be stored and forwarded on the
next connect. A local router never stores remote subscription 
information persistently, hence, on startup, it
doesn't know anything about remote durable subscribers. It gets this 
information on the first connect to the
remote router."

(Q3#1)    In above sentence, SPECIFIC ROUTERS refer to the routers on 
which the publishers connected to
(I call it PUBLISHING ROUTERs), isn't it?

(Q3#2)    If the remote SUBSCRIBING router shutdown or its connection 
shutdown, the subscription information
IN the PUBLISHING routers will be deleted immediately, isn't it? 
Actually, I want to know what is the
relationship between "the dispearing of the remote SUBSCRIPTING routers" 
and " the subscription information
DELETIONS in the PUBLISHING routers".

(Q3#3)    What is the implication of the usage of STATIC ROUTEs? I think 
it is used as a complement of
"the subscription  information DELETIONS in the PUBLISHING routers", am 
i right? And how dose work?
Is this the main reason of the existence of STATIC ROUTEs?

By the way, all above concerns only durable subscription. Of course, if 
the different points on the above questions
between Durable and Non-durable subscription could be provided, I am 
very appreciate.

Thanks very much!

yangyuexiang


------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to 
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/




Reply via email to