camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Output File Name After Exec
Date Wed, 09 Jan 2013 08:18:55 GMT
On Tue, Jan 8, 2013 at 9:44 PM, neilac333
<> wrote:
> I have a Camel route that starts off with an executable for which I use exec
> and which produces an output file. The name of the file is specified in the
> outFile parameter to Exec. What I want to do next is to pass that file
> /name/--not the contents--in the message body to the next component in the
> route.
> Seems simple enough, but I don't see any clues in the documentation as to
> how to get that outFile name into a message body. Your insight is
> appreciated.

See this EIP

To set the message body with the content of a message header


Using the header language

> Thanks.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message