[jboss-user] [jBPM] - Re: JBPM 5, WorkItemHandler as a Spring Bean

Michał Minicki do-not-reply at jboss.com
Thu Dec 23 09:35:23 EST 2010


Michał Minicki [http://community.jboss.org/people/Valgoerad] created the discussion

"Re: JBPM 5, WorkItemHandler as a Spring Bean"

To view the discussion, visit: http://community.jboss.org/message/577368#577368

--------------------------------------------------------------
Here's the solution:


    <drools:ksession id="jpaSingleSessionCommandService" type="stateful" kbase="knowledgeBase">
        <drools:configuration>
            <drools:work-item-handlers>
                <drools:work-item-handler name="Notification" ref="refToNotificationWorkItemHandler" />
            </drools:work-item-handlers>
            <drools:jpa-persistence>
                <drools:transaction-manager ref="transactionManager" />
                <drools:entity-manager-factory ref="entityManagerFactory" />
            </drools:jpa-persistence>
        </drools:configuration>
    </drools:ksession>

    <drools:ksession id="jpaSingleSessionCommandService" type="stateful" kbase="knowledgeBase">
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/577368#577368]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101223/85437a53/attachment.html 


More information about the jboss-user mailing list