Thursday, April 25, 2013
Oracle Fusion Middleware Adapters
Technology adapters are included in the Oracle Internet
Application Server and WebLogic Suite license upon which the Oracle SOA Suite
has a licensing dependency. Other adapter types are licensed separately.
Financial Service adapters, along with Financial Message
Designer, are separately licensed standalone products which inter operate with
Oracle Service Bus. They are not JCA adapters like the other integration
adapters. They include:
SWIFT Adapter for
Oracle Service Bus
FIX Adapter for
Oracle Service Bus
Payments Adapter
for Oracle Service Bus
Derivatives
Adapter for Oracle Service Bus
An additional separately licensed adapter, Enterprise Link
for Business Activity Monitoring, is offered as an extension of the Oracle BAM
product for customers who are looking to leverage Oracle BAM's embedded
extract, transform and load (ETL) tooling. Enterprise Link is only one of five
major ways to source data into Oracle BAM and is not required in all customer
implementations. Customers who do not need Enterprise Link are any customers
connecting to Oracle BAM only through BPEL PM Sensors or the Web Services API
for Oracle BAM's Active Data Cache. Enterprise Link is required for all
customers connecting to Oracle BAM through JMS queues or though query-based ETL
updates. This includes customers who want to listen to JMS messages in existing
integration environments, transfer large data sets into BAM, or archive data
out of the BAM Active Data Cache on a scheduled basis.
|
########
Labels: Adapter, SOA Suite 11g
Creating report based on External Data Source (Database table) – Oracle BAM
In Oracle BAM the reports can be created based on the
external database table.This post will explain the steps required to build a simple
report based on the external database table.
Create the External Database:
Creating the Data object based on the External Data Source:
Creating the report:
|
########
Labels: BAM, SOA Suite 11g
Creating the reports based on the data from weblogic JMS queue – Oracle BAM
########
Labels: BAM, SOA Suite 11g
Send the reports to external email ids through Alerts - Oracle BAM server.
By default we can’t send the reports to an external email id’s
from a BAM server, the reports only can be send to a users configured with
Oracle BAM servers(through weblogic console).This post will explain how to enable the BAM server to send
the reports to the external email ids.
Before following this post the email drivers details should
be configured in UMS (through em console).
By default AlertActionAllowExternalEmail property in the BAMCommonConfig.xml
file is set as false.
Change the value of AlertActionAllowExternalEmail property
to true in the BAMCommonConfig.xml file to enable the external email feature. The
BAMCommonConfig.xml
file can be located in the following location
BAM_DOMAIN_HOME/BAMDomain/config/fmwconfig/servers/BAMManagedServer/applications/oracle-bam_11.1.1/config.
Create an Alert to send the report to the External Email:
The below is the email sent the external email is.
|
########
Labels: BAM, SOA Suite 11g
Migrating the BAM objects across environments with the ANT script – Oracle BAM 11g
########
Labels: BAM, SOA Suite 11g
Recovering the BPEL instances from Java For all faulted invoke
Written By Archit Bhardwaj
There are three types of Recoverable messages in BPEL Recovery console
There are five message
states for each type
1.
Undelivered
2.
Resolved
3.
Delivered
4.
Cancelled
5.
Exhausted
The Classes mentioned below are used only to recover messages in
Undelivered Message state.
·
FaultRecoveryForInvoke.java- It recovers undelivered
recoverable Invoke instances based on Composite Name.
·
FaultRecoveryForInvokeAll.java- It
recovers all the Undelivered recoverable Invoke instances.
·
FaultRecoveryForCallback.java- It
recovers undelivered recoverable Callback instances based on Composite Name.
·
FaultRecoveryForCallbackAll.java- It
recovers all the Undelivered recoverable Callback instances.
The state set for
undelivered instances is 0 in the code.
For recovering
messages from other states ,the filter.setState(x) can be changed to :-
0 for Undelivered
1 for Resolved
2 for delivered
3 for Cancelled
4 for exhausted
The jar files used for the
code are :-
***************************************************************************
package Recovery.client;
import java.util.Hashtable;
import java.util.List;
import
java.util.ListIterator;
import java.util.Scanner;
import
javax.naming.Context;
import
oracle.soa.management.facade.Locator;
import
oracle.soa.management.facade.LocatorFactory;
import
oracle.soa.management.facade.bpel.BPELServiceEngine;
import
oracle.soa.management.facade.bpm.BPMInvokeMessage;
import
oracle.soa.management.util.MessageFilter;
public class
FaultRecoveryForInvokeAll{
private Locator locator = null;
private BPELServiceEngine
mBPELServiceEngine;
public FaultRecoveryForInvokeAll(){
System.out.println("Inside
Constructor");
locator = this.getLocator();
try{
System.out.println("Try
Block of Constructor");
mBPELServiceEngine=(BPELServiceEngine)locator.getServiceEngine(Locator.SE_BPEL);
}
catch (Exception e){
e.printStackTrace();
}
}
// Setting up connection properties
public Hashtable getJndiProps(){
System.out.println("Inside getJndiProps");
Hashtable jndiProps = new Hashtable();
jndiProps.put(Context.PROVIDER_URL,"t3://manish:7501/soa-infra");
jndiProps.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
jndiProps.put(Context.SECURITY_PRINCIPAL, "manish");
jndiProps.put(Context.SECURITY_CREDENTIALS,
"********");
jndiProps.put("dedicated.connection", "true");
System.out.println("Connection Successfull");
return jndiProps;
}
//Creating the locator to set up the connection to the server
public Locator getLocator(){
System.out.println("Inside
getLocator");
try{
System.out.println("Try Block
of getLocator");
return
LocatorFactory.createLocator(getJndiProps());
}
catch(Exception e){
e.printStackTrace();
}
return null;
}
// Reovering all recoverable faults listed under invoke and
having the state Undelivered as on BPEL Recovery Console
public void recoverFaults(){
System.out.println("Inside
recoverFaults");
try{
int i=1;
System.out.println("Try Block
of recoverFaults");
MessageFilter filter=new
MessageFilter();
//filters can be set according to
desired criteria
filter.setState(0);
//Getting all recoverable messages
System.out.println("Getting
Recoverable messages");
List<BPMInvokeMessage>
recoverable=mBPELServiceEngine.getInvokeMessages(filter);
ListIterator it=recoverable.listIterator();
while(it.hasNext()){
System.out.println("Record
number----->>>"+i+"\t"+it.next());
i++;
}
System.out.println("total
number of records-------->>>>>"+recoverable.size());
//Recovering all recoverable
messages
mBPELServiceEngine.recoverInvokeMessages(recoverable);
System.out.println("Messages
Retried in one chance");
}
catch (Exception e){
e.printStackTrace();
}
}
public static void main(String[] args){
// calling the method recoverFaults
FaultRecoveryForInvokeAll faultRecovery
= new FaultRecoveryForInvokeAll();
faultRecovery.recoverFaults();
}
}
************************************************************************
|
########
Labels: BPEL Recovery, SOA Suite 11g
Subscribe to:
Posts (Atom)