Package uk.ac.bbsrc.tgac.miso.tools.run

Examples of uk.ac.bbsrc.tgac.miso.tools.run.MultiFileQueueMessageSource


            }
          }

          RunFolderScanner rfs = (RunFolderScanner) context.getBean(platformType + "StatusRecursiveScanner");

          MultiFileQueueMessageSource mfqms = new MultiFileQueueMessageSource();
          mfqms.setBeanName(platformType + "MultiFileQueueMessageSource");
          mfqms.setBeanFactory(context.getBeanFactory());
          mfqms.setScanner(rfs);
          mfqms.setFilter(statusFilter);
          mfqms.setDirectories(paths);
          //make sure all the directories are rescanned each poll
          mfqms.setScanEachPoll(false);
          mfqms.afterPropertiesSet();

          SourcePollingChannelAdapter spca = new SourcePollingChannelAdapter();
          spca.setBeanName(platformType + "StatusFileSource");
          spca.setBeanFactory(context.getBeanFactory());
          spca.setMaxMessagesPerPoll(1);
View Full Code Here

TOP

Related Classes of uk.ac.bbsrc.tgac.miso.tools.run.MultiFileQueueMessageSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.