Hi Just implement a custom strategy and then register that in the registry, eg if spring then <bean id="myCustomFilter" class=...">
And then configure the endpoint or component to use your filter. ?headerFilterStrategy=#myCustomFilter On Wed, May 8, 2013 at 3:53 PM, AlanFoster <a...@alanfoster.me> wrote: > Hi, > > Are there any examples of using a header filter strategy with the camel mail > component? > > I can not see this option within the camel-mail page, not in the camel-mail > MailConfiguration.java > > I assumed camel might be handle this filtering itself, but this I'm not sure > this is true as the documentation suggests it is on a per-component basis > > - "An alternative is that [b]some[/b] of the Camel Components supports > configuring a custom header filter strategy." > http://camel.apache.org/how-to-avoid-sending-some-or-all-message-headers.html > > Would appreciate any guidance with this :) > Cheers > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-avoid-sending-message-headers-with-mail-component-tp5724719p5732184.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen