Receiving Messages

You can register handlers in Axon Synapse to receive messages via HTTP from Axon Server. Synapse supports three types of messages:

In general, Synapse uses two forms to send HTTP requests to handlers:

  • http-raw where the HTTP content is the actual payload of the message, and all additional information is in the HTTP headers (see Client Raw API for details)

  • http-message, where the HTTP content is a JSON object containing the message and all the relevant information (see Client Message API for details)