JBoss.orgCommunity Documentation
The RA implementation uses the Mobicents JAIN MGCP Implementation.
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 |
---|---|---|---|
jain.mgcp.PORT | the port to which the MGCP stack should listen | java.lang.Integer | 2727 |
jain.mgcp.IP_ADDRESS | the IP address to which the MGCP stack should attach - if value is not specified the RA will use the underlying Java EE container's bind address address | java.lang.String |
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 MGCPRA. The MGCPRA entity uses the default Resource Adaptor configuration, specified in Section 3.1, “Configuration”. The MGCPRA entity is also bound to Resource Adaptor Link Name MGCPRA, 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>
jain-mgcp
</resource-adaptor-type-name>
<resource-adaptor-type-vendor>
net.java
</resource-adaptor-type-vendor>
<resource-adaptor-type-version>
2.0
</resource-adaptor-type-version>
</resource-adaptor-type-ref>
<activity-context-interface-factory-name>
slee/resources/jainmgcp/2.0/acifactory/demo
</activity-context-interface-factory-name>
<resource-adaptor-entity-binding>
<resource-adaptor-object-name>
slee/resources/jainmgcp/2.0/provider/demo
</resource-adaptor-object-name>
<resource-adaptor-entity-link>
MGCPRA
</resource-adaptor-entity-link>
</resource-adaptor-entity-binding>
</resource-adaptor-type-binding>