Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Working with MQTT Triggers | Transient Error Handling for an MQTT Trigger | Handling Retry Failure | Overview of Throw Exception
 
Overview of Throw Exception
The default retry failure behavior of Throw exception rejects the message and allows the MQTT trigger to continue with message processing when retry failure occurs.
The following table provides an overview of how Integration Server handles retry failure for an MQTT trigger when the Throw exception option is selected.
Step
Description
1
Integration Server makes the final retry attempt and the MQTT trigger service fails because of an ISRuntimeException.
2
Integration Server treats the last trigger service failure as a ServiceException.
3
If the acknowledgement mode is Client Acknowledgment, Integration Server acknowledges the message to the MQTT server. If the message is persisted, the MQTT server deletes the message.
Note:
If the message was not persisted, the MQTT server will have deleted the message for the trigger subscription already.
4
Integration Server processes the next message in the local trigger queue for the MQTT trigger.