camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien D <>
Subject Dynamic header setting
Date Mon, 31 Aug 2009 09:24:14 GMT

Hi guys,

Here's my situation.

I'm processing a file and I'm sending an email to tell the user that the
file is being processed.
I would like to put the file name in the subject of the email but I don't
know how to do that.

The file name is in the header CamelFileName.

Here's how I set the subject of the email without the file name :
.setHeader("subject", constant("Starting File processing "))

Any hint ?
View this message in context:
Sent from the Camel - Users (activemq) mailing list archive at

View raw message