activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Crudu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5335) activemq.web module: Infinite loop in MessageListenerServlet::doPost method
Date Wed, 27 Aug 2014 19:59:58 GMT
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)

Mime
View raw message