Skip to main content
LinkedIn
Copied!

Table of Contents

Implementing a custom passivation storage mechanism

Version:

Only available versions of this content are shown in the dropdown

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.

  1. Write a java class that implements com.pega.pegarules.pub.session.CustomPassivationMechanism.

    Internally in the Pega engine, this class is used as an input parameter when instanciating the out-of-the-box class CustomPassivationMechanismStorageAdapter.
  2. Compile the class and load it into the database by using the compileAndLoad utility as described in steps 6 and 7 of the Pega Community article Creating a custom cipher in Pega Platform.

  3. Set the initialization/persistrequestor/storage prconfig value to custom.

  4. Set the initialization/persistrequestor/storage/custom/class prconfig value to the fully-qualified name of the class that you wrote in step 1.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us