Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1E5110FA6 for ; Tue, 11 Feb 2014 17:01:49 +0000 (UTC) Received: (qmail 75177 invoked by uid 500); 11 Feb 2014 17:01:46 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 75115 invoked by uid 500); 11 Feb 2014 17:01:45 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 42522 invoked by uid 99); 11 Feb 2014 15:08:26 -0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_ENVFROM_END_DIGIT,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Date: Tue, 11 Feb 2014 07:07:59 -0800 (PST) From: roEcho To: users@activemq.apache.org Message-ID: <1392131279834-4677781.post@n4.nabble.com> Subject: Error creating subscription MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.