Exception handling

The exception handling in the ION Service:

  • If the connection succeeds but subsequent processing fails, this is regarded as a functional error. In that case a Confirm BOD is sent and the next message will be processed.
  • f the connection fails, retrying is useful (assuming the connection was tested before activating the document flow). In that case no Confirm BOD is published. Retrying will be done automatically. In that case the message will stay in the same location (for example an Outbox or an intermediate message queue) until connection succeeds.

If a Confirm BOD is published this is handled in ION and displayed on the Error BODs page, as described in the Management chapter.

When using database connection points, the ION Service will make sure that the database transaction is handled properly. Changes to the database and updates to the involved message queue are done together. They are either both committed or both rolled back. Note that the handling of an incoming Process BOD and the publishing of the resulting Acknowledge message is synchronous. If writing the Acknowledge message to a queue failed, the action in the database and the removal of the Process message from the incoming queue will also be rolled back.