I am trying to use JNDI with activeMQ as described in the link.
ActiveMQ JNDI Support
I am able to create a static queue (it is being displayed in the admin webpage under queues) and want to access it through JNDI, but after giving all the proper values it does not show up on the JNDI Context in the JMS Client.
Only the lookup is giving me "ConnectionFactory" and I am able to send and recieve the messages for dynamic queue, but lookup fails for the static queue.
I also verified that the jndi.properties is coming in the classpath by changing the wrapper.conf
and verified the same in the start up logs.
It looks like activemq is not using it at all as the factory names, i am specifying are also not coming up.
below is my jndi.properties file
connectionFactoryNames=connectionFactory1, queueConnectionFactory, topicConnectionFactry
# queue.[jndiName] = [physicalName]
# topic.[jndiName] = [physicalName]
Kind of stuck at this for a long time.
I am using ubuntu 10.04 and running activeMQ/apache-activemq-5.5.0/bin/linux-x86-32/activemq script to start activemq