camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Content based processing in camel - Best approach
Date Tue, 19 Jul 2011 15:26:06 GMT
On Tue, Jul 19, 2011 at 11:29 AM, Naira & Kobo <> wrote:
> Hi,
> I 'd like to process a message (basically modify an exchange body) based on
> an identifier (which is also part of the message).
> The processing on the exchange body can be quite handful and may involve
> manipulating bytes  (which seem to influence my decision to use groovy).
> Is there a way I can dynamically load groovy script (at runtime) from a
> camel route?

I dont think so. Groovy offers API to load a script and execute it.

But we love contributions so it could make sense to have this
supported in Camel somehow.

> If no, how else can I achieve this?
> Note, i'd prefer not to modify the camel route for new manipulation of the
> exchange body.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message