Integrating Data With BSM Connector > Open Message Interface Policies > How to Collect Event Data from the Open Message Interface

How to Collect Event Data from the Open Message Interface

This task describes how to collect event data submitted by the opcmsg command-line tool to the open message interface.

  1. Prerequisite: Make sure the following applies:

    1. Your BSM Connector is configured to work with OMi by using the bsmc-conf tool.

    2. The certificate request is approved on the OMi side.

    3. Your BSM Connector is set up as a connected server in OMi.

  2. In the BSM Connector user interface, click Create in the toolbar, then click Event > Open Message Interface. The open message interface policy editor opens. 

    Alternatively, double-click an existing open message interface policy to edit it.

  3. In the Properties page, define information that is related to the policy itself (for example, the name and description of the policy).

    For details, see Configuring Open Message Interface Policy Properties.

  4. In the Default Event Attributes page, configure the default settings for all events generated by the policy (for example, default event correlation settings).

    For details, see Configuring Event Defaults in Open Message Interface Policies.

  5. In the Policy Rules page, define what the policy should do in response to a specific type of message submitted to the open message interface.

    For details, see Configuring Rules in Open Message Interface Policies.

  6. In the Options page, configure several policy behaviors (for example, pattern matching options).

    For details, see Configuring Options in Open Message Interface Policies.

  7. Click Save and Close to save the policy and close the editor.

  8. Optional. If the list of policies does not refresh automatically in the BSM Connector user interface, click Refresh in the toolbar.

  9. Activate the open message interface policy to start the opcmsgi process on the BSM Connector server.

  10. Use the opcmsg command-line tool to submit messages to the open message interface policy. For details, see opcmsg Command-Line Tool.

    Alternatively, use the available Java classes or C API to implement a program that generates messages. For details, see opcmsg Java API and opcmsg C API.