My Oracle Support Banner

How to Recover Initial Messages (Payload) from SOA Audit for Mediator and BPEL components (Doc ID 2929642.1)

Last updated on MARCH 08, 2023

Applies to:

Oracle SOA Suite - Version 11.1.1.7.0 and later
SOA Suite Cloud Service - Version N/A and later
SOA on Marketplace - Version N/A and later
Information in this document applies to any platform.

Goal

In Fusion Applications, the status of SOA composite instances are either running, completed, faulted or staled. The composite instances become staled immediately (irrespective of current status) when the respective composite is redeployed with the same version. The messages (payload) are stored in SOA audit tables until they are purged. The users can go through Enterprise Manager and view audit trails and respective messages of each composite. This is good for debugging composite instances. However there are situations where you want to re-submit initiation of SOA composite instances in bulk for the following reasons:


In these cases, it may be necessary to capture the initial message (payload) of many instances in bulk to resubmit them. This can be managed programmatically through SOA Facade API. The Facade API is part of Oracle SOA Suite's Infrastructure Management Java API that exposes operations and attributes of composites, components, services, references and so on. As long as instances are not purged, the developer can leverage SOA Facade API to retrieve initial messages of either Mediator or BPEL components programmatically. The captured messages can be either resubmitted immediately or stored in persistence storage, such as file, jms or database, for later submission. There are several samples, but this post takes the approach of creating a SOA composite that provides the ability to retrieve initial message of Mediator or BPEL components. The sample provides the frame work and you can tailor it to your requirements.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 SOA Facade API
 How to retrieve initial payload from BPEL?
 How to retrieve initial payload from Mediator
 Complete Java embedded code in BPEL
 Sample Code

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.