Hi, try using queue.TEST.Q1 for JNDI name Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Nov 23, 2009 at 2:34 PM, miten wrote: > > Hi, > > I created physical queue using: > > > > > > > Using admin view I can see the queue (queue://TEST.Q1) and send message and > read using console. > > I am trying to read using MDB in spring and I cannot get jndi lookup to > identify the queue. Probably some config below needs correction. Please > guide. > > > > > > org.apache.activemq.jndi.ActiveMQInitialContextFactory > > > > > class="org.springframework.jndi.JndiObjectFactoryBean"> > > > > > > class="org.apache.activemq.ActiveMQConnectionFactory"> > > tcp://localhost:61616 > > > > class="org.springframework.jms.listener.DefaultMessageListenerContainer"> > > > > > > Regards, > > Miten. > -- > View this message in context: > http://old.nabble.com/physical-queue-cannot-be-resolved-using-jndi---spring-tp26478123p26478123.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >