Bas van der Graaf - CFML webdevelopment

Follow me on TwitterRSS Feeds

  • Home
  • About

Railo ActiveMQ event gateway – Part II: Consume and process messages

Dec 8th

Posted by Bas in Railo

7 comments

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 >

activemq, cfml, cfthread, event gateway, message queue, railo

Railo ActiveMQ event gateway – Part I: Create your own event gateway type

Nov 23rd

Posted by Bas in Railo

5 comments

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 >

activemq, cfml, event gateway, message queue, railo
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • Railo (2)
    activemq cfml cfthread event gateway message queue railo
    • December 2010 (1)
    • November 2010 (1)
    • Railo ActiveMQ event gateway – Part II: Consume and process messages (7)
    • Railo ActiveMQ event gateway – Part I: Create your own event gateway type (5)
    • Corvus: Really useful post. Really thank you! GodJOb.
    • GoXS: Really useful information. Really thank you! GodJOb.
    • nanny live in: I'm developing a site site and I was thinking of modifying the template.Yours looks pretty decent!...
    • adipex: I have picked helpful things out of this source. I’d love t
    • San Diego Fireplaces: You'll find your voice!
    • San Diego Plumbing: Just go with what you feel! Looking forward to your next post.
    • gambar: Today, while I was at work, my cousin stole my apple ipad and tested to see if it can survive a 40...
    • serrurier lyon: Perfectly composed content, Really enjoyed reading through.
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
  • User Login






    • Register
    • Lost your password?