camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian de Beer <>
Subject Mail Component: Setting the mail subject and recipients
Date Sun, 30 Sep 2007 11:23:53 GMT

I want to set the subject of a message that is sent from my custom component
to an smtp endpoint. I have tried setting the headers on the message that is
exchange.getOut().setHeader("subject", "test subject");
This has no effect. Any suggestion on how I can do that.
I  also would like to declare the recipients dynamically when the message is
sent and not at configuration time - is that possible? Currently I do it as
part of the uri:
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message