[jbpm-commits] JBoss JBPM SVN: r6717 - jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/etc.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Sep 30 12:56:45 EDT 2010
Author: bradsdavis
Date: 2010-09-30 12:56:45 -0400 (Thu, 30 Sep 2010)
New Revision: 6717
Modified:
jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/etc/jbpm.cfg.xml
Log:
Added message and scheduler services with the new JMS Implementation.
Modified: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/etc/jbpm.cfg.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/etc/jbpm.cfg.xml 2010-09-30 16:50:46 UTC (rev 6716)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/etc/jbpm.cfg.xml 2010-09-30 16:56:45 UTC (rev 6717)
@@ -11,23 +11,32 @@
</bean>
</factory>
</service>
- <service name="scheduler">
- <factory>
- <bean class="org.jbpm.jms.JmsConnectorServiceFactory" singleton="true">
- <field name="jbpmConfiguration">
- <ref bean="jbpm.configuration" />
- </field>
- <field name="destinationJndiName">
- <string value="java:comp/env/jms/TimerQueue" />
- </field>
- </bean>
- </factory>
- </service>
+ <service name="message">
+ <factory>
+ <ref bean="jbpm.jms.connector.command.service" />
+ </factory>
+ </service>
+ <service name="scheduler">
+ <factory>
+ <ref bean="jbpm.jms.connector.job.service" />
+ </factory>
+ </service>
<service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
<service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
<service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
</jbpm-context>
+
+ <bean name="jbpm.jms.connector.command.service" class="org.jbpm.jms.JmsConnectorServiceFactory">
+ <property name="connectionFactoryJndiName"><string value="java:JmsXA"/></property>
+ <property name="destinationJndiName"><string value="queue/JbpmJobQueue"/></property>
+ </bean>
+
+ <bean name="jbpm.jms.connector.job.service" class="org.jbpm.jms.JmsConnectorServiceFactory">
+ <property name="connectionFactoryJndiName"><string value="java:JmsXA"/></property>
+ <property name="destinationJndiName"><string value="queue/JbpmJobQueue"/></property>
+ </bean>
+
<!-- employ the context class loader -->
<string name="jbpm.class.loader" value="context" />
More information about the jbpm-commits
mailing list