You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Raffaele <r....@prismasw.it> on 2007/07/18 10:28:26 UTC

Msg with timeout sent to a non durable consumer

Hi all,

My scenario is the following:

- One publisher publishes some messages on a topic and assign to them a
timeout.
- The consumer, NO DURABLE, is off when the above messages are sent.

I would like that when the consumer becomes on, even though it wasn't a
durable subscriber, it is able to receive the messages which are yet "live"
because their timeout isn't yet expired.

In your opinion is it possible?

Thanks in advance, 
best regards.
Raffaele Gambelli
-- 
View this message in context: http://www.nabble.com/Msg-with-timeout-sent-to-a-non-durable-consumer-tf4101835s2354.html#a11664563
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Msg with timeout sent to a non durable consumer

Posted by Raffaele <r....@prismasw.it>.
Thanks for the answer but my question is a bit different, that is in my
scenario a normal consumer should be receive only those messages yet live
because their time is not expired and not ALL the unreceived messages like
retroactive consumer do.

So, theere isn't such a capability in ActiveMQ :-( ?

Thanks, regards!
Raffaele


rajdavies wrote:
> 
> This is possible - ActiveMQ can cache messages for retroactive  
> consumers - see http://activemq.apache.org/retroactive-consumer.html
> 
> cheers,
> 
> Rob Davies
> 'Go further faster with Apache Camel!'
> http://rajdavies.blogspot.com/
> 
> 
> On Jul 18, 2007, at 9:28 AM, Raffaele wrote:
> 
>>
>> Hi all,
>>
>> My scenario is the following:
>>
>> - One publisher publishes some messages on a topic and assign to  
>> them a
>> timeout.
>> - The consumer, NO DURABLE, is off when the above messages are sent.
>>
>> I would like that when the consumer becomes on, even though it  
>> wasn't a
>> durable subscriber, it is able to receive the messages which are  
>> yet "live"
>> because their timeout isn't yet expired.
>>
>> In your opinion is it possible?
>>
>> Thanks in advance,
>> best regards.
>> Raffaele Gambelli
>> -- 
>> View this message in context: http://www.nabble.com/Msg-with- 
>> timeout-sent-to-a-non-durable-consumer-tf4101835s2354.html#a11664563
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Msg-with-timeout-sent-to-a-non-durable-consumer-tf4101835s2354.html#a11668318
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Msg with timeout sent to a non durable consumer

Posted by Rob Davies <ra...@gmail.com>.
This is possible - ActiveMQ can cache messages for retroactive  
consumers - see http://activemq.apache.org/retroactive-consumer.html

cheers,

Rob Davies
'Go further faster with Apache Camel!'
http://rajdavies.blogspot.com/


On Jul 18, 2007, at 9:28 AM, Raffaele wrote:

>
> Hi all,
>
> My scenario is the following:
>
> - One publisher publishes some messages on a topic and assign to  
> them a
> timeout.
> - The consumer, NO DURABLE, is off when the above messages are sent.
>
> I would like that when the consumer becomes on, even though it  
> wasn't a
> durable subscriber, it is able to receive the messages which are  
> yet "live"
> because their timeout isn't yet expired.
>
> In your opinion is it possible?
>
> Thanks in advance,
> best regards.
> Raffaele Gambelli
> -- 
> View this message in context: http://www.nabble.com/Msg-with- 
> timeout-sent-to-a-non-durable-consumer-tf4101835s2354.html#a11664563
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>