File Event Pattern 2006-07-07 - By Harman, Jeff
Back I have a design issue that I was hoping that this list could assist me with:
I need to create a File Event Handler.
The basic requirements are: - Detect the arrival of a file on a particular path (including file masking patterns) - Recognize the type of file - Route either data stream or file reference to an appropriate handler - Election of an instance to handle the file (the file will arrive on a shared drive that all copies of the app will see) to prevent multiple instances of the same file being processed
Anyone have any good pointers or patterns to use?
Thanks, Jeff Harman Remember: 1.80267x10^12 furlongs per fortnight, It is not just a good idea it is the law.
********************************************************************** PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying , disclosure, dissemination or distribution is strictly prohibited. If you're not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. ************************************************** Email containing sensitive information will be sent using ZixMail Secure Messaging. If you need assistance in accessing a Secure Message, click on the link below http://www.zixit.com/support/zixmailnethelp.htm#4.0 or contact ZixCorp Support at support@(protected) or 888-576-4949. {WBE} **********************************************************************
===================================================================Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|