@Override
public void deleteQueue(final String queueName) {
}
private Integer getMessagesInQueue(final String queueName) {
return new JmsTemplate(this.connection).doInSession(new SessionExecutor<Integer>() {
public Integer execute(Session session) throws JMSException {
QueueBrowser browser = session.createBrowser(session.createQueue(queueName));
@SuppressWarnings("unchecked")
Enumeration<Message> en = browser.getEnumeration();
int count = 0;