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

modules.io.vertx.jca.ra.META-INF.ra.xml Maven / Gradle / Ivy

There is a newer version: 2018.5.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
           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" version="1.5">
  <vendor-name>Vert.x Project</vendor-name>
  <eis-type>Vert.x JCA Adapter</eis-type>
  <resourceadapter-version>1.0</resourceadapter-version>
  <resourceadapter>
    <resourceadapter-class>io.vertx.resourceadapter.impl.VertxResourceAdapter</resourceadapter-class>
    <outbound-resourceadapter>
      <connection-definition>
        <managedconnectionfactory-class>io.vertx.resourceadapter.impl.VertxManagedConnectionFactory</managedconnectionfactory-class>
        <!-- repeat for every configuration property -->
        <config-property>
          <config-property-name>clusterHost</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>localhost</config-property-value>
        </config-property>
        <config-property>
          <config-property-name>clusterPort</config-property-name>
          <config-property-type>java.lang.Integer</config-property-type>
          <config-property-value>0</config-property-value>
        </config-property>
        <connectionfactory-interface>io.vertx.resourceadapter.VertxConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>io.vertx.resourceadapter.impl.VertxConnectionFactoryImpl</connectionfactory-impl-class>
        <connection-interface>io.vertx.resourceadapter.VertxConnection</connection-interface>
        <connection-impl-class>io.vertx.resourceadapter.impl.VertxConnectionImpl</connection-impl-class>
      </connection-definition>
      <transaction-support>NoTransaction</transaction-support>
      <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-resourceadapter>
      <messageadapter>
        <messagelistener>
          <messagelistener-type>io.vertx.resourceadapter.inflow.VertxListener</messagelistener-type>
          <activationspec>
            <activationspec-class>io.vertx.resourceadapter.inflow.impl.VertxActivationSpec</activationspec-class>
          </activationspec>
        </messagelistener>
      </messageadapter>
    </inbound-resourceadapter>
  </resourceadapter>
</connector>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy