When events are configured for a message flow and deployed to the integration node, you can enable and disable individual events. If you enable and disable events from the command line, you do not need to redeploy the message flow. If you use the Message Flow editor to enable or disable events, you must redeploy the flow.
mqsichangeflowmonitoring IBNODE
-e default
-f myMessageFlow
-s "Node1_Label.terminal.out,Node2_Label.terminal.in"
-i enable
mqsichangeflowmonitoring IBNODE
-e default
-f myMessageFlow
-s "Node_Label.terminal.catch"
-i disabled
You can enable or disable multiple events at once. The change of state takes effect 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 IBNODE
-e default
-f myMessageFlow
-n
Configure events by using either monitoring properties in the Message Flow editor (see Configuring monitoring event sources by using monitoring properties).