Код: Выделить всё
`@RequestMapping("/process/{userInput}") public Integer purgeMessage(@PathVariable string queueName) { if(StringUtils.isNotEmpty(queueName) && queueName.length 0) { jmsTemplate.receive(queueName); count--; } Integer postCount = jmsTemplate.browse(queueName);//not full code written return postCount ; } Источник: https://stackoverflow.com/questions/781 ... rt-in-java
Мобильная версия