activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wxman <Mark.Fenb...@noaa.gov>
Subject Re: Persistence not working
Date Sat, 20 Feb 2010 02:02:22 GMT



Wxman wrote:
> 
> But, looking at my code, it creates durable subscriptions to topics in my
> *consumer* code.  There is no reference to durable messages in the
> producer code.  So, am I leaving something out?  (I must be, because my
> app doesn't seem to behave in the way you describe Durable Subscribers.) 
> Do I have to code anything to tell ActiveMQ to keep messages (in the event
> a durable subscriber is established)?
> 
> What if my app is running for the first time (and not a situation where
> there was a connection, then disconnection).  In this case, is it possible
> to "catch up" on older messages when the app was launched too late to
> receive them when they were live?
> 

Never mind about the durable subscriptions.  it turns out, the older
messages *were* being delivered, but they were delivered before the GUI was
built and so the GUI couldn't reflect this like it does when messages arrive
after the GUI is created.  Thus, the older messages were being ignored.

Mark
-- 
View this message in context: http://old.nabble.com/Persistence-not-working-tp27660206p27662790.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message