activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Jms Destination lifetime question
Date Wed, 05 Sep 2007 05:05:20 GMT
On 9/5/07, ttmdev <joe.fernandez@ttmsolutions.com> 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/

Mime
View raw message