activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: REST and http
Date Wed, 09 Jun 2010 14:22:48 GMT
Hi,

no, the REST API  is implemented using a separate servlet.

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 4:08 PM, arik103 <arik@itkis.com> wrote:

>
> But this is taking me back to the demo app. My question is can I use REST
> without setting up a separate app with a servlet.
>
>
> Dejan Bosanac wrote:
> >
> > 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 <arik@itkis.com> 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.
> >>
> >>
> >
> >
> > -----
> > Dejan Bosanac
> >
> > Open Source Integration - http://fusesource.com/
> > ActiveMQ in Action - http://www.manning.com/snyder/
> > Blog - http://www.nighttale.net
> >
>
> --
> View this message in context:
> http://old.nabble.com/REST-and-http-tp28825821p28830896.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message