Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 81975 invoked from network); 23 Jul 2009 21:25:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 21:25:11 -0000 Received: (qmail 74371 invoked by uid 500); 23 Jul 2009 21:26:16 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 74296 invoked by uid 500); 23 Jul 2009 21:26:16 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 74286 invoked by uid 99); 23 Jul 2009 21:26:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 21:26:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tabish121@gmail.com designates 209.85.222.173 as permitted sender) Received: from [209.85.222.173] (HELO mail-pz0-f173.google.com) (209.85.222.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 21:26:04 +0000 Received: by pzk3 with SMTP id 3so872630pzk.22 for ; Thu, 23 Jul 2009 14:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=ajUCehnFB+ZcHWCEBJm+Cj9xMt0DN0W40zQpkEO83JY=; b=d+/YvH+xWFnp4sl2vL0mb6Z7edKWYaxULIojrbxBdsBRUJIRHhuxD8iM/0s3JoVPpu AlnDtfVAwxPX4+bMSh4SG+1qi6dx2piv9TcytkPP3WsRL3DaE2WYbbmfuLOwYgJPhs9h EsfXgCkk+0dKAqJ7w6GjrmUfhpP3F9B8mOM74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=XY8kmmLk74EpZ9hly6Lkiq/Lsaa1n6gm9TMycfMSX0uhm/NQ0sw2ApR2h5wKpWEEAB 1b1LtVNpKi3ACR247mi5J3p5eh1ViA7cdRzDTVpRZjxsCNyZds+rGbo+Sw/r7nWlQak5 tfBrfK4yCCt1wCSvICk2X0yLHRpYqFVqEIjlk= Received: by 10.114.14.4 with SMTP id 4mr3132083wan.78.1248384343707; Thu, 23 Jul 2009 14:25:43 -0700 (PDT) Received: from ?192.168.2.150? (c-69-138-183-90.hsd1.va.comcast.net [69.138.183.90]) by mx.google.com with ESMTPS id m25sm4625275waf.44.2009.07.23.14.25.41 (version=SSLv3 cipher=RC4-MD5); Thu, 23 Jul 2009 14:25:42 -0700 (PDT) Subject: Re: C# Client Access From: Timothy Bish To: dev@activemq.apache.org In-Reply-To: <24634739.post@talk.nabble.com> References: <24634739.post@talk.nabble.com> Content-Type: text/plain Date: Thu, 23 Jul 2009 17:25:40 -0400 Message-Id: <1248384340.21623.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2009-07-23 at 14:16 -0700, BillWitt wrote: > I am trying to access ActiveMQ from a C# client application. I am also using > the Apache.Nms library to help me out with that. > > I've configured the broker by adding the following to the activemq.xml file: > > > > But I am unable to connect to the broker and receive a > NMSConnectionException with a message of "The transport http is not > supported.". Code is as follows: > > Uri uri = new Uri("activemq:http://localhost:8080/"); > IConnectionFactory factory = > NMSConnectionFactory.CreateConnectionFactory(uri); > using (IConnection connection = factory.CreateConnection()) > > What am I doing wrong? Thanks. > The C# client doesn't support communication with an ActiveMQ broker over HTTP. In order to do that a new HTTP transport would need to be added to the NMS ActiveMQ client. Currently you are limited to TCP based protocols when using the C# client. As always we welcome contributions to the project. Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/