Railo ActiveMQ event gateway – Part II: Consume and process messages
Dec 8th
In my last blog post I showed you how to define your own event gateway type for an ActiveMQ event gateway (the Railo WIKI calls this CFC “the Gateway Driver”). This blog post is about writing the CFC that handles the event gateway actions, consumes messages from ActiveMQ and starts asynchronous threads to processes the messages by the listener CFC that is defined in the Railo Administrator.
ActiveMQ
First of all you need to download ActiveMQ from the Apache ActiveMQ website. I used the 5.3.0 release, however any other release should be fine as well. Extract the download to your computer and start ActiveMQ by running activemq.bat More >
Railo ActiveMQ event gateway – Part I: Create your own event gateway type
Nov 23rd
At work we do a lot with event gateways in Coldfusion. Most of the times we use the CFML gateway type where Coldfusion will create messages on a queue every time the sendGatewayMessage method is called. In the administrator you only have to specify the CFC that needs to handle the messages from the queue. Doing this allows you to process massive numbers of events in the background without timeouts or users needing to wait for a response.
So to be able to use Railo for all our project on work I needed a way to use event gateway the way More >
