User Guide
986 Chapter 6: ColdFusion MX Event Gateway Reference
getCFCPath
Description
Gets the path to the listener CFC that processes this message.
Category
Event Gateway Development
Syntax
String getCFCPath()
See also
getCFCMethod
, getCFCTimeout, setCFCPath, “CFML CFEvent structure” on page 1004,
“CFEvent class” in Chapter 45, “Creating Custom Event Gateways” in ColdFusion MX Developer’s
Guide
Returns
An absolute path to the application listener CFC that will process the event, as set by the
setCFCPath method. If the setCFCPath method has not been called, returns null, not the path
specified in the ColdFusion Administrator and used by default by gateway services. Outgoing
messages that are returned by a CFC in response to an incoming message also have the CFC
method name in this field if the gateway set the field on the incoming message.
Usage
Most event gateways do not need to use this method. This method could be useful if a gateway
sends messages to multiple CFCs and must determine which CFC is responding.