Hi I am running hornetQ with stomp on. I am running the following code: Apache.NMS.Stomp.ConnectionFactory factory = new Apache.NMS.Stomp.ConnectionFactory("tcp://localhost:61613");
using (IConnection connection = (IConnection)factory.CreateConnection()) using (ISession session = connection.CreateSession(AcknowledgementMode.AutoAcknowledge)) { //IDestination destination = session.GetQueue("queue://testQ1"); IDestination destination = SessionUtil.GetDestination(session, @"queue://testQ"); *IMessageConsumer consumer1 = session.CreateConsumer(destination);* Console.WriteLine("Using destination: " + destination); using (IMessageConsumer consumer = session.CreateConsumer(destination)) { // Start the connection so that messages will be processed. connection.Start(); consumer.Listener += new MessageListener(OnMessage); Console.ReadLine(); } } the bolded line throws an Apache.NMS.Stomp.BrokerException with the following message HQ339016: Error creating subscription. does anyone have an idea why ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Error-creating-subscription-tp4677781.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.