Database Reference
In-Depth Information
Policy-based handling
This classic example involves a Mediator (but it can be BPEL or the whole of SCA), as
presented in the following figure. We will use the Oracle illustration to clarify the concept,
and we are quite sure that you will find many other examples if you are not already familiar
with mediator policies.
SCA policy-based fault handling
Following are the implementation steps that explain the approach taken in the preceding
figure:
1. Create the SCA project used to transfer orders from OrderDB to any file location.
You will need two PartnerLinks (adapters): one for reading DB, extracting the
Order data, and updating the status field (Logical Delete) and another for
FileWriter as presented in the preceding figure. Feel free to implement your own
XSDs (for database and file-based orders) and a simple table structure; just a
couple of fields will suffice. Set the polling frequency to 10 seconds or any other
Search WWH ::




Custom Search