camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: alternate body header in mail envelope
Date Sun, 06 Sep 2009 12:37:33 GMT
On Fri, Sep 4, 2009 at 7:29 PM, tide08<sachin2_2k@yahoo.com> wrote:
>
> Looks like this is fixed in 1.6.2-SNAPSHOT, any dates for release?
No but I think we should get 1.6.2 out in Q3 2009.

You can get stable releases from FUSE if you cant wait for Apache
releases to be official.
http://davsclaus.blogspot.com/2009/02/how-to-use-fuse-releases-when-you-cant.html


>
> Thanks!
>
>
> tide08 wrote:
>>
>> Sorry, this is for 1.6.1..
>>
>> Not sure if removeHeader will help here. For ex: for below route:
>>
>> from("direct:start")
>> .processor(customProcessor) //does some processing and sets
>> mail_alternateBody
>> .to("smtp://mailhost")
>>
>> So I cannot remove header before it goes to mail component, and if I
>> remove it after mail component, it is already to mail envelope?
>>
>> Any other way to handle this? Let me know if I am confused/missing
>> something.
>>
>> Thanks!
>>
>>
>> Claus Ibsen-2 wrote:
>>>
>>> On Fri, Sep 4, 2009 at 6:06 AM, Claus Ibsen<claus.ibsen@gmail.com> wrote:
>>>> On Thu, Sep 3, 2009 at 11:40 PM, tide08<sachin2_2k@yahoo.com> wrote:
>>>>>
>>>>> I am setting mail_alternateBody header for multipart/alternative and
>>>>> the
>>>>> problem is that now that header shows up in mail envelope. Header is
>>>>> added
>>>>> by custom processor in the route before it comes to mail component. Is
>>>>> there
>>>>> a way to tell camel-mail to filter that header? I see that it uses
>>>>> filterHeaderStrategy but could not figure out how can I configure that?
>>>>> Any
>>>>> example?
>>>>>
>>>>
>>>
>>> You can use .removeHeader("mail_alternateBody") in the route DSL.
>>>
>>>
>>>> Remember to state which version of Camel you are using?
>>>>
>>>> I do think we have fixed this in 1.6.2-SNAPSHOT so try that version.
>>>>
>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/alternate-body-header-in-mail-envelope-tp25284567p25284567.html
>>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Claus Ibsen
>>>> Apache Camel Committer
>>>>
>>>> Open Source Integration: http://fusesource.com
>>>> Blog: http://davsclaus.blogspot.com/
>>>> Twitter: http://twitter.com/davsclaus
>>>>
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> Apache Camel Committer
>>>
>>> Open Source Integration: http://fusesource.com
>>> Blog: http://davsclaus.blogspot.com/
>>> Twitter: http://twitter.com/davsclaus
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/alternate-body-header-in-mail-envelope-tp25284567p25298622.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message