Description
This method is used to control the directory creation event for a Receiver.
Example: A Reciever can be configured to generate a new directory after every 100 files 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 dirConfig is not found
Runtime Method Signature
Use this method signature when directly accessing the GenRocket binary runtime.
For example, to create a new directory after every 30 files are generated, configure the directory 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.