root/branches/douglm/deployment/sysevlog/shellscr/resources/jndi.properties

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

Implement a jms consumer which acts as a system events logger

Line 
1 #
2 # activemq jndi.properties
3 #
4 java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
5
6 # use the following property to configure the default connector
7 java.naming.provider.url = tcp://localhost:61616?trace=true
8
9 # use the following property to specify the JNDI name the connection factory
10 # should appear as.
11 connectionFactoryNames = jms/BedeworkConnectionFactory
12
13 # register some queues in JNDI using the form
14 # queue.[jndiName] = [physicalName]
15 queue.queue/syseventslog = bedework.sysevents.logger
16
17 # register some topics in JNDI using the form
18 # topic.[jndiName] = [physicalName]
19 #topic.MyTopic = example.MyTopic
20
21
22
23
24
25 #
26 # context.xml
27 #  <Resource name="jms/BedeworkConnectionFactory"
28 #            auth="Container"
29 #            type="org.apache.activemq.ActiveMQConnectionFactory"
30 #            description="JMS Connection Factory"
31 #            factory="org.apache.activemq.jndi.JNDIReferenceFactory"
32 #            brokerURL="tcp://localhost:61616?trace=true"
33 #            brokerName="LocalActiveMQBroker"/>
34 #
35 #  <!-- ActiveMQ System events queue -->
36 #  <Resource name="queue/sysevents"
37 #            auth="Container"
38 #            type="org.apache.activemq.command.ActiveMQQueue"
39 #            description="Bedework crawler queue"
40 #            factory="org.apache.activemq.jndi.JNDIReferenceFactory"
41 #            physicalName="bedework.sysevents"/>
42 #
43 #  <!-- ActiveMQ System events log queue -->
44 #  <Resource name="queue/syseventslog"
45 #            auth="Container"
46 #            type="org.apache.activemq.command.ActiveMQQueue"
47 #            description="Bedework crawler queue"
48 #            factory="org.apache.activemq.jndi.JNDIReferenceFactory"
49 #            physicalName="bedework.sysevents.logger"/>
50 #
51 #  <!-- ActiveMQ index crawler notifications queue -->
52 #  <Resource name="queue/crawler"
53 #            auth="Container"
54 #            type="org.apache.activemq.command.ActiveMQQueue"
55 #            description="Bedework crawler queue"
56 #            factory="org.apache.activemq.jndi.JNDIReferenceFactory"
57 #            physicalName="bedework.crawler"/>
Note: See TracBrowser for help on using the browser.