activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Cons <lionel.c...@cern.ch>
Subject Apollo & Request-Reply Pattern
Date Tue, 05 Jul 2011 06:37:06 GMT
Hiram,

In order to implement RPC on top of messaging (aka Request-Reply in EIP), we
usually use "temporary reply queues". For ActiveMQ, this is described at
http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html.

In fact, the reply queue should ideally be (using the AMQP terminology):
 - exclusive: there can only be one client for this queue
 - auto-delete: the queue will get deleted when the subscription ends

The fact that the queue name is generated by the broker (like in ActiveMQ)
or by the client is probably not important.

Apollo does support exclusive subscriptions but with a slightly different
meaning: other subscriptions are accepted but don't get any messages while
the first subscription is active and working.

Do you plan to support temporary queues a la ActiveMQ or auto-delete queues
of some sort in Apollo?

Cheers,

Lionel

Mime
View raw message