Thank you very much. This works. I see in the admin page that the msg count is 
increasing.

Best,
Uday.

-------------------------

I do not blog but e-write:

http://uds-web.blogspot.com

--- On Thu, 11/26/09, Dejan Bosanac <de...@nighttale.net> wrote:

From: Dejan Bosanac <de...@nighttale.net>
Subject: Re: URI for Queue
To: users@activemq.apache.org
Date: Thursday, November 26, 2009, 2:09 PM

Sorry, my mistake the url is

http://localhost:8161/demo/message/myqueue?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, Nov 25, 2009 at 5:01 PM, Uday Subbarayan
<uday.subbara...@yahoo.com>wrote:

> Hi Dejan,
>     This is also NOT working.(getting 404 resource not found) I am NOT
> using a servlet as a client. It's a POJO as a client to MQ.
>
> I am still trying to find the URI for the Queue!
>
> Thanks,
> Uday.
>
> -------------------------
>
> I do not blog but e-write:
>
> http://uds-web.blogspot.com
>
> --- On Wed, 11/25/09, Dejan Bosanac <de...@nighttale.net> wrote:
>
> From: Dejan Bosanac <de...@nighttale.net>
> Subject: Re: URI for Queue
> To: users@activemq.apache.org
> Date: Wednesday, November 25, 2009, 8:12 AM
>
> Hi Uday,
>
> it all depends how you configure your servlet. In the demo app, distributed
> with the ActiveMQ, it is configured to listen to "messages/*" path, so the
> full path to your queue would be
>
> http://host:port/demo/messages/myqueue
>
> Regarding security, you can secure it like any other web app. I suggest you
> take a look at webapp/demo/WEB-INF/web.xml and appropriate articles on the
> web on how to secure Java web apps.
>
> 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 Tue, Nov 24, 2009 at 4:09 PM, Uday Subbarayan
> <uday.subbara...@yahoo.com>wrote:
>
> > Thanks for the pointers. I checked them. I got the answer for my [1]. So,
> > if my queue name is 'myqueue', then URL is going to be http://host:port
> /queue/myqueue,
> > right?
> >
> > I am still looking for credentials stuff...I couldn't able to find it.
> >
> > I don't want to use JMS. The reason is that I like to put a std. load
> > balancer between client & ActiveMQ. I like HTTP.
> >
> > Thanks,
> > Uday.
> >
> > -------------------------
> >
> > I do not blog but e-write:
> >
> > http://uds-web.blogspot.com
> >
> > --- On Tue, 11/24/09, Dejan Bosanac <de...@nighttale.net> wrote:
> >
> > From: Dejan Bosanac <de...@nighttale.net>
> > Subject: Re: URI for Queue
> > To: users@activemq.apache.org
> > Date: Tuesday, November 24, 2009, 8:35 AM
> >
> > Hi,
> >
> > take a look at this article for more info:
> > http://activemq.apache.org/rest.html
> > and be sure to check web demos
> http://activemq.apache.org/web-samples.html
> >
> > BTW. If you're using Java you'll have much better messaging experience
> > using
> > JMS API.
> >
> > 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 Tue, Nov 24, 2009 at 5:56 AM, Uday Subbarayan
> > <uday.subbara...@yahoo.com>wrote:
> >
> > > Hi,
> > >    I have installed ActiveMQ 5.3 and created a test queue called
> > 'mytest'.
> > > I want to HTTP POST to this queue from my java application(J2SE)
> directly
> > > using java.net.httpurlconnection.
> > >
> > > My questions are,
> > > [1] What is the URL for this queue?
> > > [2] What is the credentials(if any) to POST to this queue?
> > >
> > > Thanks,
> > > Uday.
> > >
> > > -------------------------
> > >
> > > I do not blog but e-write:
> > >
> > > http://uds-web.blogspot.com
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
>
>
>
>



      

Reply via email to