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
spring/jbpm - custom configuration jbpm.cfg.xml Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring/jbpm - custom configuration jbpm.cfg.xml

    hi all,

    I'm working on a webapp with jbpm3.1, spring2.5.5, spring-modules-jbpm31 0.8-20070311155753

    it work all perfectly, now i'd like to have a custom MessageServiceFactory on jms. i've seen the JmsMessageServiceFactory which load the jms resource via jndi.

    I would like to read the MessageServiceFactory from the spring context (or al least have a reference to my jmsTemplate bean configured inside spring), is there any way to do that?

    I load the jbpm configuration with org.springmodules.workflow.jbpm31.LocalJbpmConfigu rationFactoryBean from the file jbpm.cfg.xml
    Code:
    	<bean id="jbpmConfiguration" class="org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean">
    	    <property name="sessionFactory" ref="sessionFactory"/>
    	    <property name="configuration" value="/WEB-INF/config/jbpm/jbpm.cfg.xml"/>
    	</bean>
    I think I've to write my custom MessageServiceFactory, but I don't know how to reference the spring context inside the implementation...

    any suggestion will be appreciated

    thanks
Working...
X