Error Messages Redelivery
This section describes the API specifications and the configurations to be done for their working.
Configuring Properties
The following properties should be included in Api.properties.
className_ReprocessEvents=com.temenos.microservice.framework.core.error.funct ion.ReprocessEventsImpl className_GetErrorEvents=com.temenos.microservice.framework.core.error.functio n.GetErrorEventsImpl
Configuring Error Table
The ms_error table should be available.
- For SQL it is automatically created.
- For NOSQL it should be added in init scripts.
API Specifications
Refer the Swagger JSON file for the complete API specifications.
REPROCESS ERROR EVENTS
This API is used to reprocess messages by transferring them from the ms_error table to reprocess-topic.
POST/system/ingester/errorDetail/services
Sample URL
http://://<host>:<port>/<ms_name>/api/v1.0.0/system/ingester/errorDetail/services
Request
{
"eventId": [
"string"
]
}Response
"eventId": [
"string"
]
}GET ERROR EVENTS
This API queries the ms_error table based on query parameters and retrieves the details of error events.
GET/system/ingester/errorDetail/services
Sample URL
http://<host>:<port>/<ms_name>/api/v1.0.0/system/ingester/errorDetail/services?status=UNPROCESSED&startDate=2021-04-23&endDate=2021-04-26
Response
[
{
"eventId": "string",
"errorMessage": "string",
"date": "string"
}
] In this topic