| 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 |
<connection-factories> |
|---|
| 8 |
<!-- One just for bedework --> |
|---|
| 9 |
<tx-connection-factory> |
|---|
| 10 |
<jndi-name>jms/BedeworkConnectionFactory</jndi-name> |
|---|
| 11 |
<xa-transaction/> |
|---|
| 12 |
<track-connection-by-tx/> |
|---|
| 13 |
<rar-name>activemq-rar-5.3.0.rar</rar-name> |
|---|
| 14 |
<connection-definition>javax.jms.QueueConnectionFactory</connection-definition> |
|---|
| 15 |
<ServerUrl>tcp://localhost:61616</ServerUrl> |
|---|
| 16 |
<!-- |
|---|
| 17 |
<UserName>sa</UserName> |
|---|
| 18 |
<Password></Password> |
|---|
| 19 |
--> |
|---|
| 20 |
<min-pool-size>1</min-pool-size> |
|---|
| 21 |
<max-pool-size>200</max-pool-size> |
|---|
| 22 |
<blocking-timeout-millis>30000</blocking-timeout-millis> |
|---|
| 23 |
<idle-timeout-minutes>3</idle-timeout-minutes> |
|---|
| 24 |
</tx-connection-factory> |
|---|
| 25 |
|
|---|
| 26 |
<tx-connection-factory> |
|---|
| 27 |
<jndi-name>activemq/QueueConnectionFactory</jndi-name> |
|---|
| 28 |
<xa-transaction/> |
|---|
| 29 |
<track-connection-by-tx/> |
|---|
| 30 |
<rar-name>activemq-rar-5.3.0.rar</rar-name> |
|---|
| 31 |
<connection-definition>javax.jms.QueueConnectionFactory</connection-definition> |
|---|
| 32 |
<ServerUrl>tcp://localhost:61616</ServerUrl> |
|---|
| 33 |
<!-- |
|---|
| 34 |
<UserName>sa</UserName> |
|---|
| 35 |
<Password></Password> |
|---|
| 36 |
--> |
|---|
| 37 |
<min-pool-size>1</min-pool-size> |
|---|
| 38 |
<max-pool-size>200</max-pool-size> |
|---|
| 39 |
<blocking-timeout-millis>30000</blocking-timeout-millis> |
|---|
| 40 |
<idle-timeout-minutes>3</idle-timeout-minutes> |
|---|
| 41 |
</tx-connection-factory> |
|---|
| 42 |
|
|---|
| 43 |
<tx-connection-factory> |
|---|
| 44 |
<jndi-name>activemq/TopicConnectionFactory</jndi-name> |
|---|
| 45 |
<xa-transaction/> |
|---|
| 46 |
<track-connection-by-tx/> |
|---|
| 47 |
<rar-name>activemq-rar-5.3.0.rar</rar-name> |
|---|
| 48 |
<connection-definition>javax.jms.TopicConnectionFactory</connection-definition> |
|---|
| 49 |
<ServerUrl>tcp://localhost:61616</ServerUrl> |
|---|
| 50 |
<!-- |
|---|
| 51 |
<UserName>sa</UserName> |
|---|
| 52 |
<Password></Password> |
|---|
| 53 |
--> |
|---|
| 54 |
<min-pool-size>1</min-pool-size> |
|---|
| 55 |
<max-pool-size>200</max-pool-size> |
|---|
| 56 |
<blocking-timeout-millis>30000</blocking-timeout-millis> |
|---|
| 57 |
<idle-timeout-minutes>3</idle-timeout-minutes> |
|---|
| 58 |
</tx-connection-factory> |
|---|
| 59 |
|
|---|
| 60 |
<!-- Bedework system events queue --> |
|---|
| 61 |
<mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=sysevents"> |
|---|
| 62 |
<attribute name="JNDIName">activemq/queue/sysevents</attribute> |
|---|
| 63 |
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends> |
|---|
| 64 |
<attribute name="Type">javax.jms.Queue</attribute> |
|---|
| 65 |
<attribute name="Properties">PhysicalName=bedework.sysevents</attribute> |
|---|
| 66 |
</mbean> |
|---|
| 67 |
|
|---|
| 68 |
<!-- Bedework system events log queue --> |
|---|
| 69 |
<mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=syseventslog"> |
|---|
| 70 |
<attribute name="JNDIName">activemq/queue/syseventslog</attribute> |
|---|
| 71 |
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends> |
|---|
| 72 |
<attribute name="Type">javax.jms.Queue</attribute> |
|---|
| 73 |
<attribute name="Properties">PhysicalName=bedework.sysevents.logger</attribute> |
|---|
| 74 |
</mbean> |
|---|
| 75 |
|
|---|
| 76 |
<!-- Bedework index crawler notifications queue --> |
|---|
| 77 |
<mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=crawler"> |
|---|
| 78 |
<attribute name="JNDIName">activemq/queue/crawler</attribute> |
|---|
| 79 |
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends> |
|---|
| 80 |
<attribute name="Type">javax.jms.Queue</attribute> |
|---|
| 81 |
<attribute name="Properties">PhysicalName=bedework.crawler</attribute> |
|---|
| 82 |
</mbean> |
|---|
| 83 |
|
|---|
| 84 |
<!-- Bedework inbox processing queue --> |
|---|
| 85 |
<mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=schedulerIn"> |
|---|
| 86 |
<attribute name="JNDIName">activemq/queue/schedulerIn</attribute> |
|---|
| 87 |
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends> |
|---|
| 88 |
<attribute name="Type">javax.jms.Queue</attribute> |
|---|
| 89 |
<attribute name="Properties">PhysicalName=bedework.scheduleIn</attribute> |
|---|
| 90 |
</mbean> |
|---|
| 91 |
|
|---|
| 92 |
<!-- Bedework outbox processing queue --> |
|---|
| 93 |
<mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=schedulerOut"> |
|---|
| 94 |
<attribute name="JNDIName">activemq/queue/schedulerOut</attribute> |
|---|
| 95 |
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends> |
|---|
| 96 |
<attribute name="Type">javax.jms.Queue</attribute> |
|---|
| 97 |
<attribute name="Properties">PhysicalName=bedework.scheduleOut</attribute> |
|---|
| 98 |
</mbean> |
|---|
| 99 |
|
|---|
| 100 |
<!-- A topic example |
|---|
| 101 |
<mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.topic:name=inboundTopic"> |
|---|
| 102 |
<attribute name="JNDIName">activemq/topic/inbound</attribute> |
|---|
| 103 |
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-rar-5.3.0.rar'</depends> |
|---|
| 104 |
<attribute name="Type">javax.jms.Topic</attribute> |
|---|
| 105 |
<attribute name="Properties">PhysicalName=topic.inbound</attribute> |
|---|
| 106 |
</mbean> |
|---|
| 107 |
--> |
|---|
| 108 |
</connection-factories> |
|---|
| 109 |
|
|---|