DROP GATEWAYRECEIVER

Remove a gateway receiver configuration from the GemFire XD cluster.

Syntax

DROP GATEWAYRECEIVER [ IF EXISTS ] receiver-name
IF EXISTS
Include the IF EXISTS clause to execute the statement only if the specified receiver exists in GemFire XD.
receiver-name
Unique identifier for the receiver that you specified in the CREATE GATEWAYRECEIVER statement .

Example

First query SYS.GATEWAYRECEIVERS to determine the list of available gateway receivers that are configured in the system:
gfxd> select id, running_port, server_groups from sys.gatewayreceivers;
ID                  |RUNNING_PORT      |SERVER_GROUPS                                                                                                                  
------------------------------------------------------------
TESTRECEIVER        |1538              |TESTRECEIVERS    
PRODUCTIONRECEIVER  |1544              |PRODUCTIONRECEIVERS

2 rows selected

Drop a configured receiver by specifying its ID:

drop gatewayreceiver testreceiver;