activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "amq user" <amq.u...@gmail.com>
Subject activemq-cpp persistant problem
Date Thu, 07 Dec 2006 23:03:38 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message