Project: springxd
Issue XD-1039: Composed of Composed fails at stream deployment time
Although composition of a module out of an already composed module seems to work at the 'module compose' level, trying to deploy a stream with that more complex module fails with org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:724) Caused by: java.lang.IllegalArgumentException: each module before the last must provide 'output' org.springframework.util.Assert.notNull(Assert.java:112) org.springframework.xd.module.CompositeModule.initialize(CompositeModule.java:132) org.springframework.xd.dirt.module.ModuleDeployer.deploy(ModuleDeployer.java:234) org.springframework.xd.dirt.module.ModuleDeployer.deployModule(ModuleDeployer.java:224) org.springframework.xd.dirt.module.ModuleDeployer.handleCompositeModuleDeployment(ModuleDeployer.java:180) org.springframework.xd.dirt.module.ModuleDeployer.handleMessageInternal(ModuleDeployer.java:129) org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)	... 63 more
Story points: 5