When events have been configured for a message flow and deployed to the broker, you can enable and disable individual events. You can do this from the command line, without having to redeploy the message flow, or you can do this from the Message Flow editor, in which case you must redeploy the flow.
You must have configured events by using either monitoring properties in the Message Flow editor, or a monitoring profile configurable service. For more information, see Deciding how to configure monitoring events for message flows.
mqsichangeflowmonitoring WBRK_BROKER
-e default
-f myMessageFlow
-s "SOAP Input1.terminal.out,MQOutput1.terminal.in"
-i enable
mqsichangeflowmonitoring WBRK_BROKER
-e default
-f myMessageFlow
-s "SOAP Input1.terminal.catch"
-i disable
You can enable or disable multiple events at once; the change of state takes place immediately.
If you configured events by using monitoring properties, the change persists if the message flow is restarted, but is lost if the message flow is redeployed. To make the change permanent, you must also update the monitoring properties.
mqsireportflowmonitoring WBRK_BROKER
–e default
–f myMessageFlow
–n
You must have configured events by using the monitoring properties of the Message Flow editor.