imqcmd create dst -n MyQueue -t q -o "maxNumMsgs=1000" -o "maxNumProducers=5" imqcmd update dst -n MyTopic -t t -o "limitBehavior=FLOW_CONTROL|REMOVE_OLDEST|REJECT_NEWEST|REMOVE_LOW_PRIORITY" imqcmd compact dst -n MyQueue -t q imqcmd purge dst -n MyQueue -t q imqcmd pause dst -n MyQueue -t q -pst PRODUCERS|CONSUMERS|ALL imqcmd resume dst -n MyQueue -t q imqcmd destroy dst -n MyQueue -t q imqcmd query dst -n MyQueue -t q imqcmd list dst -tmp
目的地配置属性(-o 选项)列出常用的目的地配置属性。 有关目的地配置属性及其描述的完整列表,请参见第 15 章,物理目的地属性参考。
表 D–2 目的地配置属性(-o 选项)
属性 |
注释 |
---|---|
consumerFlowLimit |
指定 -1 表示无限制 |
isLocalOnly(仅创建) | |
limitBehavior |
FLOW_CONTROLREMOVE_OLDESTREJECT_NEWESTREMOVE_LOW_PRIORITY |
localDeliveryPreferred(仅队列) | |
maxNumActiveConsumers(仅队列) |
指定 -1 表示无限制 |
maxNumBackupConsumers(仅队列) |
指定 -1 表示无限制 |
maxBytesPerMsg |
指定 -1 表示无限制 |
maxNumMsgs |
指定 -1 表示无限制 |
maxNumProducers |
指定 -1 表示无限制 |
maxTotalMsgBytes |
指定 -1 表示无限制 |
useDMQ |