I think the docs just list an example of what you might get when running
qpid-config --help. But your actual qpid-config from 1.35.0 should nto
contain flow-to-disk anymore.

Jakub

On Fri, Oct 21, 2016 at 12:45 AM, rammohan ganapavarapu <
rammohanga...@gmail.com> wrote:

> From the docs i still see "--limit-policy [none | reject | flow-to-disk" to
> configure queues but its not supported in V1.35.0?
>
>
> https://qpid.apache.org/releases/qpid-cpp-1.35.0/cpp-
> broker/book/chapter-Managing-CPP-Broker.html#MgmtC-2B-2B-Usingqpidconfig
>
>     --durable            Queue is durable
>     --file-count N (8)   Number of files in queue's persistence journal
>     --file-size  N (24)  File size in pages (64Kib/page)
>     --max-queue-size N   Maximum in-memory queue size as bytes
>     --max-queue-count N  Maximum in-memory queue size as a number of
> messages
>     --limit-policy [none | reject | flow-to-disk | ring | ring-strict]
>                          Action taken when queue limit is reached:
>                              none (default) - Use broker's default policy
>                              reject         - Reject enqueued messages
>                              flow-to-disk   - Page messages to disk
>                              ring           - Replace oldest
> unacquired message with new
>                              ring-strict    - Replace oldest message,
> reject if oldest is acquired
>
>
>
> On Thu, Oct 20, 2016 at 3:20 PM, Jakub Scholz <ja...@scholz.cz> wrote:
>
> > Hi,
> >
> > Do you have the module installed in the path you mentioned? If yes, then
> > you should be able to load the module using the option
> > "--load-module=/usr/lib64/qpid/daemon/linearstore.so" or by placing
> > "load-module=/usr/lib64/qpid/daemon/linearstore.so" into your config
> file.
> > However, I believe that usually the store should be loaded by default
> when
> > it is installed. That is unless you specified that you want to start the
> > broker without any modules with the no-module-dir option. If the module
> is
> > loaded, you should see in your log file something like this:
> > 2016-10-20 22:15:25 [Store] notice Linear Store: Store module
> initialized;
> > store-dir=/var/lib/qpidd/store
> >
> > Additionally to loading the store, you need to have the queues created as
> > durable and send the messages as durable/persistent. Otherwise the
> > queues/messages will not use the persistent message store.
> >
> > Flow to disk feature has been removed some time ago. The functionality it
> > provided (offloading messages from memory to disk) is now provided by the
> > queue paging feature. Strangely, I can't find it described anywhere in
> the
> > Qpid C++ broker documentation. But you can have a look at my answer in
> this
> > thread -
> > http://qpid.2158936.n2.nabble.com/How-do-I-create-a-queue-
> > larger-than-available-RAM-td7643861.html
> > - it describes how to configure it and it should be still valid in
> 1.35.0.
> >
> > Regards
> > Jakub
> >
> > On Thu, Oct 20, 2016 at 11:56 PM, rammohan ganapavarapu <
> > rammohanga...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > How to enable persistent message store in qpid-cpp-1.35 do i have to
> > > install/load "/usr/lib64/qpid/daemon/linearstore.so"? also how to
> > > configure
> > > flow_to_disk policy?
> > >
> > >
> > > Thanks,
> > > Ram
> > >
> >
>

Reply via email to