root/branches/douglm/config/bwbuild/default/context.xml

Revision 2305 (checked in by douglm, 4 years ago)

Implement a jms consumer which acts as a system events logger

Line 
1 <Context path="@CONTEXT-ROOT@" reloadable="false">
2   <!-- Resource referenced by web.xml -->
3   <Resource name="jdbc/calDB" auth="Container"
4             type="javax.sql.DataSource"
5             driverClassName="org.hsqldb.jdbcDriver"
6             url="jdbc:hsqldb:hsql://localhost:8887"
7             username="sa"
8             password=""
9             maxActive="8"
10             maxIdle="4"
11             maxWait="-1"
12             defaultAutoCommit="false" />
13
14   <!-- ActiveMQ ConnectionFactory -->
15   <Resource name="jms/BedeworkConnectionFactory"
16             auth="Container"
17             type="org.apache.activemq.ActiveMQConnectionFactory"
18             description="JMS Connection Factory"
19             factory="org.apache.activemq.jndi.JNDIReferenceFactory"
20             brokerURL="tcp://localhost:61616?trace=true"
21             brokerName="LocalActiveMQBroker"/>
22
23   <!-- ActiveMQ System events queue -->
24   <Resource name="queue/sysevents"
25             auth="Container"
26             type="org.apache.activemq.command.ActiveMQQueue"
27             description="Bedework crawler queue"
28             factory="org.apache.activemq.jndi.JNDIReferenceFactory"
29             physicalName="bedework.sysevents"/>
30
31   <!-- ActiveMQ System events log queue -->
32   <Resource name="queue/syseventslog"
33             auth="Container"
34             type="org.apache.activemq.command.ActiveMQQueue"
35             description="Bedework crawler queue"
36             factory="org.apache.activemq.jndi.JNDIReferenceFactory"
37             physicalName="bedework.sysevents.logger"/>
38
39   <!-- ActiveMQ index crawler notifications queue -->
40   <Resource name="queue/crawler"
41             auth="Container"
42             type="org.apache.activemq.command.ActiveMQQueue"
43             description="Bedework crawler queue"
44             factory="org.apache.activemq.jndi.JNDIReferenceFactory"
45             physicalName="bedework.crawler"/>
46
47   <!-- Disables restart persistence of sessions -->
48   <Manager pathname=""/>
49 </Context>
50
Note: See TracBrowser for help on using the browser.