Public | Automated Build

Last pushed: 3 months ago
Short Description
Collect a user's unread mails from exchange
Full Description


mail-collector-exchange


Collect a user's unread mails from exchange

Inbound messages

This microservice listens for the following messages

  • {cmd: 'collect-tasks', type: 'user'}

Outbound messages

This microservice emits the following messages

  • {info: 'tasks', type:'user'}

Docker

Build the image

$ docker build -t mail-collector-exchange .

Start

$ docker run -d --net host --name mail-collector-exchange mail-collector-exchange

From hub.docker.com

$ docker run -d --net host --name mail-collector-exchange telemark/mail-collector-exchange

Call the service

$ curl -d '{"cmd":"collect-tasks", "type": "user", "user":"enge"}' -v http://192.168.99.100:8000/act
Docker Pull Command
Owner
telemark

Comments (0)