Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34722 invoked from network); 9 Jun 2010 05:06:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 05:06:01 -0000 Received: (qmail 99018 invoked by uid 500); 9 Jun 2010 05:06:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 98846 invoked by uid 500); 9 Jun 2010 05:05:59 -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 98838 invoked by uid 99); 9 Jun 2010 05:05:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 05:05:58 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-iw0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 05:05:54 +0000 Received: by iwn3 with SMTP id 3so3965783iwn.2 for ; Tue, 08 Jun 2010 22:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=gbVXlSXPreXuSio4O1AdI9moHtypjtuPy9trHqvbKpg=; b=GFi/R0/eYWLqrlU5mTsAbewoElgfCFHfi8Z4dokA2j97ZzLZ+ozWgJKX74xrjr32+2 H5uAcfMpcl2qCQcb5QozXnpgnE5z5opA39yqJPyz2+b+PPJ43F8MjCs3+h4/b3jOgxFk wfuZogzskGc2eFeVSUEPZiNe6VqGAfosUBFMs= 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=hd2kH8bDfxJoe5q9aMEUhwrbx3kzscjtHMidsPJdP01w60Y1SP6WlZ3dAyid60gEVc vd2mwm9Uk+avVbK9rN7IudGc2hxKy7RCY8HXTZ/KjSJ96kk3cIUEWzmhiwcuHHUTmA4v J4OiUxDaXGQSNR4I+dEV0DMJVmpRvdsK4+ifU= MIME-Version: 1.0 Received: by 10.42.7.210 with SMTP id f18mr5655585icf.9.1276059934058; Tue, 08 Jun 2010 22:05:34 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.42.4.76 with HTTP; Tue, 8 Jun 2010 22:05:34 -0700 (PDT) In-Reply-To: <28825821.post@talk.nabble.com> References: <28825821.post@talk.nabble.com> Date: Wed, 9 Jun 2010 07:05:34 +0200 X-Google-Sender-Auth: kS6fUZ9KSch_ngrQ5YsDG6wXSZ0 Message-ID: Subject: Re: REST and http From: Dejan Bosanac To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=0016e6d2718414e8d2048891db48 --0016e6d2718414e8d2048891db48 Content-Type: text/plain; charset=ISO-8859-1 Yeah, try something like curl -d "body=hello" http://localhost:8161/demo/message/myQ?type=queue 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 Wed, Jun 9, 2010 at 6:10 AM, arik103 wrote: > > Hi, > There are many posts about this topic but I still can't get a clear answer > to the following: > I am trying to use REST to post a message to a queue. > Message broker is installed with all default options. > I did see an example http://localhost:8161/demo/send.html > > So the queston is: Do I need a separate app with a servlet to handle > POSTing > messages to a queue? > Can this be done just with a message broker? something like > http://server:8161/queue/myQ? > Thanks, > -- > View this message in context: > http://old.nabble.com/REST-and-http-tp28825821p28825821.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > --0016e6d2718414e8d2048891db48--