SYS.STOP_GATEWAYSENDER

Stop a configured gateway sender process.

Syntax

SYS.STOP_GATEWAYSENDER( 
    IN GATEWAYSENDER_ID VARCHAR(128) NOT NULL)
GATEWAYSENDER_ID
The name of the gateway sender to stop. This attribute cannot be null.

Example

This command stops all primary and secondary senders with the name cluster-1-sender:

 java.sql.Connection conn = getConnection();    
    CallableStatement cs = conn.prepareCall("CALL SYS.STOP_GATEWAYSENDER(?)");
    cs.setString(1, "cluster-1-sender");    
    cs.execute();