Author: alex.guizar(a)jboss.com
Date: 2008-09-10 19:48:04 -0400 (Wed, 10 Sep 2008)
New Revision: 2168
Added:
jbpm3/trunk/modules/distribution/src/main/resources/destination/
jbpm3/trunk/modules/distribution/src/main/resources/destination/jbpm-destinations-service.xml
Modified:
jbpm3/trunk/modules/distribution/src/main/resources/installer/install-definition.xml
Log:
[JBPM-1726] added jms destinations service descriptor and install option
Added:
jbpm3/trunk/modules/distribution/src/main/resources/destination/jbpm-destinations-service.xml
===================================================================
---
jbpm3/trunk/modules/distribution/src/main/resources/destination/jbpm-destinations-service.xml
(rev 0)
+++
jbpm3/trunk/modules/distribution/src/main/resources/destination/jbpm-destinations-service.xml 2008-09-10
23:48:04 UTC (rev 2168)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jbossmq-destinations-service.xml 25907 2004-11-16 04:32:39Z ejort $ -->
+
+<!--
+ This file defines the default Queues and Topics that jBPM ships with.
+ The default Queues and Topics are used by the Command Listener Bean
+ and the producer-consumer pair formed by the JMS Message Service and
+ the Job Listener Bean.
+
+ You can add other destinations to this file, or you can create other
+ *-service.xml files to contain your application's destinations.
+ -->
+
+<server>
+ <!--
+ Destinations without a configured SecurityManager or without a
+ SecurityConf will default to role guest with read=true, write=true,
+ create=false.
+ -->
+
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=JbpmJobQueue">
+ <depends
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+ </mbean>
+
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=JbpmCommandQueue">
+ <depends
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+ </mbean>
+
+</server>
Modified:
jbpm3/trunk/modules/distribution/src/main/resources/installer/install-definition.xml
===================================================================
---
jbpm3/trunk/modules/distribution/src/main/resources/installer/install-definition.xml 2008-09-10
14:50:23 UTC (rev 2167)
+++
jbpm3/trunk/modules/distribution/src/main/resources/installer/install-definition.xml 2008-09-10
23:48:04 UTC (rev 2168)
@@ -212,5 +212,11 @@
<file src="(a){resources.dir}/database/jbpm-postgresql-ds.xml"
targetdir="${installPath}/server/${jbossTargetServer}/deploy/jbpm" />
<singlefile
src="(a){deploy.artifacts.dir}/resources/jbpm-core-config/hibernate.cfg.postgresql.xml"
target="${installPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar/hibernate.cfg.xml"
/>
</pack>
+
+ <!-- jBPM JMS Destinations -->
+ <pack name="jBPM3 JMS Destinations" required="no"
preselected="yes">
+ <description>The JMS Destinations</description>
+ <file src="(a){resources.dir}/destination/jbpm-destinations-service.xml"
targetdir="${installPath}/server/${jbossTargetServer}/deploy/jbpm" />
+ </pack>
</packs>
</installation>
\ No newline at end of file
Show replies by date