updated example for spring integration