Yeah, just tried it here and the counter on the topic is misleading. I believe these are in-memory only counters actually, however if you take a look at the subscription after a restart you'll see an enqueued message and you can dequeue it using a real consumer such as the example consumer in the "examples" directory.
On Fri, Dec 3, 2010 at 1:43 PM, ncsridhar <s...@uc4.com> wrote: > > I tried what you said, but it didn't solve the issue. Here are the steps > again: > > > - I started activemq > - created a brand new topic and a durable subscriber on it, I did both of > those actions using the admin console gui on localhost:8161 > - put some "persistent" messages on the topic using the admin gui again. At > this point, I can verify the "No. of consumers" to be 1 and the "Messages > Enqueued" as 1 and "Message Dequeued" as 0. > - restart the activemq using the command line tool, activemq-admin.bat stop > for stopping, followed by activemq.bat for starting > - The message on the topic are lost, again!! > > In this exercise, I am not running any java programs or anything. Purely > using the admin console. Let me know what am I doing wrong. I worked on > WebsphereMQ quite a bit in the past and the same sscenario would keep the > messages there. > > Thanks. > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Topic-messages-lost-even-when-they-are-persistent-help-tp3069828p3071559.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- Stan Lewis FuseSource Email: sle...@fusesource.com Web: http://fusesource.com Twitter: gashcrumb