Spring Integration 4.2 has fixed a bug where integration components were being started too early. SmokeTests was relying on this bug to start the test class which is also a @MessageEndpoint. This commit updates the test to use a nested inner-class for the endpoint and a bean declaration in the XML configuration. This allows the test to pass against both Spring Integration 4.0 and 4.2.