Whatever message this page gives is out now! Go check it out!

setGatewayID

Last update:
May 18, 2026

Description

Sets the gateway ID that uniquely identifies the Gateway instance.

Category

Event Gateway Development

Syntax

public void setGatewayID(String id)

See also

Parameters

ParameterDescription
id
The identifier for this gateway instance.

Usage

This method sets a string value that is returned by the getGatewayID method. ColdFusion calls this method to set the gateway ID with the value specified in the gateway instance configuration in the ColdFusion Administrator before it starts the event gateway, even if the Gateway constructor also sets the ID.

Example

The following example is the ColdFusion SocketGateway class setGatewayID method:
public void setGatewayID(String id) { gatewayID = id; }

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page