root/trunk/config/bwbuild/geronimo2-postgresql-devel/activemq-jms-ds.xml

Revision 3537 (checked in by douglm, 1 year ago)

Two intertwined updates here.

Most projects are changed to go some way towards maven. Use maven-ant tasks to deal with build dependencies. Mostly chnages to build.xml and the additon of pom.xml.

Additionally, added a new bedenote project which handles JMS messages. This removes the need for special support from activemq.

Removed the auto-deploy of activemq config and made it a special target - "deployActivemq"

To install this stuff:

1. Check out the bedenote project
2. execute the deployActivemq target
3. Build/deploy bedenote
4. Restart


Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!DOCTYPE connection-factories
4     PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
5     "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
6    
7 <!-- Bedework:
8   For the quickstart this file is copied out of the configuration
9   directory into the activemq configuration directory.
10
11   DO NOT edit the copy of this file inside activemq. If you want to change the
12   configuration edit a copy inside your bedework configuration directory.
13  -->
14
15 <connection-factories>
16    <!-- One just for bedework -->
17    <tx-connection-factory>
18       <jndi-name>jms/BedeworkConnectionFactory</jndi-name>
19       <xa-transaction/>
20       <track-connection-by-tx/>
21       <rar-name>activemq-rar-5.3.0.rar</rar-name>
22       <connection-definition>javax.jms.QueueConnectionFactory</connection-definition>
23
24       <ServerUrl>failover:(${org.bedework.activemq.uri})?timeout=3000</ServerUrl>
25       <!--
26       <ServerUrl>failover:(tcp://localhost:61616)?timeout=3000</ServerUrl>
27       -->     
28       <!--
29       <UserName>sa</UserName>
30       <Password></Password>
31       -->
32       <min-pool-size>1</min-pool-size>
33       <max-pool-size>200</max-pool-size>
34       <blocking-timeout-millis>30000</blocking-timeout-millis>
35       <idle-timeout-minutes>3</idle-timeout-minutes>
36    </tx-connection-factory>
37
38    <tx-connection-factory>
39       <jndi-name>activemq/QueueConnectionFactory</jndi-name>
40       <xa-transaction/>
41       <track-connection-by-tx/>
42       <rar-name>activemq-rar-5.3.0.rar</rar-name>
43       <connection-definition>javax.jms.QueueConnectionFactory</connection-definition>
44
45       <ServerUrl>failover:(${org.bedework.activemq.uri})?timeout=3000</ServerUrl>
46       <!--
47       <UserName>sa</UserName>
48       <Password></Password>
49       -->
50       <min-pool-size>1</min-pool-size>
51       <max-pool-size>200</max-pool-size>
52       <blocking-timeout-millis>30000</blocking-timeout-millis>
53       <idle-timeout-minutes>3</idle-timeout-minutes>
54    </tx-connection-factory>
55
56    <tx-connection-factory>
57       <jndi-name>activemq/TopicConnectionFactory</jndi-name>
58       <xa-transaction/>
59       <track-connection-by-tx/>
60       <rar-name>activemq-rar-5.3.0.rar</rar-name>
61       <connection-definition>javax.jms.TopicConnectionFactory</connection-definition>
62
63       <ServerUrl>failover:(${org.bedework.activemq.uri})?timeout=3000</ServerUrl>
64       <!--
65       <UserName>sa</UserName>
66       <Password></Password>
67       -->
68       <min-pool-size>1</min-pool-size>
69       <max-pool-size>200</max-pool-size>
70       <blocking-timeout-millis>30000</blocking-timeout-millis>
71       <idle-timeout-minutes>3</idle-timeout-minutes>
72    </tx-connection-factory>
73
74    <!-- Bedework system events queue -->
75    <mbean code="org.jboss.resource.deployment.AdminObject"
76           name="activemq.queue:name=sysevents">
77       <attribute name="JNDIName">activemq/queue/sysevents</attribute>
78       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
79       <attribute name="Type">javax.jms.Queue</attribute>
80       <attribute name="Properties">PhysicalName=bedework.sysevents</attribute>
81    </mbean>
82
83    <!-- Bedework system events log queue -->
84    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=syseventslog">
85       <attribute name="JNDIName">activemq/queue/syseventslog</attribute>
86       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
87       <attribute name="Type">javax.jms.Queue</attribute>
88       <attribute name="Properties">PhysicalName=bedework.sysevents.logger</attribute>
89    </mbean>
90
91    <!-- Bedework system monitor queue -->
92    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=monitor">
93       <attribute name="JNDIName">activemq/queue/monitor</attribute>
94       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
95       <attribute name="Type">javax.jms.Queue</attribute>
96       <attribute name="Properties">PhysicalName=bedework.sysevents.monitor</attribute>
97    </mbean>
98
99    <!-- Bedework index crawler notifications queue -->
100    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=crawler">
101       <attribute name="JNDIName">activemq/queue/crawler</attribute>
102       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
103       <attribute name="Type">javax.jms.Queue</attribute>
104       <attribute name="Properties">PhysicalName=bedework.crawler</attribute>
105    </mbean>
106
107    <!-- Bedework inbox processing queue -->
108    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=schedulerIn">
109       <attribute name="JNDIName">activemq/queue/schedulerIn</attribute>
110       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
111       <attribute name="Type">javax.jms.Queue</attribute>
112       <attribute name="Properties">PhysicalName=bedework.scheduleIn</attribute>
113    </mbean>
114
115    <!-- Bedework outbox processing queue -->
116    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=schedulerOut">
117       <attribute name="JNDIName">activemq/queue/schedulerOut</attribute>
118       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
119       <attribute name="Type">javax.jms.Queue</attribute>
120       <attribute name="Properties">PhysicalName=bedework.scheduleOut</attribute>
121    </mbean>
122    
123 <!-- A topic example
124    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.topic:name=inboundTopic">
125       <attribute name="JNDIName">activemq/topic/inbound</attribute>
126       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends>
127       <attribute name="Type">javax.jms.Topic</attribute>
128       <attribute name="Properties">PhysicalName=topic.inbound</attribute>
129    </mbean>
130 -->
131 </connection-factories>
132
Note: See TracBrowser for help on using the browser.