activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: Apollo & Request-Reply Pattern
Date Thu, 07 Jul 2011 13:26:05 GMT
Hi Lionel,

The auto-delete feature is now implemented in the latest snapshot.  See:
http://activemq.apache.org/apollo/versions/1.0-SNAPSHOT/website/documentation/user-manual.html#Queue_Auto_Delete_on__code_UNSUBSCRIBE__code_

Regards,
Hiram

FuseSource
Web: http://fusesource.com/




On Tue, Jul 5, 2011 at 2:37 AM, Lionel Cons <lionel.cons@cern.ch> wrote:
> 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