Ooops, my-bad. The delivery mode is set to PERSISTENT. I was not using the producer's setDeliveryMode method :o)
Joe James.Strachan wrote: > > On 9/5/07, ttmdev <[EMAIL PROTECTED]> wrote: >> >> I am doing the following: >> >> 1. I start a broker with persitent="false" and no destinations defined in >> it's xml cfg file. >> 2. I then start a producer that looks up a queue, called Q.REQ, via the >> Context.lookup() approach >> 3. The producer sends 20 messages to the queue called Q.REQ w/delivery >> mode >> set to NON_PERSISTENT >> 4. The producer exits >> 5. I bounce the broker >> 6. I then bring up my consumer, which looks up the Q.REQ via >> Context.lookup() and it successfully read all 20 messages >> >> So it appears to me that destinations do outlive a restart of the broker >> even w/out persistent messaging. > > Hmm, that sounds to me like thats really using persistent messaging. > You sure the producer really is sending non-persistent (and no other > producer is sending to that queue)? > > -- > James > ------- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/Jms-Destination-lifetime-question-tf4346951s2354.html#a12497131 Sent from the ActiveMQ - User mailing list archive at Nabble.com.