Re: Camel HeaderFilterStrategy Bean Registration in Spring

2018-07-19 Thread Willem Jiang
Hi, You don't need to add @Bean annotation on the applyFilterToCamelHeaders method, Just keep @Component there should be fine. Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Thu, Jul 19, 2018 at 9:22 PM, Peck, Sean wrote: > I am having difficulty with Spring-Camel getting a HeaderFilte

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 app