Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 27248 invoked from network); 25 Nov 2009 16:01:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 16:01:42 -0000 Received: (qmail 55672 invoked by uid 500); 25 Nov 2009 16:01:41 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 55596 invoked by uid 500); 25 Nov 2009 16:01:41 -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 Received: (qmail 55586 invoked by uid 99); 25 Nov 2009 16:01:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 16:01:41 +0000 X-ASF-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.180.197.182] (HELO web44916.mail.sp1.yahoo.com) (68.180.197.182) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 25 Nov 2009 16:01:37 +0000 Received: (qmail 72248 invoked by uid 60001); 25 Nov 2009 16:01:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1259164876; bh=SPXDm/CYWEu2qL6GxZxOB9zbfIP37ESsQL0iIHI9UZw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=sIB1hjeAwZZhkzYw1HL3EWqH+eC+uaWZUqWdczBwhjuCtFGcw3fL7PEAUUSIbvYu95br7gOC8SywecQjr/PC5DqlVjohdRNH6vkAfdExdDFF/dHUyqfb4uq5Dd7AK5UyDekGFQeEHeyYr195YoVR3rvN8AgZiKig4YBgPVRc1jM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=c25hZS1OF7zpMxueFKT/Sb6t2/BiEek7bTiI97dlSVuBlA0c1kzG6zkzyh7eMd/ynpDcLRPOv/QUwIP6wwBHmln8p2Py3Qv2fKQFdOVRPHkBZwisVkyMqog16cmWkG3vZawPvzLQupqF8Ps2A3kVpe0N71Nvx0jefnKUuytV35k=; Message-ID: <772784.69517.qm@web44916.mail.sp1.yahoo.com> X-YMail-OSG: x319iR0VM1nA1.YW.cZ5v8zPmpWApPjmnwHMRu3ti_XXiGpT0qSJmNQkvtZahDwhNhw9Ar9ZLYBQk_r7d1MGO.EoOd9sd.rtEw3otFK3uxurKIciE_mxdsFkE4plz7cG9XO7O1sSvACVPJtMzSfMQw.nD.i3hDPfPZ0Gx7o6eCmoX4CiwIAnwqQbrk8Dy4LinwPUNzxvuntveT7q_wFSgmYRF3awQWTzM6aQ4SvNUeUCtYhjd81uz.XtXR.WddrQdOFH1T0qR6blM4tUiQYAQKMV3lXbyLzhWXDfMRGZDgYHVeVeupSkz7fnhWhmutYhDSPQRy37JOs5uIm2RkSYcf65i2kXzs9Kbt8OFxvlzN69Ti9fnCB8ld6w1lkfjkDjmPXUAzypH9zUDQtiMQS_supRZPKCU_CbqyAag7b7Mh6ES5tspzj_XfwUWbI.muNmJPf_YQkZeZRWa30Lr94Q55HoFOfRmW9Oha9MLwKhD4gII7Yd4z7Gm2toiby85kYd67MirMOoIvOfrpUbe8MD3WYv2IORTA1qrVxcu9rca3zsUY_rsFqnsNYHl.tJf.3cyxpSYFIV8umV Received: from [24.130.61.81] by web44916.mail.sp1.yahoo.com via HTTP; Wed, 25 Nov 2009 08:01:16 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.8.100.260964 Date: Wed, 25 Nov 2009 08:01:16 -0800 (PST) From: Uday Subbarayan Subject: Re: URI for Queue To: users@activemq.apache.org In-Reply-To: <36e91d9d0911250012g1946c454sf79339fe735bc692@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-821926582-1259164876=:69517" --0-821926582-1259164876=:69517 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Dejan, =A0=A0=A0 This is also NOT working.(getting 404 resource not found) I am NO= T using a servlet as a client. It's a POJO as a client to MQ. I am still trying to find the URI for the Queue! Thanks, Uday. ------------------------- =0AI do not blog but e-write: =0Ahttp://uds-web.blogspot.com --- On Wed, 11/25/09, Dejan Bosanac wrote: From: Dejan Bosanac Subject: Re: URI for Queue To: users@activemq.apache.org Date: Wednesday, November 25, 2009, 8:12 AM Hi Uday, it all depends how you configure your servlet. In the demo app, distributed with the ActiveMQ, it is configured to listen to "messages/*" path, so the full path to your queue would be http://host:port/demo/messages/myqueue Regarding security, you can secure it like any other web app. I suggest you take a look at webapp/demo/WEB-INF/web.xml and appropriate articles on the web on how to secure Java web apps. 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 Tue, Nov 24, 2009 at 4:09 PM, Uday Subbarayan wrote: > Thanks for the pointers. I checked them. I got the answer for my [1]. So, > if my queue name is 'myqueue', then URL is going to be http://host:port/q= ueue/myqueue, > right? > > I am still looking for credentials stuff...I couldn't able to find it. > > I don't want to use JMS. The reason is that I like to put a std. load > balancer between client & ActiveMQ. I like HTTP. > > Thanks, > Uday. > > ------------------------- > > I do not blog but e-write: > > http://uds-web.blogspot.com > > --- On Tue, 11/24/09, Dejan Bosanac wrote: > > From: Dejan Bosanac > Subject: Re: URI for Queue > To: users@activemq.apache.org > Date: Tuesday, November 24, 2009, 8:35 AM > > Hi, > > take a look at this article for more info: > http://activemq.apache.org/rest.html > and be sure to check web demos http://activemq.apache.org/web-samples.htm= l > > BTW. If you're using Java you'll have much better messaging experience > using > JMS API. > > 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 Tue, Nov 24, 2009 at 5:56 AM, Uday Subbarayan > wrote: > > > Hi, > >=A0 =A0 I have installed ActiveMQ 5.3 and created a test queue called > 'mytest'. > > I want to HTTP POST to this queue from my java application(J2SE) direct= ly > > using java.net.httpurlconnection. > > > > My questions are, > > [1] What is the URL for this queue? > > [2] What is the credentials(if any) to POST to this queue? > > > > Thanks, > > Uday. > > > > ------------------------- > > > > I do not blog but e-write: > > > > http://uds-web.blogspot.com > > > > > > > > > > > =0A=0A=0A --0-821926582-1259164876=:69517--