activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Chayapathi <sand...@wssource.com>
Subject Re: ActiveMQ and REST
Date Thu, 28 Jun 2007 19:13:41 GMT

sure, I would like to contribute to the community by documenting the REST
api. 

However I don't know where to start on the REST stuff. I have tried to
follow the code but I can't figure out how to subscribe and get messages via
REST. I have looked at the  http://activemq.apache.org/rest.html REST 
document, does that mean I have to have a web.xml with the mapping ? 

Thanks.


James.Strachan wrote:
> 
> 
>>  However I have hit a roadblock with accessing the messages itself. The
>> http://activemq.apache.org/rest-protocols.html REST  documentation is
>> very
>> sparse and most of the posts in the user forum isn't encouraging either.
> 
> Fancy helping to fix up the documentation? :)
> 
> Have you tried this page
> http://activemq.apache.org/rest.html
> 
> and tried working with the web demos?
> 
> (They come included in the 5.x build btw, just boot up the broker and
> look at http://localhost/demos/)
> 
> 
> 
>>  Using the script given below, all I get is the following xml response:
>>
>> ------
>> <org.apache.activemq.command.BrokerInfo>
> 
> [snip]
> 
> That looks like you are accessing the http-transport (used to tunnel
> an ActiveMQ JMS client over HTTP) rather than the REST API
> 
>> 1. has anyone successfully used the REST api, if so how ?
>> 2. any links to a working code (other than using the AjaxServlet) ?
> 
> try the samples.
> 
> http://activemq.apache.org/web-samples.html
> 
> Note I'm sure we could improve the REST API somewhat to make it easier
> for folks to use - plus we could use some better documentation;
> contributions always welcome...
> 
> http://activemq.apache.org/contributing.html
> http://activemq.apache.org/how-do-i-edit-the-website.html
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> 

-- 
View this message in context: http://www.nabble.com/ActiveMQ-and-REST-tf3996071s2354.html#a11349159
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message