Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-3417

BusinessRulesProcessor action needs better support for stateful CEP scenarios

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Migrated to another ITS
    • 5.2.0.ER4
    • FUTURE
    • JBossESB
    • None

    Description

      In order to support common CEP scenarios, the BusinessRulesProcessor action needs an option to automatically control the lifecycle of the stateful knowledge session.

      Currently, if using stateful knowledge sessions, you must control when the session is created, reused, and disposed of using message properties. In a CEP scenario, there is no need for this lifecycle nor is it desired.

      It would be better to have an option that will automatically create a new session upon receiving the first message and automatically reuse the existing session upon receiving subsequent messages. Dispose would not be needed as Drools automatically manages working memory in stream mode.

      Attachments

        1. cep_diff
          17 kB
        2. test-cep-esb.zip
          12 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mpellegrini_jira Michael Pellegrini (Inactive)
              Archiver:
              ranumula@redhat.com Raju Anumula

              Dates

                Created:
                Updated:
                Resolved:
                Archived: