Category : activemq-cpp

std::auto_ptr was deprecated in C++11. It is now nearly 2021, and ActiveMQ-CPP has seen many releases since that deprecation. Yet, in all this time, std::auto_ptr still has not been replaced with std::unique_ptr, and the build (which takes insanely long anyway, for a mere client library) generates hundreds of warnings as a result. Why? Are the ..

Read more

I am having a lot of difficulty getting limited retries and dead letter queues to work in ActiveMQ. I am developing using the activemq-cpp library in linux. This is what I want to do: set DLQ and retry policies on the broker (xml below, schedulerSupport enabled) register a cms::MessageListener against a queue using Auto-acknowledge Have ..

Read more

How do I terminate/stop all other thread when I catch specific value in one of the thread execution (in activemq cpp)? I have parallely launched 5 threads which are calling specific function. If one of them returns some specific value, I need to terminate the further processing of all other remaining threads and the specific ..

Read more