• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 31. Event Gateways > Creating Your Own Custom Gateways

Creating Your Own Custom Gateways

Although CFMX7 comes with a number of useful gateways, what happens when you want to connect to something that's not covered by one of the gateways provided? What if you want to connect to your MQ Series server, or SAP via the BAPI messaging interface? The answer is to create your own gateway. Writing CFMX7 gateways is a fairly straightforward task, but gateways are developed completely in Java and you'll need to have a solid understanding of Java to write your own event gateways.

The ColdFusion Event Gateway Architecture

Event gateways listen for events and pass them to ColdFusion for handling by an application's listener CFC. The gateway does this by implementing the ColdFusion.eventgateway.Gateway interface and by using the ColdFusion gatewayServices class.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint