Description
This method is used to control the file creation event for a Receiver.
Example: A Receiver can be configured to generate a new file after every 100 records get generated.
Note:
This will only work for Receivers that have dynamic configuration enabled.
Exceptions
The following GenRocket exceptions may be thrown by this method:
- If the requested domainName is not found.
- If the requested receiverName is not found.
- If the requested fileConfig is not found
Runtime Method Signature
Use this method signature when directly accessing the GenRocket binary runtime.
For example, to create a new file after every 30 records get generated, configure the file creation event for DelimitedFileReceiver of Customer Domain as:
REST/Socket Payload Request
Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.
REST/Socket Payload Successful Payload Response
The API JSON response payload for this method will be empty.