• Post Reply Bookmark Topic Watch Topic
  • New Topic

File tracking system java application  RSS feed

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

Our client currently has a system where files (lots of them) are transferred between servers and other external interfaces. A file goes through a lot of locations before it reaches its final destination. The only indication that these files were transferred are acknowledgement receipts sent in email. So per stage, an email is sent. The thing is, oftentimes the mail server experiences network problems to the emails aren't sent. Even if they are sent, it would really be hard for us to track the current location or status of files, we have to dig up our emails and get hold of the admins which receive these emails and let them look or it. If ever a file doesn't each its final destination, it really takes a lot of time trying to find which stage it got stuck.

What would be a better way to track these files? I'm thinking a java app which checks contents of each folder at specific time intervals and from there a files could be tracked. Would that be enough or would every file transfer action be needed to log in the database?

Thanks,
Andres
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andres Delrotti wrote:What would be a better way to track these files? I'm thinking a java app which checks contents of each folder at specific time intervals and from there a files could be tracked. Would that be enough or would every file transfer action be needed to log in the database?

Why not a message queue instead of email, and fire off text messages containing the data to the queue instead? You could include time stamp, source/target locations, etc. and keep a persisted record of the trail even in the queue.

JMS seems ready made for something like that. There are several good standalone implementations out there like ActiveMQ, Fiorano or even OpenMQ.

In fact you have metadata headers with JMS that could make your searches much stronger. Then you could also persist to a DBMS and have the data for a full reporting system.

Just an idea. I just happen to like JMS. :-D
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!