Example: REST service that receives events asynchronously

Previous Next

The following step-by-step instructions are for creating a REST service that receives reservation event messages for a Travel Agency model. These messages are handled asynchronously.

To make things easier, the input event data in this example are in USoft's XML.Export format as applied to the Travel Agency's RESERVATION table.

This example assumes that you have defined a custom REST service in Service Definer, with an application and a connection associated with it.

 

collapseCreating a queue table
collapseInserting messages into the queue table
collapseCreating a REST endpoint for receiving events
collapseSending a signal to the queue processing service
collapsePublishing the solution
collapseTesting the implementation

 

See also

Example: Queue service for asynchronous input processing

Example: Job processing input queued events

Receiving events

Event processing