In this recipe, we'll change conditions that can govern when dehydration is performed by the BPEL engine upon process completion.
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.
You'll also need to have set the in
inMemoryOptimization flag; see the Changing a BPEL process to be transient recipe for instructions on doing this.
Follow these steps to reduce the BPEL completion persist level:
<component>section, and add a
propertyelement, as follows:
<property name="bpel.config.completionPersistPolicy">faulted</property> ...