spring integration and generics