HeaderFilterStrategy

2021-12-06 Thread Rafael Sainz
lterStrat2; } } That I have configured my https endpoint and add to headerFilterStrategy … .to("https://{{cevaldom.status-request}}?throwExceptionOnFailure=false=#filterStra2;) But the filters still applies and ${headers}" log does not return the expected “date” header .. Do you have a

Re: Camel HeaderFilterStrategy Bean Registration in Spring

2018-07-19 Thread Willem Jiang
ing a HeaderFilterStrategy > class registered as a Bean so it can be found by the Camel Route. My > attempts to annotate the HeaderFilterStrategy custom class seem futile... > so how do I register this thing so it gets found at run time? > > I have a camel application with a route

Camel HeaderFilterStrategy Bean Registration in Spring

2018-07-19 Thread Peck, Sean
I am having difficulty with Spring-Camel getting a HeaderFilterStrategy class registered as a Bean so it can be found by the Camel Route. My attempts to annotate the HeaderFilterStrategy custom class seem futile... so how do I register this thing so it gets found at run time? I have a camel

Re: HeaderFilterStrategy example

2015-06-09 Thread Claus Ibsen
;q=0.4/simple/setHeader to uri=http://some-nice-remote-api/proc?HeaderFilterStrategy=z.mystrategy.myclass/ transformsimple${header.SecretInformation}/simple/transform to uri=http://advise-passed/ /route /camelContext Can you give me code example of HeaderFilterStrategy

HeaderFilterStrategy example

2015-06-08 Thread fliot33
/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8/simple/setHeader setHeader headerName=Accept-Languagesimplefr,en-US;q=0.8,en;q=0.6,es;q=0.4/simple/setHeader to uri=http://some-nice-remote-api/proc?HeaderFilterStrategy=z.mystrategy.myclass/ transformsimple

How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread rohitbrai
How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw the code and I can see that SMTP component honors the HeaderFilterStrategy. But I am not able to figure out how do I set it for the endpoint? Thanks and Regards, Rohit -- View this message in context: http://www.nabble.com

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread rohitbrai
Is this applicable to the Mail component also? http://issues.apache.org/activemq/browse/CAMEL-915 You can do this in Camel 2.0 in the URI by using the # syntax for lookup in the registry. Regards, Rohit rohitbrai wrote: How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread Claus Ibsen
On Tue, Jun 9, 2009 at 2:35 PM, rohitbrairohitb...@gmail.com wrote: How do I use a custom HeaderFilterStrategy on a SMTP endpoint? I saw the code and I can see that SMTP component honors the HeaderFilterStrategy. But I am not able to figure out how do I set it for the endpoint? When Camel

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread rohitbrai
Sorry for missing that - I am using the Camel 2.0 snapshot. I am not using HTTPComponent at all. I am using the MailComponent, which is created by camel. Can I set the HeaderFilterStrategy for the component, or I need to create my own instance of the component? Currently I am using smtp like

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread Claus Ibsen
On Tue, Jun 9, 2009 at 3:04 PM, rohitbrairohitb...@gmail.com wrote: Sorry for missing that - I am using the Camel 2.0 snapshot. I am not using HTTPComponent at all. I am using the MailComponent, which is created by camel. Can I set the HeaderFilterStrategy for the component, or I need

Re: How to use the HeaderFilterStrategy on SMTP endpoint?

2009-06-09 Thread Claus Ibsen
, rohitbrairohitb...@gmail.com wrote: Sorry for missing that - I am using the Camel 2.0 snapshot. I am not using HTTPComponent at all. I am using the MailComponent, which is created by camel. Can I set the HeaderFilterStrategy for the component, or I need to create my own instance