Introduction
The Recovery component in WebSphere Process Server (hereafter called Process Server) provides a useful service that stores the information about the failed flows in the system and helps administrators to reinitiate them once the problems are resolved. Whenever there is a ServiceRuntimeException in the request process flow, the Recovery component comes into play. At that time, the transaction is rolled back until the last asynchronous point. The request data is wrapped inside a failed event and saved inside the common database. Along with the request data, the failed event also contains more information about when and where the failed event was created. If the failed flow needs to be re-initiated, this information helps to start processing again from the point where it failed earlier.
You can use the Failed Event Manager application that comes out-of-the-box when Process Server is installed to view, modify request data, and resubmit the failed events. This application runs on the application cluster and is accessed through the admin console. However, administrators prefer to have the capability to write clients to retrieve specific failed events, view the data, modify the data, and then resubmit them. To write these custom clients, administrators have to use the Failed Event Manager API. In fact, the admin console uses the same API to provide the functionality.
This tutorial discusses how to develop the custom Java™ applications to work with the failed events. It uses a sample application that contains a mediation flow and SCA components to illustrate generating the failed events and to use Java Server Pages to work with these failed events.
The tutorial is divided into the following sections:
- Introduction to the credit card gateway service integration application
- Testing failed event scenarios with the application
- Managing failed events programmatically
- You need a good understanding of Java and Java EE concepts.
- You need hands-on experience with SCA programming, mediations, and WebSphere Process Server administration concepts and tools.
- IBM® WebSphere Integration Developer V7.0.0.0 with Fixpack 3 and the Unit Test Environment
3 hours



