Sample PCF demo using RabbitMQ

Foreword

This document gives two examples of using RabbigMQ in cloud foundry in a SpringBoot application. There are also several POJO examples in the simplemains package.

Overview

There are two examples as part of this sample pack: a PUB/SUB as well as RPC style using a work queue and dynamic queues for responses.

The Swagger page for these examples will be available here: http://rabbit-sandbox.your.cfinstallation.com/swagger-ui.html#/

Publish and Subscribe

  • GET /async/_startpubsubconsumer
  • POST /async/pubsub

Work Queue RPC style with multiple subsribers

  • POST /async/usagerequests
  • GET /async/usages/{requestId}