<?xml version="1.0" encoding="windows-1252" ?>
<connector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
           xmlns="http://java.sun.com/xml/ns/j2ee" version="1.5">
  <display-name>MQjms</display-name>
  <vendor-name>Oracle Corporation</vendor-name>
  <eis-type>MQ JMS</eis-type>
  <resourceadapter-version>1.0</resourceadapter-version>

  <resourceadapter>
    <resourceadapter-class>oracle.j2ee.ra.jms.generic.JMSResourceAdapter</resourceadapter-class>
    <config-property>
      <config-property-name>lookupMethod</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>resourceProvider</config-property-value>
    </config-property>
    <config-property>
      <config-property-name>resourceProviderName</config-property-name>
      <config-property-type>java.lang.String</config-property-type>
      <config-property-value>mqjmsrp</config-property-value>
    </config-property>

    <outbound-resourceadapter>
    
      <!-- non-XA Connection Factory -->
      <connection-definition>
        <managedconnectionfactory-class>oracle.j2ee.ra.jms.generic.ManagedConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <config-property-name>jndiLocation</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>MQCF</config-property-value>
        </config-property>
        <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>oracle.j2ee.ra.jms.generic.ConnectionFactoryWrapper</connectionfactory-impl-class>
        <connection-interface>javax.jms.Connection</connection-interface>
        <connection-impl-class>oracle.j2ee.ra.jms.generic.ConnectionWrapper</connection-impl-class>
      </connection-definition>

      <!-- XA Connection Factory -->
      <connection-definition>
        <managedconnectionfactory-class>oracle.j2ee.ra.jms.generic.ManagedXAConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <config-property-name>jndiLocation</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>MQXACF</config-property-value>
        </config-property>
        <connectionfactory-interface>javax.jms.XAConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>oracle.j2ee.ra.jms.generic.XAConnectionFactoryWrapper</connectionfactory-impl-class>
        <connection-interface>javax.jms.XAConnection</connection-interface>
        <connection-impl-class>oracle.j2ee.ra.jms.generic.XAConnectionWrapper</connection-impl-class>
      </connection-definition>

      <!-- non-XA Queue Connection Factory -->
      <connection-definition>
        <managedconnectionfactory-class>oracle.j2ee.ra.jms.generic.ManagedQueueConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <config-property-name>jndiLocation</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>MQQCF</config-property-value>
        </config-property>
        <connectionfactory-interface>javax.jms.QueueConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>oracle.j2ee.ra.jms.generic.QueueConnectionFactoryWrapper</connectionfactory-impl-class>
        <connection-interface>javax.jms.QueueConnection</connection-interface>
        <connection-impl-class>oracle.j2ee.ra.jms.generic.QueueConnectionWrapper</connection-impl-class>
      </connection-definition>

      <!-- XA Queue Connection Factory -->
      <connection-definition>
        <managedconnectionfactory-class>oracle.j2ee.ra.jms.generic.ManagedXAQueueConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <config-property-name>jndiLocation</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>MQXAQCF</config-property-value>
        </config-property>
        <connectionfactory-interface>javax.jms.XAQueueConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>oracle.j2ee.ra.jms.generic.XAQueueConnectionFactoryWrapper</connectionfactory-impl-class>
        <connection-interface>javax.jms.XAQueueConnection</connection-interface>
        <connection-impl-class>oracle.j2ee.ra.jms.generic.XAQueueConnectionWrapper</connection-impl-class>
      </connection-definition>

      <!-- non-XA Topic Connection Factory -->
      <connection-definition>
        <managedconnectionfactory-class>oracle.j2ee.ra.jms.generic.ManagedTopicConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <config-property-name>jndiLocation</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>MQTCF</config-property-value>
        </config-property>
        <connectionfactory-interface>javax.jms.TopicConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>oracle.j2ee.ra.jms.generic.TopicConnectionFactoryWrapper</connectionfactory-impl-class>
        <connection-interface>javax.jms.TopicConnection</connection-interface>
        <connection-impl-class>oracle.j2ee.ra.jms.generic.TopicConnectionWrapper</connection-impl-class>
      </connection-definition>

      <!-- XA Topic Connection Factory -->
      <connection-definition>
        <managedconnectionfactory-class>oracle.j2ee.ra.jms.generic.ManagedXATopicConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <config-property-name>jndiLocation</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>MQXATCF</config-property-value>
        </config-property>
        <connectionfactory-interface>javax.jms.XATopicConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>oracle.j2ee.ra.jms.generic.XATopicConnectionFactoryWrapper</connectionfactory-impl-class>
        <connection-interface>javax.jms.XATopicConnection</connection-interface>
        <connection-impl-class>oracle.j2ee.ra.jms.generic.XATopicConnectionWrapper</connection-impl-class>
      </connection-definition>

      <!-- Transaction Support -->
      <transaction-support>XATransaction</transaction-support>

      <!-- Authentication Mechanism -->
      <authentication-mechanism>
        <authentication-mechanism-type>
               BasicPassword
            </authentication-mechanism-type>
        <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
      </authentication-mechanism>
      
      <reauthentication-support>false</reauthentication-support>
      
    </outbound-resourceadapter>

    <!-- inbound configuration -->
    <!--
    <inbound-resourceadapter>
      <messageadapter>
        <messagelistener>
          <messagelistener-type>javax.jms.MessageListener</messagelistener-type>
          <activationspec>
            <activationspec-class>oracle.j2ee.ra.jms.generic.JMSActivationSpec</activationspec-class>
            <required-config-property>
              <config-property-name>ConnectionFactoryJndiName</config-property-name>
            </required-config-property>
            <required-config-property>
              <config-property-name>DestinationName</config-property-name>
            </required-config-property>
            <required-config-property>
              <config-property-name>DestinationType</config-property-name>
            </required-config-property>
          </activationspec>
        </messagelistener>
      </messageadapter>
    </inbound-resourceadapter>
    -->

    <!-- Dynamic Queue Admin Object -->
    <adminobject>
      <adminobject-interface>javax.jms.Queue</adminobject-interface>
      <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjectQueueImpl</adminobject-class>
      <config-property>
        <config-property-name>resourceProviderName</config-property-name>
        <config-property-type>java.lang.String</config-property-type>
        <config-property-value>mqjmsrp</config-property-value>
      </config-property>
    </adminobject>

    <!--   Dynamic Topic admin object -->
    <adminobject>
      <adminobject-interface>javax.jms.Topic</adminobject-interface>
      <adminobject-class>oracle.j2ee.ra.jms.generic.AdminObjectTopicImpl</adminobject-class>
      <config-property>
        <config-property-name>resourceProviderName</config-property-name>
        <config-property-type>java.lang.String</config-property-type>
        <config-property-value>mqjmsrp</config-property-value>
      </config-property>
    </adminobject>
    
</resourceadapter>
</connector>
