AnsweredAssumed Answered

watching a folder for a json file

Question asked by shane.turk.espatial on Sep 17, 2014
Latest reply on Jan 15, 2015 by esDarryl

I am using the following environment:

ArcGIS for Server 10.2.1

SQL Server 2012

Windows Server 2012 R2


I am monitoring a folder for a new json file then processing it using the GeoEvent Processor (GEP).


It (the GEP) is successfully processing a file every five minutes (this is how often it is arriving from an external vendor).


I have the following issues:


Problem 1:

• The GEP doesnt delete the json files once they are processed.  I have changed the setting in the 'input' to delete and also not delete but that does not do anything.


Problem 2:

• When you restart the GEP service it will reprocess any files in the directory even if they are old.  It treats any json file as a new file.


NOTE: my json file has a .txt suffix but it is formatted json as per a specification supplied to the vendor.

NOTE: 03/10/2014: The GEP service was altered to use a file with a json suffix rather than a txt suffix.  The issue is still happening.


Any help would be appreciated.