Hi,
I need to create a request/reply operation between a subscriber and a single
publisher for intitalization. 
The publisher sends messages to topic X all the time.
The subscriber first subscribes to topic X.
To get additional data from the publisher a subscriber sends also a "request
notification" to the publisher.
I point the JMSReplyTo Header of the request to a temporary topic that
should receive the reply.

I use the temporary topic and not topic X to prevent other subscribers of
topic X from receiving the reply (I cannot use a selector and IDs because
all are pure topic subscribers of the same topic without selectors).

In fact I have now two subscribers under the same session: one for the
actual topic I am interest in and one for the temproary topic for the reply. 
My question is:  What ordering guarantees do I have for these two
subscribers? 
If the publisher sends the notifications x1;reply;x2 will I first receive X1
with the MessageListener of my topic X subscriber and then the reply with
the MessageListener of my temporary topic subscriber?
Or it is also possible that I receive X1 and X2 first and then the reply?

-- 
View this message in context: 
http://www.nabble.com/JMS-Request-Reply-tf3459957s2354.html#a9653565
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to