/** * GET /queues : get all the queues. * * @return the ResponseEntity with status 200 (OK) and the list of queues in body */ @RequestMapping( value = "/queues", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) @Timed public List<Queue> getAllQueues() { log.debug("REST request to get all Queues"); List<Queue> queues = queueRepository.findAll(); return queues; }