RestComm / smpp-extensions

Extensions for configuration, management and monitoring of the Restcomm Cloudhopper SMPP Stack
GNU Affero General Public License v3.0
5 stars 17 forks source link

SmppManagement - make it as a mbean #18

Closed vetss closed 7 years ago

vetss commented 7 years ago

SMPP RA now gets SmppManagement as: SmppManagement smscManagemet = SmppManagement.getInstance();

We need to make that SMPP RA will get it from mbean server. This will allow us to create "jboss-dependency.xml" with reference like

<dependency xmlns="urn:jboss:dependency:1.0">
    <item whenRequired="Real" dependentState="Installed">MAPSS7Service</item>
</dependency>

that will allow us to guarantee that SMPP-extensions will be started always before SMPP RA.

We have such implementation in JSS7 stack / RAs (needed to use as a template).

vetss commented 7 years ago

Fixed by: https://github.com/RestComm/smpp-extensions/commit/b3196b165ab0bd06b63f259f300d52cabb8a82ed https://github.com/RestComm/smpp-extensions/commit/39b825afa816790f6431436a20e5e7c8c86c108b https://github.com/RestComm/smpp-extensions/commit/4b37895e76d3b244f3a9c15c80ee5b51c2078312

SMPP RA: https://github.com/RestComm/jain-slee.smpp/commit/8d775b86264136c726dc75845ee6a804bfd77815