spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Add SimpleHeaderMapper implementation [INT-1439]

Open spring-operator opened this issue 15 years ago • 2 comments

Mark Fisher opened INT-1439 and commented

This implementation of HeaderMapper can be used for any case where the source/target type is simply a Map instance, e.g.:

public class SimpleHeaderMapper implements HeaderMapper<Map> {

   // something like this (and an inbound version)
   // see DefaultHttpHeaderMapper as an example
   public void setOutboundHeaderNames(String[] outboundHeaderNames) {

}

We would also need to support wildcard matching on the map keys, eg:

<something mapped-inbound-headers="foo, x-*"/>

For cases where we want to allow a Map of String keys and Expression values, we might want to add a new implementation, such as ExpressionEvaluatingHeaderMapper.


No further details from INT-1439

spring-operator avatar Sep 09 '10 09:09 spring-operator

Oleg Zhurakousky commented

Does not seem to be an essential feature. Set for 2.2

spring-operator avatar Aug 04 '11 10:08 spring-operator

Mark Fisher commented

moving to M2 - may be irrelevant

spring-operator avatar Feb 21 '12 06:02 spring-operator