Vijay U [
https://community.jboss.org/people/vutnal] created the discussion
"How to: LocalHTWorkItemHandler Spring Integration?"
To view the discussion, visit:
https://community.jboss.org/message/794449#794449
--------------------------------------------------------------
I am trying to register LocalHTWorkItemHandler for "Human Task" using spring
integration (in jBPM5.4). My spring configuration looks like this:
<jbpm:ksession id="ksession" type="stateful"
kbase="kbase"
><jbpm:configuration><jbpm:work-item-handlers><jbpm:work-item-handler
name="Human Task"
ref="humanTaskWorkItemHandler"/></jbpm:work-item-handlers></jbpm:configuration></jbpm:ksession>
<bean id="humanTaskWorkItemHandler"
class="org.jbpm.process.workitem.wsht.LocalHTWorkItemHandler"><constructor-arg
ref="ksession"></constructor-arg></bean>
Obviously, this won't work due to the circular dependency of ksession and
humanTaskWorkItemHandler.
How to register such WorkItem handler's (using Spring Integration) that need ksession
as consturction arg?
Thanks,
Vijay
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/794449#794449]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]