activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bish, Tim" <>
Subject RE: active-cpp persistent problem
Date Fri, 08 Dec 2006 19:17:19 GMT

AFAIK the activemq-cpp message do properly send the persistant flag.  

Can you create a small test app that demonstrates to problem?

What are the steps you are currently following in both cases?  Are you
sending messages with the C++ client and they are not persistant when
you restart and connect a C++ client back to the broker, or have you
tried sending a message persistantly with C++ and then connecting back
with a Java client to see if that gets the messages that should have
been persisted?



> -----Original Message-----
> From: amq user []
> Sent: Friday, December 08, 2006 2:10 PM
> To: activemq-dev
> Subject: active-cpp persistent problem
> I'm struggling with persistent option in activemq-cpp client. (my java
> client does the trick)
> part of my code looks like:
> producer->setDeliveryMode( DeliveryMode::PERSISTANT );
> The problem is after I send a message, and stop the broker. The
message is
> gone.
> If I send a lot of message exceeding the memory size the broker
handles, I
> got resource unavailable exception.
> It looks to me the message I send over using cpp doesn't instruct the
> broker
> to use persistent.
> I'm using ActiveMQ 4.0.2, and activemq-cpp-1.0.
> Please help. What else should I check. Did I miss anything?
> Thanks

View raw message