Roman Crudu created AMQ-5335:
--------------------------------

             Summary: activemq.web module: Infinite loop in 
MessageListenerServlet::doPost method
                 Key: AMQ-5335
                 URL: https://issues.apache.org/jira/browse/AMQ-5335
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.10.0
            Reporter: Roman Crudu
            Priority: Minor


MessageListenerServlet::doPost method contains such code:
//...
while (true) {
try {
//...
       Destination destination = getDestination(client, request, 
destinationName);
messages++;
//...
} catch (JMSException e) {
LOG.warn("jms", e);
}
}

If method getDestination throws Exception (e.g. SecurityException) - code gets 
in infinite loop.





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to