This is where a DSL is slightly handy, in order to keep the syntax pretty compact and readable...but, as I mentioned, there are limitations (building an 'around' operator is probably tricky).


On Mon, Feb 6, 2012 at 11:24 AM, ralph.goers <> wrote:

On Mon, Feb 6, 2012 at 11:12 AM, Scott Deboy <> wrote:
The 'Rule' interface, RuleFactory and LoggingEventFieldResolver are used to support expressions..simple stuff, but it works...maybe it's time to throw this away completely and leverage a third-party API instead?

Rule, RuleFactory



Thanks. I'll take a look at these tonight. I thought I looked through companions at some point looking for stuff to pull in. This just may not have been obvious or I might have decided (perhaps incorrectly) that the RegexFilter provided similar functionality.

If these do what I think it might make more sense to leverage Java 5/6's ability to leverage scripting languages in a Filter. I've thought about doing that anyway.