fix complex sample to work with latest spring-xd master