You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The BPEL eample 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 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 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 the request and formulate 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 to the customer.

The following diagram illustrates this:

Online Ticket Reservation System

  • No labels