On Fri, Mar 30, 2012 at 3:09 PM, Filippo Balicchia <fbalicc...@gmail.com> wrote: > Thanks for the suggestion but does not address my question of how to > instruct the mail component in a manner that does > not regard the 'headers'. >
The headers ought to be preserved by the mail component, as sending an email does not entail a reply message from the mail server. What version of Camel are you using? And what code do you do to check for the header? See this FAQ about using getIn and getOut on Exchange http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html > Cheers > > --Filippo > > Il 30 marzo 2012 10:04, Taariq Levack <taar...@gmail.com> ha scritto: >> Hi >> Instead of the 1st "process" unless there's more going on there, use >> setHeader [1] , and instead of the 2nd "process", use header[2]. >> >> [1] http://camel.apache.org/constant.html >> [2] http://camel.apache.org/header.html >> >> Taariq >> >> On 30 Mar 2012, at 7:52, Filippo Balicchia <fbalicc...@gmail.com> wrote: >> >>> Hello All, >>> I need to extract one header from exchange when i try to send an email with >>> camel-mail: >>> For example >>> >>> from(blal).process("here i put my header") >>> .to("smtps:/gmailcdjicjd") //at this point I' d like to filter my >>> headers without delete it >>> .process("Here i need to use my header"). >>> >>> Is it possible ? >>> >>> thanks for help >>> >>> --Filippo -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/