I couldn't get activemq-cpp persistent working. I can get java client working as expected.
from the example code: producer->setDeliveryMode( DeliveryMode::PERSISTANT ); If I stop the activemq and start it again, all messages I send would be gone. But if I use java client: (from example code) if (durable) { producer.setDeliveryMode(DeliveryMode.PERSISTENT); } then I can retrieve the message after activemq restarted. Anyone had similar problem? Any idea? Thanks