Changing XMPP Port


After installing SapphireIMS XMPP Plug-in (refer Getting Started Guide for the installation), you can change the XMPP ports as explained below.

 

How to change XMPP server management port

 

xmpp_server_mgmt_port.png

 

 

xmpp_server_listening_port.png

 

How to change XMPP server listening port

  update `ofproperty` set propValue = '<PORT>' where `name` = 'xmpp.socket.plain.port';

 

How to change MySQL connectivity for XMPP server

   update `ofproperty` set propValue = '<CONNECTION_STRING>' where `name` = database.defaultProvider.serverURL';

 

How to use XMPP Signal

XMPP informer node on SapphireIMS server will use the following message pattern to signal XMPP agent on SapphireIMS Agent.

{Executable key}${Module key}

 

Executable keys are:

 

1 - SapphireIMS Agent

2 - Task agent

3 - Agent service tray icon

4 - Sapphire Backup

 

Whereas, Module keys are referred from lookuptablesdetail of table identifier 135.

This message will be encoded using Base64 before.E.g. For automation job signaling (1$3), the xmpp message for agent will be MSQz

 

Note: More than one job will be consolidated and sent over a single XMPP message.

 

Some of the key points considered for XMPP signal are: