ActiveMQ, Camel, RedeliveryDelay configuration is not used, immediate redlivery instead.

2013-09-27 Thread eschor...@sendmail.com
Hello, 

We are using a Camel/ActiveMQ/Spring configuration. We have setup a
persistent queue backed by Kaha, and transactional configuration using
org.springframwork.jms.connection.JmsTransactionManager.

We are trying to get the exception/re-delivery working correctly, and find
that while the maximumRedeliveries configuration is honored, the
redeliveryDelay is not. Rather, redelivery is executed immediately when the
exceptioning consumer is finished executing it's
rollback/close/synchronization logic.

Any input/experience would help...

The most confusing thing here, is that there redelivery count is honored,
and running the code in the debugger we see the redeliveryDelay is set, and
calculated correctly. There is even a scheduled task set to redeliver the
message. However, as the infrastructure (ActiveMQMessageConsumer) is
iterating through it's synchronizations during the rollback processing, a
call to ActiveMQMessageConsumer.synchronization.afterRollback() results in
an immediate redelivery of the message.


/Below is our actual configuration./


Our JMS configuration:

   






































our camel/consumer configuration:
   





   
com.sendmail.reac.email.RetryableEmailException


false






java.lang.Throwable


true




   
   
   
   



thanks for any insight!




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-Camel-RedeliveryDelay-configuration-is-not-used-immediate-redlivery-instead-tp4671869.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: ActiveMQ, Camel, RedeliveryDelay configuration is not used, immediate redlivery instead.

2013-10-07 Thread eschor...@sendmail.com
gtully,

Setting cacheLevelName=CACHE_CONSUMER solved the issue, thanks!



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-Camel-RedeliveryDelay-configuration-is-not-used-immediate-redlivery-instead-tp4671869p4672350.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Are Scheduled Messages persistent ?

2013-10-23 Thread eschor...@sendmail.com
I am having this same problem myself. Was there any resolution?



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977p4673163.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.