此内容没有您所选择的语言版本。
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);
message.getProperties().setProperty(“dispose”, false); message.getProperties().setProperty(“continue”, true);
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - When you run the rules for the last time, set dispose to
true
to clear the JBoss Rules' engine's working memory:message.getProperties().setProperty(“dispose”, true); message.getProperties().setProperty(“continue”, true);
message.getProperties().setProperty(“dispose”, true); message.getProperties().setProperty(“continue”, true);
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
To learn more about using stateful rules sessions, please refer to thebusiness_ruleservice_stateful
quick-start.