Monitoring - JMX

Queue microservice provides MBean with name com.jlupin.jmx:type=queueState which contains map with structure Map<QueueName, DetailMap>, where DetailMap contains:

inputTasksLength   - number of tasks accepted by queue
outputTasksLength  - number of tasks which where executed and are waiting for retreiving results
workingQueueLength - number of tasks currently executed by queue