hmmm, just had a peek at the memory topic store, and it uses an lru cache for the message map with a limit of 100, so it is not ideal for your use case. But you should see some messages with that impl. Extending the memory store to change that is one option.
On 14 December 2010 16:18, Aleksandar Ivanisevic <aleksan...@ivanisevic.de> wrote: > > Not really. Just tested on 5.4.1-fuse and messages are gone with the > wind ;) > > Gary Tully <gary.tu...@gmail.com> > writes: > >> with the caveat that there is no durability of the message. But yes, >> when a durable sub is offline, the persistent messages will be held in >> memory. >> >> On 14 December 2010 15:38, Aleksandar Ivanisevic >> <aleksan...@ivanisevic.de> wrote: >>> Gary Tully <gary.tu...@gmail.com> >>> writes: >>> >>>> if you set persistent=false on BrokerService, (broker in xml config) >>>> it will use an in memory store. >>> >>> And durable topics will keep working as they should? >>> >>>> >>>> On 14 December 2010 10:01, Aleksandar Ivanisevic >>>> <aleksan...@ivanisevic.de> wrote: >>>>> Gary Tully <gary.tu...@gmail.com> >>>>> writes: >>>>> >>>>>> Non persistent messages can be sent to a durable sub, but the durable >>>>>> sub will only get the messages if it connected, a backlog will not be >>>>>> retained as the messages will not be stored >>>>>> It will behave like a regular topic subscription in this regard. >>>>> >>>>> >>>>> Thanks, thats what I figured too. Is it possible to configure AMQ to >>>>> have persistance store only in memory? Or do I have to wrangle tmpfs? >>>>> >>>>> >>>>> [...] >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> http://blog.garytully.com >>>> http://fusesource.com >>>> >>> >>> -- >>> Ti si arogantan, prepotentan i peglaš vlastitu frustraciju. -- Ivan >>> Tišljar, hr.comp.os.linux >>> >>> >> >> >> >> -- >> http://blog.garytully.com >> http://fusesource.com >> > > -- > Ti si arogantan, prepotentan i peglaš vlastitu frustraciju. -- Ivan > Tišljar, hr.comp.os.linux > > -- http://blog.garytully.com http://fusesource.com