I created a physical queue in the activemq.xml so the queue is created on the startup of the activemq. i can see this queues by typing:activemq query now i would like to produce message to the existing queue. im trying to find a way to discover the exisitng queue. in the sample code it looks that we are creating a new queue: ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(user, password, url); connection = connectionFactory.createConnection(); connection.start(); Session session = connection.createSession(transacted, Session.AUTO_ACKNOWLEDGE); destination = session.createQueue(subject);
please advice, -- View this message in context: http://www.nabble.com/using-existing-queue-tf4016905s2354.html#a11408040 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
