I'm trying to use the ActiveMQ JMS gateway of Coldfusion, but messages are not 
being processed.

I have created an Gateway instance of type ApacheMQ and specified a CFC that 
needs to process the incoming messages.
This CFC should simply write to a log file stating it has received a message.

I'm sending messages to a queue named "MyQueue" with a Java application, but 
the CFC never writes anything to the log file.
ApacheMQ is running and with the Java JConsole.exe I can see the messages that 
have been sent to the queue (strangely called examples.MyQueue).

In the Coldfusion administrator I monitor the Gateway instance and I sometimes 
see the number in the Out column increase.
Why is the number in the Out column increasing? I expected the number in the In 
column to increase and the CFC to be invoked.

What do I need to do to make the Gateway instance invoke the CFC upon message 
receival?
I have searched the web for proper JMS gateway documentation but have so far 
failed to find anything useful.

My Gateway configuration file contains the following settings:

        #outboundOnly=no
        debug=yes
        topic=no
        
        providerURL=tcp://localhost:61616
        
initialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory
        connectionFactory=ConnectionFactory
        
        # ActiveMQ requires fake JNDI entries to lookup queue / topic names, 
e.g.,
        contextProperties=queue.MyQueue
        queue.MyQueue=MyQueue
        destinationName=MyQueue
        
        # ActiveMQ also supports dynamicQueues and dynamicTopics:
        destinationName=dynamicQueues/TEST.FOO


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308232
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to