activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Reese <are...@yahoo-inc.com>
Subject RE: AMQ-3404 & querying via JMX
Date Mon, 18 Jul 2011 21:26:47 GMT
> On Mon, 2011-07-18 at 14:15 -0700, Allen Reese wrote:
> > I'm looking at the patch we have put together for AMQ-3404 (Fix the Purge command
to use message
> selectors), and I've run into something that just doesn't seem right.
> >
> >
> > Is there any way to do the query over JMX instead of creating a JMS connection to
the broker? I'm
> hesitant to send in a patch that adds what feels like an extreme hack.
> >
> > Allen Reese
> > Core Platforms
> > Yahoo! Inc.
> 
> The QueueViewMBean has a method "removeMatchingMessages" that takes a
> selector, doesn't that do what you want?  If not what is the use case?

That is probably easier to use.  I'm going to look at that next. 
Thanks!


> Regards
> Tim.
> 
> 
> --
> Tim Bish
> ------------
> FuseSource
> Email: tim.bish@fusesource.com
> Web: http://fusesource.com
> Twitter: tabish121
> Blog: http://timbish.blogspot.com/
> 


Allen Reese
Core Platforms
Yahoo! Inc.

Mime
View raw message