Update of Messaging Sync Server Configuration

Updates the properties of the messaging synchronization configuration on the Unwired Server.

Syntax

void updateMessagingSyncServerConfiguration(ServerComponentVO serverComponent) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Update – updates the messaging synchronization configuration on the Unwired Server by specifying the ID, Type, and Properties:
    supServerConf.refresh();
    ServerComponentVO scvo = supServerConf
    		.getMessagingSyncServerConfiguration();
    ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType());
    Map<String, String> properties = scvo.getProperties();
    properties.put("msg.admin.webservices.port", "5100");
    properties.put("msg.http.server.ports", "5001,80");
    scvo_new.setProperties(properties);
    supServerConf.updateMessagingSyncServerConfiguration(scvo_new);
    supServerConf.commit();