Creating Event for Hawk Catalog Function Using Wizard

Procedure

  1. Start the Hawk Destination and Event Wizard as described in Using the Hawk Destination and Event Wizard and select the wizard type Create Event for Hawk Catalog Function. Click Next.
  2. On the Select Channel dialog, select the Hawk channel from the list for which you need to create an event. Click Next.
  3. The wizard detects the available Hawk agents and displays them on the Select Hawk Agent dialog. Select a Hawk agent from the list and click Next.
  4. The Select Hawk MicroAgent dialog is displayed. Select a microagent from the list of available Hawk microagents and click Next.
  5. The Select Hawk MicroAgent Method dialog is displayed. Select a method from the list of available methods of the microagent.
  6. The Set File and Folder name dialog is displayed. Enter the folder name where the event is to be stored and the name of the event to be created.
  7. Click Finish. A message ’Created the resources of Hawk Channel successfully.’ indicates that the event has been created.

    Navigate the project directory in BusinessEvents Studio Explorer to verify that the specified event has been created in the specified folder. The return elements for the selected method are added to the event as properties.

    Hawk Channel Destination Reference

    Field Name Description
    Name Name of the destination to be created. The default name on the screen is of the format NewDestination_n.
    Description Description of the destination that is to be created.
    Default Event The default event for the destination. You can browse and select an existing event from the project.
    Serializer/Deserializer The default serializer used to deserialize a Hawk event to a simple event in TIBCO BusinessEvents and to serialize an event in TIBCO BusinessEvents to a Hawk event. You must configure the serializer (com.tibco.cep.driver.hawk.serializer.HawkSerializer) for every destination created on the Hawk channel.
    Monitor Type Type of monitor listening to different Hawk events. Choose one of:
    • AlertMonitor
    • RuleBaseListMonitor
    • AgentMonitor
    • MicroAgentListMonitor
    • ErrorMonitor
    • WarningMonitor
    • MicroAgentMethodSubscription
    Subscription Method URI URI for the Hawk microagent subscription method.

    When you use the TIBCO Channel Wizard to create a destination, you can select a subscription method from the list of available methods.

    TimeInterval (seconds) Time interval (specified in seconds) between successive calls to a subscription method.
    Arguments Optional. The subscription method selected determines if the arguments are required. Some methods do not require any arguments.

    Enter the arguments required by the selected subscription method, if any.

    If you create the destination using the TIBCO Channel wizard, the wizard automatically enters the arguments for the selected subscription method, if any.