MQTT - Error Handling (Magic xpi 4.6)
The Magic xpi Server Flow Manager checks for errors during the execution of a step. If there is an error in an MQTT connector step, the Error Handler is invoked and handles the error.
The first error in the step causes the termination of the step execution. If the step performs multiple calls or iterations, and an error occurs in one of them, no subsequent calls or iterations are executed.
The error codes for the MQTT connector are listed below. You can also use Magic xpi's General Component Errors with the MQTT connector. The codes are returned to the Magic xpi Server in the Invocation program’s Error Code parameter.
|
|
9999
|
Java Exception
|
100
|
MQTT connection security exception
|
101
|
MQTT connection exception
|
102
|
MQTT publish - connection security exception
|
103
|
MQTT subscribe - connection security exception
|
104
|
MQTT: Invalid service parameters
|
105
|
MQTT: Service is not available
|
106
|
MQTT persistence exception
|
107
|
MQTT exception
|
Error Handling in Magic xpi