Implementing a custom passivation storage mechanism
Pega Platform provides two passivation storage mechanisms: database and filesystem. To use a custom passivation mechanism, you write a java class and update two prconfig settings.
- Write a java class that implements
com.pega.pegarules.pub.session.CustomPassivationMechanism
.Pega Platform uses the class as an input parameter when instanciating the out-of-the-box classCustomPassivationMechanismStorageAdapter
. - Compile the class and load it into the database by using the compileAndLoad utility as described in Creating a custom cipher.
- Set the
initialization/persistrequestor/storage
prconfig value tocustom
. - Set the
initialization/persistrequestor/storage/custom/class
prconfig value to the fully-qualified name of the class that you wrote in step 1.
Previous topic Defining passivation storage Next topic Reporting on passivated requestors