I do believe it is possible. You will need just 2 files: a CFC and a CFG.
I'll refer to 2 pages in the livedocs, namely:
You need the CFC and the CFG(configuration) file to create an instance of the JMS gateway. The CFC is the gateway's listener. You will have to register its full path when you create an instance of the gateway (for example, your 'testJMS') in the Coldfusion administrator.
A simple test example of such a listener CFC contains just one method, namely, onIncomingMessage. The first reference contains an example.
To get an idea of the CFG file, see the example that comes with your Coldfusion installation. You will find it at
That example works only for JRun Topics, not even Queues. But it contains clues for you. Here's where you have to do some searching.
Search for the Weblogic values for the following.
Coldfusion will use the providerURL to connect to Weblogic, and the initialContectFactory to know how to fetch queues by name. I once used the following with JORAM(a JMS provider you can loosely compare with Weblogic)
Save your own 4 lines(for Weblogic) as, for example,
Then use this full path, together with that of the CFC above to fully define the JMS gateway instance in the administrator. The second reference above shows you the content of the event struct that the listener CFC listens to. For example, whenever a message arrives in the Weblogic queue, the listener CFC will pick it up as arguments.CFEvent.data.msg (assuming you copied the CFC example referenced above).
You will of course want to record the message. Use the cflog tag.