Show Table of Contents
16.4. Stateful Rules Session Properties
- To continue the existing stateful session, set these two message properties:
message.getProperties().setProperty(“dispose”, false); message.getProperties().setProperty(“continue”, true);
- When you run the rules for the last time, set dispose to
trueto clear the JBoss Rules' engine's working memory:message.getProperties().setProperty(“dispose”, true); message.getProperties().setProperty(“continue”, true);
Note
To learn more about using stateful rules sessions, please refer to thebusiness_ruleservice_statefulquick-start.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.