You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Sivananda Reddys Thummala Abbigari <st...@salesforce.com> on 2015/04/27 21:22:44 UTC

[NEED HELP]Message retention during client disconnections

Hi,

We have different exchanges: amqp.direct, amqp.topic, amqp.fanout,
amq.match. Lets say that we have these consumers for all of these
exchanges. Consumers can disconnect from broker, and in the mean time the
producers sends messages to these 4 exchanges and I don't want the messages
to be lost when the consumer disconnects, for this to be possible the
broker needs to store messages during the client disconnection period.

I know that there is a concept of "durable subscribe", I am assuming that
this is only applicable for
"amqp.topic", what about for other  exchange types(amqp.direct/amqp.fanout/
amq.match)?. Please let me know if I am wrong.

Thank you,
Siva.

Re: [NEED HELP]Message retention during client disconnections

Posted by Sivananda Reddys Thummala Abbigari <st...@salesforce.com>.
Hi Gordon,

Thanks a lot for the quick reply.

Regards,
Siva.

On Mon, Apr 27, 2015 at 12:28 PM, Gordon Sim <gs...@redhat.com> wrote:

> On 04/27/2015 08:22 PM, Sivananda Reddys Thummala Abbigari wrote:
>
>> Hi,
>>
>> We have different exchanges: amqp.direct, amqp.topic, amqp.fanout,
>> amq.match. Lets say that we have these consumers for all of these
>> exchanges. Consumers can disconnect from broker, and in the mean time the
>> producers sends messages to these 4 exchanges and I don't want the
>> messages
>> to be lost when the consumer disconnects, for this to be possible the
>> broker needs to store messages during the client disconnection period.
>>
>> I know that there is a concept of "durable subscribe", I am assuming that
>> this is only applicable for
>> "amqp.topic", what about for other  exchange
>> types(amqp.direct/amqp.fanout/
>> amq.match)?. Please let me know if I am wrong.
>>
>
> Durable subscriptions are possible with any exchange type.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Re: [NEED HELP]Message retention during client disconnections

Posted by Gordon Sim <gs...@redhat.com>.
On 04/27/2015 08:22 PM, Sivananda Reddys Thummala Abbigari wrote:
> Hi,
>
> We have different exchanges: amqp.direct, amqp.topic, amqp.fanout,
> amq.match. Lets say that we have these consumers for all of these
> exchanges. Consumers can disconnect from broker, and in the mean time the
> producers sends messages to these 4 exchanges and I don't want the messages
> to be lost when the consumer disconnects, for this to be possible the
> broker needs to store messages during the client disconnection period.
>
> I know that there is a concept of "durable subscribe", I am assuming that
> this is only applicable for
> "amqp.topic", what about for other  exchange types(amqp.direct/amqp.fanout/
> amq.match)?. Please let me know if I am wrong.

Durable subscriptions are possible with any exchange type.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org