Re: The problem in ActiveMQ CPP 2.0 Released

2007-04-23 Thread tommy.li
Thanks. Timothy Bish wrote: > > tommy.li wrote: >> producer->setDeliveryMode( DeliveryMode::PERSISTENT ); >> When i restart broker,the mesages are lost. >> >> producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT ); >> When i restart b

The problem in ActiveMQ CPP 2.0 Released

2007-04-22 Thread tommy.li
producer->setDeliveryMode( DeliveryMode::PERSISTENT ); When i restart broker,the mesages are lost. producer->setDeliveryMode( DeliveryMode::NON_PERSISTENT ); When i restart broker,the mesages are recovered. Why? -- View this message in context: http://www.nabble.com/The-problem-in-ActiveMQ-C

Re: Stomp problems in apache-activemq-4.1-20070320.072657-13.tar.gz

2007-03-29 Thread tommy.li
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

Stomp problems in apache-activemq-4.1-20070320.072657-13.tar.gz

2007-03-22 Thread tommy.li
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. -

reconnection in a network of brokers

2007-03-22 Thread tommy.li
Here's my problem: There are 3 servers (IP=192.168.0.219, 192.168.0.135 and 192.168.0.137). Servers 1 sends messages to server 3 through server 2. I used apache-activemq-4.1-20070320.072657-13.tar.gz for my first tests. 1. *_activemq.xml file for server 1 was :_* .