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" <gary.tu...@gmail.com> wrote:

> 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:
>
> > <http://activemq.2283324.n4.nabble.com/file/n4706897/nonpresistent.bmp>
> >
> > 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 when i use topic ,non-persistent message will not buffer to temp
> file.
> > when memory limit reach,non-persistent message that sent to topic will be
> > discard.
> > this is not my expectation, i wish non-persistent message can buffer to
> > temp
> > file when topic memory limit reached .
> > how can i do it?
> >
> >
> >
> > --
> > View this message in context:
> >
> http://activemq.2283324.n4.nabble.com/How-fileCursor-works-AMQ5-9-1-tp4706865p4706897.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>

Reply via email to