You might wanna switch to CLIENT_ACKNOWLEDGE to prevent this problem (as the C++ client is probably acknowledging the message being processed immediately
On 3/30/07, tommy.li <[EMAIL PROTECTED]> wrote:
session = connection->createSession( Session::AUTO_ACKNOWLEDGE ); Thanks. James.Strachan wrote: > > Which acknowledgement mode were you using? > > On 3/22/07, tommy.li <[EMAIL PROTECTED]> wrote: >> >> My server running apache-activemq-4.1-20070320.072657-13.tar.gz and >> activemq-cpp-1.1. >> C++ client received messages normally,but after i using ctrl-c to kill >> it >> and restarted it. >> Then C++ client losted one message. >> The same problems didn't appear in >> apache-activemq-4.2-20070320.165248-33.tar.gz. >> -- >> View this message in context: >> http://www.nabble.com/Stomp-problems-in-apache-activemq-4.1-20070320.072657-13.tar.gz-tf3446503s2354.html#a9611383 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Stomp-problem-in-apache-activemq-4.1-20070320.072657-13.tar.gz-tf3446503s2354.html#a9747364 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
-- James ------- http://radio.weblogs.com/0112098/