<!-- If susbsytem is already defined, only copy the contents under it and edit to suit your needs -->
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
    <resource-adapters>
        <resource-adapter id="sf34">
            <module slot="34" id="org.jboss.teiid.resource-adapter.salesforce"/>
            <transaction-support>NoTransaction</transaction-support>
            <connection-definitions>
                <connection-definition class-name="org.teiid.resource.adapter.salesforce.SalesForceManagedConnectionFactory" 
                        jndi-name="java:/sfDS" 
                        enabled="true" 
                        use-java-context="true" 
                        pool-name="teiid-sf-ds">
                        
                    <!-- URL; the below is test; replace with actual URL you need to connect to -->
                    <config-property name="URL">https://www.salesforce.com/services/Soap/u/34.0</config-property>
                    
                    <config-property name="username">user</config-property>
                    <config-property name="password">pass</config-property>
                    
                    <!-- 
                      optional properties to set timeouts, which can also be done through the CXF config
                      <config-property name="requestTimeout">long value</config-property>
                      <config-property name="connectTimeout">long value</config-property>
                     -->
                    
                </connection-definition>
            </connection-definitions>
        </resource-adapter>
    </resource-adapters>
</subsystem>

