- Overview
- 1. Roles
- 2. Accessing Messaging Application
- 3. User Administration
- 4. Tenant Administration
- 5. Trading Partner Administration
- 6. Channel Administration
- 7. Rules Administration
- 8. Services
- 9. Transactions/Mailbox messages
- Back to Learning Center
Com.covisint.messaging.custom.FileSizeDetector
When to use Service?
This custom service can be used for detecting the length of payload. If the length is larger than the number specified via the service params field, then the service will fail the message with the specified exception type ID.
Service Description – Required
Format:
FILE_SIZE=XXXX,TYPE_ID=XXXX
Valid values:
FILE_SIZE: The param is used to set the maximum allowable byte size of the payload.
TYPE_ID: The param is used to set the exception type id that will bubble up to the dashboard if the file size of message exceeds the value set in the FILE_SIZE param
Errors :
6312 - Invalid service params for the custom service.