I'm new to Spring & Spring Integration. My first task is to take an existing Spring 2.5.6 & Spring Integraiton 1.0.3 app and upgrade to Spring Framework 3.0.5 & Spring Integration 2.0.5.
Can someone point me to examples of how to make a HeaderEnricher programmatically in spring integration 2.0.5? I am not understanding how to implement the API. Previously, we were able to use a Map<String, Object> to specify the headers to add. Now we have to use Map<String, ? extends HeaderEnricher.HeaderValueMessageProcessor<?>> . Is there an example where someone has implemented this in code?