> 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: [email protected] > Web: http://fusesource.com > Twitter: tabish121 > Blog: http://timbish.blogspot.com/ > Allen Reese Core Platforms Yahoo! Inc.
