Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2375

Drools hangs when events are retracted

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.1.0.CR1
    • 5.0.1.FINAL
    • drools-core (fusion)
    • None

      Using a StatefulKnowledgeSession (stream mode). Drools hangs when events are retracted from the session. Running the attached code results in drools hanging almost immediately. Adding the @expires property to the event declaration, e.g.

      declare Foo
      @role (event)
      @expires (10s)
      end

      causes drools to hang after the specified expiry time, i.e. 10 seconds.

        1. Main.java
          3 kB
        2. stacktrace.txt
          3 kB

            etirelli@redhat.com Edson Tirelli
            reverselogic Paul O'Riordan (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

              Created:
              Updated:
              Resolved:
              Archived: