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

<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
  version="1.5"
  configId="org/mule/ra/Server"
  parentId="org/apache/geronimo/Server">

  <resourceadapter>
    <resourceadapter-instance>
      <resourceadapter-name>Mule RA</resourceadapter-name>
      <config-property-setting name="UserName">admin</config-property-setting>
      <config-property-setting name="Password">admin</config-property-setting>
      <workmanager-name>DefaultWorkManager</workmanager-name>
    </resourceadapter-instance>
    <outbound-resourceadapter>
      <connection-definition>
        <connectionfactory-interface>org.mule.module.jca.MuleConnectionFactory</connectionfactory-interface>
        <connectiondefinition-instance>
          <name>DefaultMuleConnectionFactory</name>
<!--          <implemented-interface>org.mule.ra.MuleConnectionFactory</implemented-interface>-->
          <connectionmanager>
<!--            <xa-transaction>-->
<!--              <transaction-caching/>-->
<!--            </xa-transaction>-->
            <single-pool>
              <max-size>10</max-size>
              <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
              <match-one/>
            </single-pool>
          </connectionmanager>
          <global-jndi-name>mule/ConnectionFactory</global-jndi-name>
          <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
        </connectiondefinition-instance>
      </connection-definition>
    </outbound-resourceadapter>
  </resourceadapter>
</connector>