Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 47796 invoked from network); 3 Sep 2009 11:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Sep 2009 11:51:40 -0000 Received: (qmail 34954 invoked by uid 500); 3 Sep 2009 11:51:39 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 34896 invoked by uid 500); 3 Sep 2009 11:51:39 -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 34882 invoked by uid 99); 3 Sep 2009 11:51:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 11:51:39 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chubrilo@gmail.com designates 74.125.78.147 as permitted sender) Received: from [74.125.78.147] (HELO ey-out-1920.google.com) (74.125.78.147) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2009 11:51:27 +0000 Received: by ey-out-1920.google.com with SMTP id 5so413476eyb.0 for ; Thu, 03 Sep 2009 04:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=XXJwMueZU3m1YdnL3U775suLOyqKZAm+TUjRUkmo4Tw=; b=qR70WQEbLU2kICnYlEJuTAnUtYusRUXmpUJgK64D1tf71hI8PWsv91i0mfNb6TeVlV OEREXXY2ExzaWBIIvn+7YS/3TNN0edLwZScK8gAGxVlYWJYhyf8HMWbVW4FAGDVuZnjk ig6naE3EpzJGx+GF/l9kmHZvL53DydAd+qgKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=lvuq42cjtsAzzxeRksMQX3+pvUI30sFg/amrL/MbgfyXu+lCwxnfAal9BXAxrOnWDl STZdbfaq4Y4B6QgpegqBfcFo3tLgeEO6r348oVaeQ0t2CpvRSfeh3vlMt5xNp7Vx8ML9 wPD9agdnGI7bcwGaRypJ0+tmhza9xhWLpCpwM= MIME-Version: 1.0 Sender: chubrilo@gmail.com Received: by 10.216.49.211 with SMTP id x61mr514520web.222.1251978666802; Thu, 03 Sep 2009 04:51:06 -0700 (PDT) In-Reply-To: <25264552.post@talk.nabble.com> References: <14408902.post@talk.nabble.com> <28ED9D53-639B-41F1-830D-DCE5412286F5@gmail.com> <25264552.post@talk.nabble.com> Date: Thu, 3 Sep 2009 13:51:06 +0200 X-Google-Sender-Auth: 906c433cc3783165 Message-ID: <36e91d9d0909030451k3da463a1wecf4567ff219d45e@mail.gmail.com> Subject: Re: Example using REST interface with http post and get From: Dejan Bosanac To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001485f0408eb3804f0472aaff24 X-Virus-Checked: Checked by ClamAV on apache.org --001485f0408eb3804f0472aaff24 Content-Type: text/plain; charset=ISO-8859-1 Hi you don't have to use demo if you want to use Rest API (although it's already configured there). Not sure from your snippet what are you trying to achieve? And what error are you getting? Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Wed, Sep 2, 2009 at 9:51 PM, vezee wrote: > > If i am adding the below content to activemq.xml .. is it not exposing the > REST interface? > ------- > > > MessageServlet > > org.apache.activemq.web.MessageServlet > 1 > > destinationOptions > consumer.prefetchSize=1 > > > > MessageServlet > /queue/* > > ----- > WHY DO WE HAVE TO USE THE "DEMO" FOR REST I/F? > > -vezee > > > James.Strachan wrote: > > > > On 19/12/2007, Rob Davies wrote: > >> > >> On Dec 19, 2007, at 12:34 AM, marlet wrote: > >> > >> > > >> > Hi, > >> > > >> > I was using the ActiveMQ's REST interface for a project and wrote > >> > about that > >> > in a blog, so if you are interested: > >> > > >> > http://p-st.blogspot.com/2007/12/activemq-and-rest.html > > > > Great stuff - I've added a link to the articles page... > > http://cwiki.apache.org/ACTIVEMQ/articles.html > > > > its a wiki so if you wanna add more articles feel free to edit the > page... > > http://activemq.apache.org/how-do-i-edit-the-website.html > > > > -- > > James > > ------- > > http://macstrac.blogspot.com/ > > > > Open Source Integration > > http://open.iona.com > > > > > > -- > View this message in context: > http://www.nabble.com/Example-using-REST-interface-with-http-post-and-get-tp14408902p25264552.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > --001485f0408eb3804f0472aaff24--