split(), shareUnitOfWork & transacted()

2018-07-19 Thread Iglehart, Vince
I have a question on propagating a transaction with split() and shareUnitOfWork(). I have a route defined below in Camel 2.20.2. I read transactions from Datasource1, I split the result set, send each row to a recipient list which uses Datasource2, and then mark the row as processed. I perfor

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