I am trying to do following action. but not able to get which processor to use. All processor work on individual JSON and pass the JSON to either success and failure route. but I need to process complete file before sending it ahead in flow.
Description: 1. Flow should read complete input file with multiple JSON. 2. validate every JSON in file. 3. Any invalid JSON should be moved to error file. 4. Validation to continue until all JSON are validated. 5. File to be rejected if any JSON error or File to be passed ahead if non found.