include the expiration in the error message if its dropped
This commit is contained in:
@ -132,7 +132,9 @@ public class InNetMessagePool {
|
|||||||
_context.statManager().addRateData("inNetPool.droppedDeliveryStatusDelay", timeSinceSent, timeSinceSent);
|
_context.statManager().addRateData("inNetPool.droppedDeliveryStatusDelay", timeSinceSent, timeSinceSent);
|
||||||
} else {
|
} else {
|
||||||
if (_log.shouldLog(Log.ERROR))
|
if (_log.shouldLog(Log.ERROR))
|
||||||
_log.error("Message " + messageBody + " was not handled by a HandlerJobBuilder - DROPPING: "
|
_log.error("Message " + messageBody + " expiring on "
|
||||||
|
+ (messageBody != null ? (messageBody.getMessageExpiration()+"") : " [unknown]")
|
||||||
|
+ " was not handled by a HandlerJobBuilder - DROPPING: "
|
||||||
+ msg, new Exception("DROPPED MESSAGE"));
|
+ msg, new Exception("DROPPED MESSAGE"));
|
||||||
_context.statManager().addRateData("inNetPool.dropped", 1, 0);
|
_context.statManager().addRateData("inNetPool.dropped", 1, 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user