JBoss.orgCommunity Documentation
The RA implementation uses the SMPP Impl from smppapi poject.
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 |
---|---|---|---|
host | The host address of SMSC that this RA Entity should connect to | java.lang.String | localhost |
port | The Port of SMSC that this RA Entity should connect to | java.lang.Integer | 2775 |
systemId | The System ID field for bind request. Used by the SMSC for authentication. | java.lang.String | smppclient1 |
systemType | Identifies the type of ESME system requesting to bind as a receiver/transmitter/transciever with the SMSC. | java.lang.String | ESME |
password | Password field for bind request. Used by the SMSC for authentication. | java.lang.String | password |
addressTon | The type of Address for this ESME, used in BIND request | java.lang.Integer | 1 |
addressNpi | The Number Plan Indicator for this ESME, used in BIND request | java.lang.Integer | 0 |
addressRange | A single ESME address or a range of ESME addresses served via this SMPP receiver/transciever/transmitter session. The parameter value is represented in UNIX regular expression format (see Appendix A) of SMPP Spec 3.4. Set to NULL if not known. | java.lang.Integer | 50 |
enquireLinkTimeout | Interval (in seconds) between the RA entity sending enquire_link requests to test the SMPP session is still live. | java.lang.Integer | 30 |
smppResponseReceivedTimeout | Maximum time (in ms) to wait for a response to an outgoing SMPP request. If this timer fires, a SmppErrorEvent is sent to the application, containing the SMPP request PDU that failed. | java.lang.Integer | 5000 |
smppResponseSentTimeout | Maximum time (in ms) to wait for the application (SBB) to respond to an incoming SMPP request. If this timer fires, a generic_nack PDU is sent to the other node, with status ESME_RSYSERR, and the activity is ended. | java.lang.Integer | 5000 |
statsOn | Turns on/off the stats collection through SLEE Usage Parameters | java.lang.Boolean | true |
JAIN SLEE 1.1 Specification requires values set for properties without a default value, which means the configuration for those properties are mandatory, otherwise the Resource Adaptor Entity creation will fail!
There is a single Resource Adaptor Entity created when deploying the Resource Adaptor, named SmppRA. The SmppRA entity uses the default Resource Adaptor configuration, specified in Section 3.1, “Configuration”. The SmppRA entity is also bound to Resource Adaptor Link Name SmppRA, 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>SMPPResourceAdaptorType</resource-adaptor-type-name>
<resource-adaptor-type-vendor>net.java</resource-adaptor-type-vendor>
<resource-adaptor-type-version>5.0</resource-adaptor-type-version>
</resource-adaptor-type-ref>
<activity-context-interface-factory-name>slee/resources/smpp/5.0/factoryprovider</activity-context-interface-factory-name>
<resource-adaptor-entity-binding>
<resource-adaptor-object-name>slee/resources/smpp/5.0/smppinterface</resource-adaptor-object-name>
<resource-adaptor-entity-link>SmppRA</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 SmppResourceAdaptor.