Re: AMQ persistence not working for me

2010-03-18 Thread jumbro
Aha!!! This finally makes it clear... I had durable subscription working a week or two ago. But I had never tested the "persistence" piece of that, i.e. taking the broker down with unconsumed messages on a topic which has a registered durable subscriber. I just did that test and see that it works

Re: AMQ persistence not working for me

2010-03-18 Thread Bruce Snyder
On Thu, Mar 18, 2010 at 12:15 PM, jumbro wrote: > > I just tested persistence using a QUEUE and... it works! > > So my question is: do topics offer this same functionality? If not, then > why? > > If topics do support persistence, then I'm still missing something.. Topics support durability which

Re: AMQ persistence not working for me

2010-03-18 Thread jumbro
I just tested persistence using a QUEUE and... it works! So my question is: do topics offer this same functionality? If not, then why? If topics do support persistence, then I'm still missing something.. jumbro wrote: > > I traced the message send within Spring.net. Setting > NmsTemplate.Per

Re: AMQ persistence not working for me

2010-03-18 Thread jumbro
I traced the message send within Spring.net. Setting NmsTemplate.Persistent = true propagates that property to the MessageProducer. I also set NmsTemplate.ExplicitQosEnabled = true which leads to: producer.Send(message, persistent, priority, timeToLive); where producer is an Apache.NMS.ActiveMQ.

Re: AMQ persistence not working for me

2010-03-18 Thread Timothy Bish
On Thu, 2010-03-18 at 08:55 -0700, jumbro wrote: > Thanks for your reply. > > I tested your suggestion and it works. I see now that it's the producer that > determines the persistence. > > Do you know off hand how to configure this same behavior using Spring? I'm > using the NmsTemplate and allow

Re: AMQ persistence not working for me

2010-03-18 Thread Bruce Snyder
On Thu, Mar 18, 2010 at 9:55 AM, jumbro wrote: > > Thanks for your reply. > > I tested your suggestion and it works. I see now that it's the producer that > determines the persistence. > > Do you know off hand how to configure this same behavior using Spring? I'm > using the NmsTemplate and allowi

Re: AMQ persistence not working for me

2010-03-18 Thread jumbro
Thanks for your reply. I tested your suggestion and it works. I see now that it's the producer that determines the persistence. Do you know off hand how to configure this same behavior using Spring? I'm using the NmsTemplate and allowing Spring to manage the underlying messaging context. I'm set

Re: AMQ persistence not working for me

2010-03-17 Thread Bruce Snyder
On Wed, Mar 17, 2010 at 2:02 PM, jumbro wrote: > > Hello, > > I have been trying to get persistence working and have been humbled by the > experience. > > Here is my setup: > > * AMQ 5.3 > * Monitoring via AMQ web console deployed in jetty > * Using Spring.NET 1.2 / Apache.NMS > * Tried each of th