activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Uday Subbarayan <uday.subbara...@yahoo.com>
Subject Re: URI for Queue
Date Wed, 25 Nov 2009 16:01:16 GMT
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 <dejan@nighttale.net> wrote:

From: Dejan Bosanac <dejan@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.subbarayan@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 <dejan@nighttale.net> wrote:
>
> From: Dejan Bosanac <dejan@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.subbarayan@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
> >
> >
> >
>
>
>
>
>



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