activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damianbl <>
Subject Re: ActiveMQ c++ - redelivery delay
Date Wed, 20 Mar 2013 14:31:46 GMT
Problem solved.
Error was not in defining redelivery policy
but in dealing with messages ack/not ack.

When message was to be acknowledged it was done this way:


However, when message was to be returned to the queue the following snippet
was called:


That was the problem. According to ActiveMQ-CPP documentation, messages that
have been received but not acknowledged will be redelivered.
According to that there is no need to do anything on _session object. 
Not sending acknowledgement is enough.

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

View raw message