JMS Consumer ActiveMQ

Hello, I need help configuring JMS Consumer to consumer an ActiveMQ queue.

I am stuck at the validating account part.

Connection Factory: org.apache.archivemq.jndi.ActiveMQInitialContextFactory
I’ve added the JAR & populated:

I get this error when validating:

Failed to validate account: activemq is undefined. (Reason: activemq is undefined.; Resolution: Check the spelling of the variable)

Hi fbatchelor83,

You can try to upload the .jar which is in the folder where activemq is installed (it should contain activemq-all…):

Than you can populate the other settings as following:

Connection Factory: = ConnectionFactory
JNDI Properties:

Property Name Property Value Value
java.naming.factory.initial org.apache.activemq.jndi.ActiveMQInitialContextFactory Default
java.naming.provider.url tcp://hostname:port This value is shown when activeMQ is started
queue.MyQueue Created in activeMQ console

Regards, Jovan.