Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
Acessing Spring-beans from jBPM actions not working Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Acessing Spring-beans from jBPM actions not working

    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
    • jbpm-jpdl-3.2.6

    Please let know what and where i'm gong wrong.
    Is it sumthing to do the versions that is been used?

    Thanks
    Ved

  • #2
    Post configuration files.

    post your jbpm.cfg.xml , applicationContext.xml(Spring and jbm wiring)...

    Comment

    Working...
    X