-
1. Re: ApacheMQ JMS gateway not processing messages
PENNY506 Sep 12, 2009 10:40 AM (in response to ROudejans)It looks like you have devined 2 destinationName values in your config.
Also, from comparing yours to ours, we also have a 'destination={something}' before the first destinationName property.
Hope that helps - you may be targeting an incorrect queue.
Also make sure your cfc has the required onIncomingMessage method and is formatted correctly.
(also try sending a message direct from amq admin console down for that queue - for testing another angle)
-
2. Re: ApacheMQ JMS gateway not processing messages
BKBK Nov 5, 2009 1:18 PM (in response to ROudejans)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.
You expect every message you send in, to eventually come out. What Coldfusion is telling you is that the message was successfully sent, but hasn't yet been processed by the CFC. The usual reason for the CFC to fail is if it, or the configuration file, contains an error.
I think giving 2 values for destinationname in the config file is a mistake. The following should be sufficient
debug=yes
topic=noproviderURL=tcp://localhost:61616
initialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory
connectionFactory=ConnectionFactory
destinationName=dynamicQueues/TEST.FOO

