Hi,
I am testing the newest Spring Integration Samples and I found an issue with the File Sample from the Basic category: the program ends before being able to copy anything. Since I am new at SINT I am curious if there is something I am doing wrong or is just a glitch on the sample.
To make it work I just added an infinite loop to the test code.
Code:public class FileBasedFileCopyTest { @Test public void testFileBasedCopy(){ ApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/fileCopyDemo-file.xml", FileBasedFileCopyTest.class); FileCopyDemoCommon.displayDirectories(context); while (true) { } } }


Reply With Quote
