Disabling persistence on invocation
In this recipe, we'll look at how we can speed up the BPEL execution by using memory queuing.
Getting ready
You'll also need a composite loaded into JDeveloper for this recipe. We have provided one with this chapter's source code available from the book's website.
How to do it...
Follow these steps to disable the BPEL process persistence when invoked:
Load the composite into JDeveloper, and open the
composite.xml
file.Locate the
<component>
section and add a property element with the namebpel.config.oneWayDeliveryPolicy
and valueasync.cache
as follows:<property name="bpel.config.oneWayDeliveryPolicy">async.cache</property>
The file should look similar to the following output:
How it works...
The BPEL engine, by default, saves inbound requests to a database table named dlv_message
(delivered messages). From this table, the threads in the BPEL engine populate the in-memory queue used to instantiate processes. This default setting is represented...