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

@ -556,7 +556,14 @@ public class ServerSessionPacketHandler implements ChannelHandler
}
else
{
HornetQServerLogger.LOGGER.caughtException(e);
if (e.getType() == HornetQExceptionType.QUEUE_EXISTS)
{
HornetQServerLogger.LOGGER.debug("Caught exception", e);
}
else
{
HornetQServerLogger.LOGGER.caughtException(e);
}
}
}
catch (Throwable t)