Database Reference
In-Depth Information
Consider a case where a business process attempts to insert N records, using
an Oracle BAM Adapter into the Active Data Cache. If Batching is not enabled,
the BAM Adapter invokes the Active Data Cache API by sending one record at
a time, and the client of the BAM Adapter will be blocked until all records have
been processed by the BAM Server. With Batching enabled, the situation can be
optimized by sending a batch of all records in one API call to gain significant per-
formance improvement by reducing the remote method invocations and network
round trips. Needless to say that since the invocation is asynchronous, the client
can continue processing without waiting for a response from the BAM Adapter.
You can enable Batching through the Oracle BAM Adapter configuration wizard,
or simply editing the BAM Adapter .jca file by setting the InBatch property
to true and redeploying the SOA composite, as shown here:
<property name="InBatch" value="true"/>
A batch being sent to a BAM Server is controlled by the elapsed time configured
for the Batch_Timeout property or when the number of records in the batch
reaches the Batch_Lower_Limit threshold. All these and many more prop-
erties that determine batching behaviors, such as how many records can be in-
cluded in a batch, how many batches can be queued up in the Oracle BAM Ad-
apter, and so on, can be configured by performing the following steps (a descrip-
tion of these properties is provided in the next table):
1.
Log in to the Oracle WebLogic Server Administration Console.
2.
Click on Deployments under the Domain Structure pane and then select
OracleBamAdapter from the list of deployments.
3.
Navigate to Configuration | Properties .
4.
Set the specific Batching properties and click on Save .
5.
Go to the Deployments page again, select the checkbox for OracleBamAd-
apter , and click on Update .
6.
Click on Finish to finish updating the deployment for the Oracle BAM Ad-
apter.
7.
Restart the SOA server at which OracleBamAdapter is targeted.
Search WWH ::




Custom Search