TeleStax.orgCommunity Documentation
This chapter documents the JDBC Resource Adaptor Implementation details, such as the configuration properties, the default Resource Adaptor entities, and the JAIN SLEE 1.1 Tracers and Alarms used.
The name of the RA is JDBCResourceAdaptor
, its vendor is org.restcomm
and its version is 1.0
.
The Resource Adaptor supports configuration only at Resource Adaptor Entity creation time. The following table enumerates the configuration properties:
Table 3.1. Resource Adaptor's Configuration Properties
Property Name | Description | Property Type | Default Value |
---|---|---|---|
DATASOURCE_ JNDI _NAME | the JNDI name used to retrieve the Datasource | java.lang.String | java:jboss/datasources/ExampleDS |
EXECUTOR_ SERVICE _THREADS | the number of threads executing statements | java.lang.Integer | 4 |
RA_SBB_ INTERFACE_ CONNECTION_ GETTERS_ON | if false forbidden access to getConnection() methods of the RA SBB Interface. | java.lang.Boolean | true |
Spaces where introduced in the Property Name
column values, to correctly render the table. Please remove them when using copy/paste.
There is a single Resource Adaptor Entity created when deploying the Resource Adaptor, named JDBCRA
.
The JDBCRA
entity is also bound to Resource Adaptor Link Name JDBCRA
, to use it in an Sbb add the following XML to its descriptor:
<resource-adaptor-type-binding>
<resource-adaptor-type-ref>
<resource-adaptor-type-name>
JDBCResourceAdaptorType
</resource-adaptor-type-name>
<resource-adaptor-type-vendor>
org.restcomm
</resource-adaptor-type-vendor>
<resource-adaptor-type-version>
1.0
</resource-adaptor-type-version>
</resource-adaptor-type-ref>
<activity-context-interface-factory-name>
slee/ra/jdbc/1.0/acifactory
</activity-context-interface-factory-name>
<resource-adaptor-entity-binding>
<resource-adaptor-object-name>
slee/ra/jdbc/1.0/sbbinterface
</resource-adaptor-object-name>
<resource-adaptor-entity-link>
JDBCRA
</resource-adaptor-entity-link>
</resource-adaptor-entity-binding>
</resource-adaptor-type-binding>
Each Resource Adaptor Entity uses a single JAIN SLEE 1.1 Tracer, named JdbcResourceAdaptor
. The related Log4j Logger category, which can be used to change the Tracer level from Log4j configuration, is javax.slee.RAEntityNotification[entity=JDBCRA]