Does anyone know a better way to get the status of a gateway instance?
GetGatewayInstanceStatus(gatewayid) will return true if a instance is starting
AND running, and false if stopped or failed... in my opinion it should only be
true if its running & functional. But in either case, does anyone know a
better way to obain the correct status of a gateway instance?
createObject("component",
"CFIDE.adminapi.administrator").login("AdministratorPassword");
obj = createObject("component", "CFIDE.adminapi.eventgateway");
obj.GetGatewayInstanceStatus(gatewayid);
createObject("component","cfide.adminapi.administrator").logout();
BKBK - 30 Apr 2006 18:18 GMT
Probably better to use
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000481.htm. You'll of
course begin by examining the resources, using
<cfset gwHelper = getGatewayHelper(gatewayID)>
<cfdump var="#gwHelper#">