activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vezee <arun.addepa...@yahoo.com>
Subject Re: Example using REST interface with http post and get
Date Wed, 02 Sep 2009 19:51:31 GMT

If i am adding the below content to activemq.xml .. is it not exposing the
REST interface?
-------
<transportConnector name="http" uri="http://server1.com:61333"/>
<servlet>
                <servlet-name>MessageServlet</servlet-name>
               
<servlet-class>org.apache.activemq.web.MessageServlet</servlet-class>
                 <load-on-startup>1</load-on-startup>
                 <init-param>
                        <param-name>destinationOptions</param-name>
                        <param-value>consumer.prefetchSize=1</param-value>
                </init-param>
        </servlet>
        <servlet-mapping>
                <servlet-name>MessageServlet</servlet-name>
                <url-pattern>/queue/*</url-pattern>
        </servlet-mapping>
-----
WHY DO WE HAVE TO USE THE "DEMO" FOR REST I/F?

-vezee


James.Strachan wrote:
> 
> On 19/12/2007, Rob Davies <rajdavies@gmail.com> 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.


Mime
View raw message