activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arik103 <a...@itkis.com>
Subject Re: REST and http
Date Wed, 09 Jun 2010 14:08:13 GMT

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
View raw message