IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Enabling and disabling event sources

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.

Enabling and disabling events from the command line

Before you start:

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.

To enable and disable event sources, use the mqsichangeflowmonitoring command, as shown in the following example.
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.

Tip: When specifying values for the -s parameter, use the Event source address property of the event, not the Event name property.
Tip: To find the list of configured event sources for a message flow, use the mqsireportflowmonitoringcommand, as shown in the following example:
mqsireportflowmonitoring WBRK_BROKER 
      –e default 
      –f myMessageFlow 
      –n 
Tip: If you configured events by using monitoring properties, you can see a list of the configured event sources in the Message Flow editor by completing the following steps.
  1. Open the message flow by using the Message Flow editor.
  2. Click the canvas.
  3. Select the Monitoring tab in the Properties view.
The monitoring events that you have defined previously are shown.

Enabling and disabling events from the Message Flow editor

Before you start:

You must have configured events by using the monitoring properties of the Message Flow editor.

To enable and disable event sources by using the Message Flow editor, complete the following steps.
  1. Open the message flow in the editor.
  2. Click the canvas.
  3. Select the Monitoring tab in the Properties view. The monitoring events that you have defined previously are shown.
  4. Select Enabled for each event that you want to enable.

    To disable a single event, clear the check box for that event. To disable all events, click Uncheck All.

  5. Save the message flow.
  6. Rebuild and redeploy the BAR file.

ac60387_.htm | Last updated Friday, 21 July 2017