I believe you are refering to the maxInactivityDuration set on the
ConnectionFactory. Is there a way to set this on a per message basis? I have
some messages that should take hours to process, and the other just
minutes/seconds. I need to know if a consumer has died so the message can be
redelivered to another consumer.



spiderman2 wrote:
> 
> I have a broker (with a queue, NOT topic) on one host, and consumers on
> various other hosts. After a consumer has taken a persistent message from
> the Broker queue but dies before having processed it and ACK its
> completion, what happens?
> 
> 1) Is the message redelivered to another consumer? (Through use of the
> failover://) or is the message lost?
>    - if redelivered, where do i configure the timeout
>    - if redelivered, is that when the RedeliveryPolicy takes affect?
> 
> 2) Would I be *required* to use transactional session to have this
> guarantee of delivery/redelivery?
>     - if so, roughly what is the perf impact?
> 
> NOTE: I have read http://activemq.apache.org/redelivery-policy.html
> 

-- 
View this message in context: 
http://www.nabble.com/Consumer-Failure-and-Redelivery-Policy-Behaviour-Question-tf3563252s2354.html#a9964198
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to