All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.javaee.jca-config.server2.jms-remote-ds.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>


<!-- This file will be deployed by the target deploy on build.xml -->
<connection-factories>


   <!--
    JMS XA Resource adapter, use this for outbound JMS connections.
    Inbound connections are defined at the @MDB activaction or at the resource-adapter properties.
   -->
   <tx-connection-factory>
      <jndi-name>RemoteJmsXA</jndi-name>
      <xa-transaction/>
      <rar-name>hornetq-ra.rar</rar-name>
      <connection-definition>org.hornetq.ra.HornetQRAConnectionFactory</connection-definition>
      <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
      <!--if we over ride the connector class we must over ride the params too-->
      <config-property name="ConnectorClassName" type="java.lang.String">org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</config-property>
      <config-property name="ConnectionParameters" type="java.lang.String">host=localhost;port=5445</config-property>
      <max-pool-size>20</max-pool-size>
   </tx-connection-factory>
  
  
</connection-factories>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy