ACTIVEMQ6-38 Overzealous logging for missing queue

This commit is contained in:
jbertram 2014-11-17 13:47:49 -06:00
parent 8fcf81f5f7
commit 2d9125a7c6
1 changed files with 8 additions and 1 deletions

View File

@ -555,10 +555,17 @@ public class ServerSessionPacketHandler implements ChannelHandler
response = new HornetQExceptionMessage(e); response = new HornetQExceptionMessage(e);
} }
else else
{
if (e.getType() == HornetQExceptionType.QUEUE_EXISTS)
{
HornetQServerLogger.LOGGER.debug("Caught exception", e);
}
else
{ {
HornetQServerLogger.LOGGER.caughtException(e); HornetQServerLogger.LOGGER.caughtException(e);
} }
} }
}
catch (Throwable t) catch (Throwable t)
{ {
if (requiresResponse) if (requiresResponse)