Class TurQueueManagementAPI

java.lang.Object
com.viglet.turing.api.queue.TurQueueManagementAPI

@RestController @RequestMapping("/api/artemis") public class TurQueueManagementAPI extends Object
REST API controller for managing Artemis queues.
Author:
Alexandre Oliveira
  • Constructor Details

  • Method Details

    • listQueues

      @GetMapping public org.springframework.http.ResponseEntity<List<TurQueueInfo>> listQueues()
    • getQueueMessages

      @GetMapping("/{queueName}/messages") public org.springframework.http.ResponseEntity<List<TurQueueMessage>> getQueueMessages(@PathVariable String queueName, @RequestParam(defaultValue="50") int maxMessages)
    • pauseQueue

      @PostMapping("/{queueName}/pause") public org.springframework.http.ResponseEntity<Map<String,Object>> pauseQueue(@PathVariable String queueName)
    • resumeQueue

      @PostMapping("/{queueName}/resume") public org.springframework.http.ResponseEntity<Map<String,Object>> resumeQueue(@PathVariable String queueName)
    • startQueue

      @PostMapping("/{queueName}/start") public org.springframework.http.ResponseEntity<Map<String,Object>> startQueue(@PathVariable String queueName)
    • stopQueue

      @PostMapping("/{queueName}/stop") public org.springframework.http.ResponseEntity<Map<String,Object>> stopQueue(@PathVariable String queueName)
    • clearQueue

      @DeleteMapping("/{queueName}/messages") public org.springframework.http.ResponseEntity<Map<String,Object>> clearQueue(@PathVariable String queueName)
    • getQueueInfo

      @GetMapping("/{queueName}") public org.springframework.http.ResponseEntity<TurQueueInfo> getQueueInfo(@PathVariable String queueName)