Skip to content

Instantly share code, notes, and snippets.

@fishnix
Created April 28, 2011 15:29
Show Gist options
  • Save fishnix/946574 to your computer and use it in GitHub Desktop.
Save fishnix/946574 to your computer and use it in GitHub Desktop.
qpid jca datasource
<connection-factories>
<mbean code="org.jboss.resource.deployment.AdminObject"
name="qpid.jca:name=ScheduledRequests">
<attribute name="JNDIName">queue/ScheduledRequests</attribute>
<depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='qpid-ra-0.10.rar'</depends>
<attribute name="Type">javax.jms.Destination</attribute>
<attribute name="Properties">
destinationAddress=ScheduledRequests
</attribute>
</mbean>
<tx-connection-factory>
<jndi-name>QpidJMS</jndi-name>
<local-transaction/>
<rar-name>qpid-ra-0.10.rar</rar-name>
<connection-definition>org.apache.qpid.ra.QpidRAConnectionFactory</connection-definition>
<config-property name="connectionURL">amqp://guest:guest@improv/development?brokerlist='tcp://172.28.52.72:5672'</config-property>
<max-pool-size>20</max-pool-size>
</tx-connection-factory>
</connection-factories>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment