activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <james.mk.gr...@gmail.com>
Subject Re: RESTful deletion/purging of queue in default config?
Date Tue, 20 Nov 2012 12:08:27 GMT
I'm in a PHP script.


On 20 November 2012 12:06, Dejan Bosanac <dejan@nighttale.net> wrote:

> If it doesn't have to be REST, you can use JMX and JConsole to achieve the
> same.
>
> Regards
> --
> Dejan Bosanac
> ----------------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> dbosanac@redhat.com
> Twitter: @dejanb
> Blog: http://sensatic.net
> ActiveMQ in Action: http://www.manning.com/snyder/
>
>
> On Tue, Nov 20, 2012 at 1:00 PM, James Green <james.mk.green@gmail.com>
> wrote:
> > From the console works but has a session "secret" guid which changes
> every
> > few minutes. I have also tried visiting the "Queues" link within CURL
> then
> > visiting the delete link (without a "secret" parameter) without luck.
> >
> >
> > On 20 November 2012 11:51, Dejan Bosanac <dejan@nighttale.net> wrote:
> >
> >> Can you try purging it from the web console?
> >>
> >> Regards
> >> --
> >> Dejan Bosanac
> >> ----------------------
> >> Red Hat, Inc.
> >> FuseSource is now part of Red Hat
> >> dbosanac@redhat.com
> >> Twitter: @dejanb
> >> Blog: http://sensatic.net
> >> ActiveMQ in Action: http://www.manning.com/snyder/
> >>
> >>
> >> On Tue, Nov 20, 2012 at 12:36 PM, James Green <james.mk.green@gmail.com
> >
> >> wrote:
> >> > Given my reading of that page, an HTTP DELETE on
> >> > http://10.0.0.123:8161/queue/inbound should delete the inbound
> queue...
> >> >
> >> > But I get a 404 instead. The page also talks about mapping but
> there's no
> >> > detail on that.
> >> >
> >> >
> >> >
> >> > On 20 November 2012 11:20, Gaurav Sharma <gaurav.cs.sharma@gmail.com>
> >> wrote:
> >> >
> >> >> Yes, see http://activemq.apache.org/rest.html
> >> >>
> >> >> On Nov 20, 2012, at 3:03, James Green <james.mk.green@gmail.com>
> wrote:
> >> >>
> >> >> > Trying to whip up a quick script to test performance.
> >> >> >
> >> >> > It would be really useful to call a URI to purge/delete the queue
> I'm
> >> >> using
> >> >> > between iterations without needing to manually drain it.
> >> >> >
> >> >> > Is there I URI pattern I can use?
> >> >> >
> >> >> > Thanks,
> >> >> >
> >> >> > James
> >> >>
> >>
>

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