Update of Relay Server Outbound Enabler

Updates an existing Relay Server outbound enabler configuration.

Syntax

void updateOutboundEnabler(int outboundEnablerId, OutboundEnablerVO outboundEnabler) throws com.sybase.sup.admin.exception.SUPAdminException

Parameters

  • outboundEnablerId – the ID of the outbound enabler configuration to be updated.
  • outboundEnabler – the outbound enabler configuration containing the property values to be updated.

Returns

If successful, updates the specified outbound enabler configuration(s). If unsuccessful, returns SUPAdminException .

Examples

  • Update an outbound enabler configuration
    Iterator<OutboundEnablerVO> iter = supServerConf
    		.getOutboundEnablers().iterator();
    if (!iter.hasNext())
    	return;
    
    OutboundEnablerVO oe1 = iter.next();
    oe1.setCertificateFile("4321");
    
    supServerConf.updateOutboundEnabler(oe1.getID(), oe1);