1 Reply Latest reply on Jun 18, 2012 12:02 PM by Mauricio Salatino

    How do we use AsyncMinaHTWorkItemHandler with the drools.workItemHandlers configuration file

    Newbie

      Hello

       

      This AsyncMinaHTWorkItemHandler seems to require the session as a constructor, but I've not seen any examples of using the drools.workItemHandlers where you pass a session as a constructor.

       

      All I've seen is this:

       

      [

                "My Task": new com.my.MyTaskHandler()

      ]

       

      Can we do something like this:

       

      [

        "My Task": new com.my.MyTaskHandler(sessionFromSomewhere)

      ]

       

      Can someone give some help?

       

      Thanks


      Tim