Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Using the Monitoring Alert Service with BPEL Processes

Using the Monitoring Alert Service with BPEL Processes

An input message sent to a BPEL process would have the following parts, shown in the example:
<ns:handleAlertRequest xmlns:ns="http://www.activebpel.org/ monitor/2007/08/monitor/monitorAlert.wsdl"> <ns:engineDetail> <ns:name>string</ns:name> <ns:state>created</ns:state> <ns:monitoringStatus>normal</ns:monitoringStatus> <ns:errorMessage>string</ns:errorMessage> <ns:startDateTime>2007-09-10T19:15:15.868Z </ns:startDateTime> <ns:id>1</ns:id> <ns:numCPU>1</ns:numCPU> <ns:deploymentGroupId>1</ns:deploymentGroupId> <ns:deploymentGroup>string</ns:deploymentGroup> </ns:engineDetail> <ns:troubleItems> <ns:troubleItem> <ns:monitorName>string</ns:monitorName> <ns:level>1</ns:level> <ns:statistic>avg</ns:statistic> <ns:operator>eq</ns:operator> <ns:threshold>1.0</ns:threshold> <ns:displayName>string</ns:displayName> <ns:value>1.0</ns:value> <ns:timestamp>2007-09-10T19:15:15.868Z</ns:timestamp> </ns:troubleItem> </ns:troubleItems> </ns:handleAlertRequest>
Here are some general steps to consider when creating a monitoring alert BPEL process.
To create an monitoring alert-service BPEL process:
  1. In the Project Explorer, create a new project.
  2. Select
    File > New > BPEL Process
    .
  3. Name the process and click
    Next
    .
  4. On the Process Template page, select the Monitor Alert process template.
  5. A new file opens on the Process Editor canvas with a
    ReceiveAlertMessage
    activity. The receive activity is based on the
    handleAlert
    operation.
  6. Finish building the process, adding the programming logic that you wish to occur when a monitored property reaches a warning or error level.
  7. Launch the Deployment Descriptor wizard and on the Partner Links page, do the following:
    1. Select the MonitorAlertPL My Role partner link.
    2. Type in a Service Name for the My Role partner link.
  8. Start up the Process Server and deploy the process to the server. Note that in the BPR, there are no WSDL or XSD. They are already deployed and available on the server.
  9. In the Process Console, add the Monitor Alert service. See the
    Process Console Help
    for details.

0 COMMENTS

We’d like to hear from you!