Posted: 4 Mar 2019 14:57 EST Last activity: 29 Aug 2019 3:20 EDT
File Listener concurrency issues
If file listener concurrency is 5 and there are huge number of files coming into the polling location, how can listener makes sure that a file once read by the listener in thread 1 does not listens by the same listener in thread 2?
configuration in my scenario is as below
1. Node based startup on multi node env.
2. concurrent threads: 5
3. Polling time: 5 seconds
4. Clean up operation: Delete
5. service file: map to Parse structured.
6. Execution mode: Synchronous
I am seeing there is a concurrent access to a single pdf among the 5 concurrent running threads. how can i stop this?
Do you still have this issue? In a multi node environment its recommended to enable "Lock listener's temporary file" in process Tab of the listener. This will ensure when one node is processing a file the second won't process the file as long as you the thread hold lock on the file.
MM. Ahamed Azhar.
Posted: 1 year ago
Updated: 1 year ago
Posted: 29 Aug 2019 3:20 EDT Updated: 29 Aug 2019 3:19 EDT
I am unable to trace the listeners in Admin Studio,is there any particular reason? tracer is empty. As per my knowledge i have configured file listener, service file in that i am calling activity and i dropping my file to the location using connect file rule.