The Oracle BAM Adapter is a Java Connector Architecture (JCA)-compliant adapter which can be used from a Java EE client to send data and events to the Oracle BAM Server. Oracle BAM Adapter is configured in Oracle WebLogic Server Administration Console to provide any of these connection pools. Oracle BAM Adapter provides three mechanisms by which you can send data to Oracle BAM Active Data Cache from an SOA composite application.
Oracle BAM Adapter provides three mechanisms by which you can send data to an Oracle BAM Server in your SOA composite application:
- The Oracle BAM Adapter can be used as a reference binding component in an SOA composite application. For example, Oracle Mediator can send data to Oracle BAM using the Oracle BAM Adapter.
- The Oracle BAM Adapter can also be used as a partner link in a Business Process Execution Language (BPEL) process to send data to Oracle BAM as a step in the process.
- Oracle BAM sensor actions can be included within a BPEL process to publish event-based data to the Oracle BAM data objects.
Ways to Integrate BAM:
1. Using Mediator Service with a composite architecture
2. Using BPEL Composite service
3. Using OSB with BAM JCA adapter
1. Using Mediator Service with a composite architecture
- Create a composite service and create an input web service (file adapter/WSDL partner link) for getting Input of the service.
- In the Partner link panel create a BAM Adapter as per the guidelines.
- In the Composite panel create a Mediator service and link it with both the WSDL Partner link (point a above) and with BAM adapter (point b)
- Create a Transformation service as per the business requirements.
2. Using BPEL Composite Service
- Create an Empty composite BPEL service and create an input web service (file adapter/WSDL partner link) for getting Input of the service.
- In the Partner link panel create a BAM Adapter as per the guidelines.
- Now Drag and drop the Receive activity, Transform, Invoke and other required activities for processing.
- Link all the related activities as per instructions and business logic.
- Deploy and test the code.
3. Using OSB and BAM Integration
Being OSB a different component and not a part of SOA Suite, we need to integrate it with BAM by using JCA, WSDL and Schema (XSD) files of BAM Adapter.
Below are some of the steps for working on the same process.
- Create an Empty composite service in JDeveloper and drag and drop the BAM adapter. Configure the BAM adapter as done in above two types like in BPEL and Mediator.
- In Eclipse IDE, create an OSB Project and Import the above created BAM adapter JCA, WSDL, and XSD files/folders.
- Generate a Business service with the use of JCA file.
- Create a Proxy Message service with the provided schema file and use activities, transformation and routing service to link it with the above generated business service.
- Deploy and test the code.