Re: How fileCursor works? AMQ5.9.1

2016-02-14 Thread fengcanyue
the earliest non-dispatched message will be discarded when full. i wish the more message buffer to disk when memory limit reach. can you give me one xml file that can do it ? thanks!! -- View this message in context: http://activemq.2283324.n4.nabble.com/How-fileCursor-works-AMQ5-9-1-tp4706

Re: How fileCursor works? AMQ5.9.1

2016-02-10 Thread Tim Bain
Which messages do you lose when the topic becomes full? Does the broker discard the just-received message or the earliest non-dispatched message? On Feb 10, 2016 3:54 AM, "Gary Tully" wrote: > any chance persistent=false is set on the broker? post your full xml config > and peek at the unit test

Re: How fileCursor works? AMQ5.9.1

2016-02-10 Thread Gary Tully
any chance persistent=false is set on the broker? post your full xml config and peek at the unit test source for flow controll of memory limit tests to get working examples On Thu 4 Feb 2016 4:21 AM fengcanyue <153133...@qq.com> wrote: >

Re: How fileCursor works? AMQ5.9.1

2016-02-03 Thread fengcanyue
http://activemq.apache.org/message-cursors.html Here describe "buffer to disk if non-persistent pending cursor is full". My message is non-persistent. when i use queue, non-persistent message will buffer to temp file. but w

Re: How fileCursor works? AMQ5.9.1

2016-02-03 Thread Rob Davies
IIRC filecursor will only be used for non-persistent messages and messages sent to a topic with no durable subscriber: i.e. for any messages that can’t be stored in the message store. Is it possible you are using persistent messages ? > On 3 Feb 2016, at 05:58, fengcanyue <153133...@qq.com> wro

How fileCursor works? AMQ5.9.1

2016-02-03 Thread fengcanyue
hi: I have one producer and one consumer, producer is fast,but consumer is slower. so i wish memroyLimit is reached,the message will store to disk . but the fileCursor don not work well. The MemoryPercentUsage has reached 100,but i don not find file under tmp_storage/ who can tell me why?