REST Messaging Management

REST (Representational State Transfer) is a simple, lightweight way to design network applications. It enables clients and network event brokers to communicate using standard HTTP requests. In this section we'll show you how to configure your Solace PubSub+ event broker for a REST messaging service.

Configuring Event Brokers for REST Messaging

Guaranteed Messaging must be enabled (refer to Guaranteed Messaging Configuration) before a Solace PubSub+ event broker can send or receive REST messages. Also, you configure a number of parameters, as noted in the sections below, to enable an event broker to receive or publish REST messages.

Configure to Receive REST Messages

Follow the steps below to configure a Solace PubSub+ event broker to receive REST Messages.

  1. Enable system-level REST service for incoming REST connections (refer to REST Service Management).
  2. Configure incoming REST service for one or more Message VPNs (refer to Configuring Incoming Connections).
    1. Specify a dedicated listen port for REST service (refer to Setting Listen Ports).
    2. Configure REST for either plain-text or SSL service (refer to Enabling REST Plain Text Service and Enabling REST SSL Service).

Configure to Publish REST Messages

Follow the steps below to configure a Solace PubSub+ event broker to publish REST Messages.

  1. Enable system-level REST service for outgoing REST connections (refer to Enabling Outgoing REST Connections.)
  2. Configure and enable a REST Delivery Point (RDP) within a REST-enabled Message VPN (refer to Managing REST Delivery Points).
    1. Configure at least one queue binding for the RDP (refer to Managing REST Delivery Point Queue Bindings).
    2. Configure a POST request target for the RDP (refer to Configuring POST Request Targets).
  3. Configure and enable a REST Consumer (refer to Configuring REST Consumers).
    1. Configure connection parameters for the REST Consumer (refer to Configuring Remote Connection Info for REST Consumers).