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 |