activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damianbl <>
Subject ActiveMQ c++ - redelivery delay
Date Wed, 20 Mar 2013 12:20:46 GMT

I am using ActiveMQ-CPP 3.4.5 to connect from C++ program to message broker.
The problem I encountered is connected with redelivery policy.
Messages which are returned to queue are redelivered immediately. This is
not the
behaviour I expect. I would expect the messages to be returned after certain
of time which is set through redelivery policy. 

This is a code snipped showing the way I set up redelivery policy:

		policy = new activemq::core::policies::DefaultRedeliveryPolicy(); 


As I said before I would except the messages to be redelivered after 10000
ms, but the are not.
They come back to consumer immediately.

Does anyone know what could be the reason of such behaviour?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message