Hi,
I'm kinda stuck with a wierd problem.
what i'm trying to do is access Spring beans from jBPM actions.
As said in the documentation, i did the mentioned steps.
1)Define the ActionHandler in the spring config file.
Code:
<!-- BPM configuration -->
<bean id="jmsActionHandler"
class="com.bpm.JMSActionHandler" scope="singleton" >
<property name="msgSender" ref="workflowResponseSender" />
</bean>
2) In the jBPM process definition, configure the action to use the spring proxy handler.
Code:
<node name="Success">
<event type="node-enter">
<action name="sendSuccessMessage" config-type="bean"
class="org.springmodules.workflow.jbpm31.JbpmHandlerProxy">
<targetBean>jmsActionHandler</targetBean> </action>
</event>
<transition name="trEnd" to="end"></transition>
</node>
I'm using
- spring-modules-0.9 - spring-modules-jbpm31.jar
Please let know what and where i'm gong wrong.
Is it sumthing to do the versions that is been used?
Thanks
Ved