Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The BPEL eample example shows how perform PXE BPEL Engine integration into ServiceMix. PXE is a runtime component for executing processes defined by the BPEL4WS 1.1 specification and forthcoming WS-BPEL 2.0 OASIS standard. PXE BPEL engine uses JMX to provide management and introspection functionality. Business Process Execution Language (BPEL) defines a notation for specifying business process behavior based on Web Services.

A hypothetical business scenario: An A travel agent airline ticketing system offers online reservation to its customers. When a customer requests to be booked for a flight, reserveTicket class of the online ticket reservation system publishes its request to the ticketing topic. The Binding Component which is capable of communicating both to the external reserveTicket class and the Airline Reservation System, is a subscriber to the ticketing topic and thus recieves receives the request. It then forwards the request via NMR to the Airline Reservation System inside the PxeBpelEngine service container. The Airline Reservation System checks its database if it can still accomodate accommodate the request and formulate formulates a response. After that it sends the response back to the Binding Component again via NMR. Binding Component then publish it on the ticketing topic. reserveTicket class is also a subscriber of the topic and thus receives the message. Whether the request is granted or not, reply is outputed outputted to the customer.

The following diagram illustrates this:

...