| 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/sysevents = bedework.sysevents |
|---|
| 16 |
|
|---|
| 17 |
queue.queue/syseventslog = bedework.sysevents.logger |
|---|
| 18 |
|
|---|
| 19 |
queue.queue/schedulerIn = bedework.scheduleIn |
|---|
| 20 |
|
|---|
| 21 |
queue.queue/schedulerOut = bedework.scheduleOut |
|---|
| 22 |
|
|---|
| 23 |
# register some topics in JNDI using the form |
|---|
| 24 |
# topic.[jndiName] = [physicalName] |
|---|
| 25 |
#topic.MyTopic = example.MyTopic |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
# |
|---|
| 32 |
# context.xml |
|---|
| 33 |
# <Resource name="jms/BedeworkConnectionFactory" |
|---|
| 34 |
# auth="Container" |
|---|
| 35 |
# type="org.apache.activemq.ActiveMQConnectionFactory" |
|---|
| 36 |
# description="JMS Connection Factory" |
|---|
| 37 |
# factory="org.apache.activemq.jndi.JNDIReferenceFactory" |
|---|
| 38 |
# brokerURL="tcp://localhost:61616?trace=true" |
|---|
| 39 |
# brokerName="LocalActiveMQBroker"/> |
|---|
| 40 |
# |
|---|
| 41 |
# <!-- ActiveMQ System events queue --> |
|---|
| 42 |
# <Resource name="queue/sysevents" |
|---|
| 43 |
# auth="Container" |
|---|
| 44 |
# type="org.apache.activemq.command.ActiveMQQueue" |
|---|
| 45 |
# description="Bedework crawler queue" |
|---|
| 46 |
# factory="org.apache.activemq.jndi.JNDIReferenceFactory" |
|---|
| 47 |
# physicalName="bedework.sysevents"/> |
|---|
| 48 |
# |
|---|
| 49 |
# <!-- ActiveMQ System events log queue --> |
|---|
| 50 |
# <Resource name="queue/syseventslog" |
|---|
| 51 |
# auth="Container" |
|---|
| 52 |
# type="org.apache.activemq.command.ActiveMQQueue" |
|---|
| 53 |
# description="Bedework crawler queue" |
|---|
| 54 |
# factory="org.apache.activemq.jndi.JNDIReferenceFactory" |
|---|
| 55 |
# physicalName="bedework.sysevents.logger"/> |
|---|
| 56 |
# |
|---|
| 57 |
# <!-- ActiveMQ index crawler notifications queue --> |
|---|
| 58 |
# <Resource name="queue/crawler" |
|---|
| 59 |
# auth="Container" |
|---|
| 60 |
# type="org.apache.activemq.command.ActiveMQQueue" |
|---|
| 61 |
# description="Bedework crawler queue" |
|---|
| 62 |
# factory="org.apache.activemq.jndi.JNDIReferenceFactory" |
|---|
| 63 |
# physicalName="bedework.crawler"/> |
|---|