[jboss-dev-forums] [jBPM Development] - How to: LocalHTWorkItemHandler Spring Integration?
Vijay U
do-not-reply at jboss.com
Sun Jan 27 05:17:38 EST 2013
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&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130127/1226e077/attachment.html
More information about the jboss-dev-forums
mailing list