Examples

To discard messages on myQueue when the number of queued messages exceeds 1000, enter:

setprop queue myQueue maxmsgs=1000,overflowPolicy=discardOld

To reject all new messages published to myTopic when the memory used by undelivered messages for any of the topic subscribers exceeds 100KB, enter:

setprop topic myTopic maxbytes=100KB,overflowPolicy=rejectIncoming