Description

Gets the name of the CFC method that processes the message.

Category

Event Gateway Development

Syntax

String getCFCMethod()

See also

getCFCPath, getCFCTimeout, setCFCMethod, CFML CFEvent structureCFEvent class in Event gateway elements in the Developing ColdFusion Applications

Returns

For incoming messages, the name of the method that gateway services call in the listener CFC, as set by the setCFCMethod method. If setCFCMethod has not been called, returns null, and not onIncomingMessge, which ColdFusion gateway services uses by default. 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 CFC Methods and must determine which method is responding.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy