Java Reference
In-Depth Information
<ironjacamar>
<connection-definitions>
<connection-definition
class-name="org.apache.activemq.ra.ActiveMQManagedConnectionFactory"
jndi-name="java:jboss/activemq/
TopicConnectionFactory"
pool-name="TopicConnectionFactory">
. . . .
</connection-definition>
<connection-definition
class-name="org.apache.activemq.ra.ActiveMQManagedConnectionFactory"
jndi-name="java:jboss/activemq/
QueueConnectionFactory"
pool-name="QueueConnectionFactory">
. . . .
</connection-definition>
</connection-definitions>
<admin-objects>
<admin-object
class-name="org.apache.activemq.command.ActiveMQQueue"
jndi-name="java:jboss/activemq/queue/
TicketQueue">
<config-property name="PhysicalName">
activemq/queue/TicketQueue
</config-property>
</admin-object>
</admin-objects>
</ironjacamar>
As you can see, this file contains the definition of ActiveMQ connection factories
along with the mapping of JMS administration objects, which will be imported by the
resource adapter. The
ironjacamar.xml
file needs to be copied into the
META-
INF
folder of
activemq-rar-5.7.0.rar
.