journal6 ›› 2013, Vol. 34 ›› Issue (2): 26-30.DOI: 10.3969/j.issn.1007-2985.2013.02.006

• Computer • Previous Articles     Next Articles

File Monitoring Based on Spring Integration Message Flow

(华东交通大学信息工程学院,江西 南昌 330013)   

  1. (School of Information Engineering,East China Jiao Tong University,Nanchang 330013,China)
  • Online:2013-03-25 Published:2013-04-23

Abstract: Spring Integration provides a simple,efficient mechanism to realize message oriented application integration.It adopts declarative configuration definition connection between message channel and message processing unit.Spring Tool Suite provides a visual toolbox to realize message flow process layout.Combined with a directory file security inspection application,this paper gives the specific programming processing method.Through message files  all documents state information is stored in a directory.When detecting,the file information in the directory is compared with the recorded information from the message file,in order that the file changes should be found,and  a notice mail be automatically sent to the manager.

Key words: spring integration, message, message channel;message endpoint, file change monitoring

WeChat e-book chaoxing Mobile QQ