[jboss-user] [Messaging, JMS & JBossMQ] - Re: connectionFactoryJndiName config property

tobinibot do-not-reply at jboss.com
Wed Nov 29 21:10:12 EST 2006


Got it.

<connection-factories>
  | 
  |    <tx-connection-factory>
  |       <jndi-name>activemq/QueueConnectionFactory</jndi-name>
  |       <xa-transaction/>
  |       <track-connection-by-tx/> <!-- Thanks to Adrian Brock for pointing this one out! -->
  |       <rar-name>activemq-ra-4.0.2.rar</rar-name>
  |       <connection-definition>javax.jms.QueueConnectionFactory</connection-definition>
  |       <security-domain-and-application>JmsXARealm</security-domain-and-application>
  |    </tx-connection-factory>
  | 
  |    <tx-connection-factory>
  |       <jndi-name>activemq/TopicConnectionFactory</jndi-name>
  |       <xa-transaction/>
  |       <track-connection-by-tx/> <!-- Thanks to Adrian Brock for pointing this one out too! -->
  |       <rar-name>activemq-ra-4.0.2.rar</rar-name>
  |       <connection-definition>javax.jms.TopicConnectionFactory</connection-definition>
  |       <security-domain-and-application>JmsXARealm</security-domain-and-application>
  |    </tx-connection-factory>
  | 
  |    <mbean code="org.jboss.resource.deployment.AdminObject" name="activemq.queue:name=outboundQueue">
  |       <attribute name="JNDIName">activemq/queue/outbound</attribute>
  |       <depends optional-attribute-name="RARName">jboss.jca:service=RARDeployment,name='activemq-ra-4.0.2.rar'</depends>
  |       <attribute name="Type">javax.jms.Queue</attribute>
  |       <attribute name="Properties">
  |             PhysicalName=queue.outbound
  |       </attribute>
  |    </mbean>
  | 
  | </connection-factories>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989899#3989899

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989899



More information about the jboss-user mailing list