camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Groovy Processor
Date Thu, 18 Sep 2008 10:23:54 GMT
2008/9/18 raulvk.soa <>:
> Hi,
> I need to use a Groovy Processor but I only seem to be able to find support
> for Predicates and Expressions on the docs.
> Is it possible to use Groovy Processors Out-of-the-box, by referencing
> external .groovy files? If so, how exactly should the process method be
> implemented?
> What I am after is actually the GPath XML processing using the XmlSlurper
> class. It looks like a very agile way to do custom validation on an XML.

We've no explicit support yet for invoking a script as a processor; we
should add that.

In the meantime, if you compile your groovy on the classpath you can
just refer to the Groovy class in the bean...


We should maybe have a script endpoint?



Open Source Integration

View raw message