JBoss Community

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

created by Timothy Charman in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community