AMQP client for Spring app
- Messaging
/messge
@POST /send
for adding message to MQ, requires body :MessageData
@GET /count
for getting count of messages in queue, requires param :queue
- User
/user
@GET /get
fetchesUser
with param :id
@GET /tomodachi
fetchesList<User>
param :userId
@PUT /nakama
addsUser
to DB , ReturnsBoolean True
if successful@POST /nakama
Connects two users Requires body :ConnectionData
, ReturnsBoolean True
if successful@POST /nakama_bye
Disconnects two users Requires body :ConnectionData
, ReturnsBoolean True
if successful
- DIY ( endpoints are mapped so as to consume the mongo and rabbitmq from localhost )
- Build Container
docker build -t luffy-test .
- Run Container
docker run -p 8080:8080 luffy-test
- Internal port mapping
- Base port mapping
- Build Container
- Using Compose
docker-compose up