Messenger

A Messenger is a class Stereotype that is used to define a class that acts as a message broker to process XML messages submitted as input to the AB Suite runtime system.

The Messenger class contains a built-in cycle for processing incoming messages.

In the Messenger processing cycle:

  1. An instance of the Messenger is created and the input message is parsed and validated.

  2. The Messenger instance is populated from the message.

  3. User-defined logic is executed.

  4. A response message is created and returned to the client that sent the input message.