the data is hopefully discarded by now, so dont try to get at it
This commit is contained in:
@ -101,7 +101,7 @@ public class OutboundMessageRegistry {
|
|||||||
} else {
|
} else {
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.debug("Stop matching selector " + selector + " for message "
|
_log.debug("Stop matching selector " + selector + " for message "
|
||||||
+ msg.getMessage().getClass().getName());
|
+ msg.getMessageType());
|
||||||
matchedRemove.add(exp);
|
matchedRemove.add(exp);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -230,7 +230,7 @@ public class OutboundMessageRegistry {
|
|||||||
String warn = delay + "ms";
|
String warn = delay + "ms";
|
||||||
if ( (delay > 1000) && (_log.shouldLog(Log.WARN)) ) {
|
if ( (delay > 1000) && (_log.shouldLog(Log.WARN)) ) {
|
||||||
_log.warn("Synchronizing in the registry.unRegister took too long! " + warn);
|
_log.warn("Synchronizing in the registry.unRegister took too long! " + warn);
|
||||||
_context.messageHistory().messageProcessingError(msg.getMessage().getUniqueId(), msg.getMessage().getClass().getName(), "Unregister took too long: " + warn);
|
_context.messageHistory().messageProcessingError(msg.getMessageId(), msg.getMessageType(), "Unregister took too long: " + warn);
|
||||||
} else {
|
} else {
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.debug("Synchronizing in the registry.unRegister was quick: " + warn);
|
_log.debug("Synchronizing in the registry.unRegister was quick: " + warn);
|
||||||
@ -249,7 +249,7 @@ public class OutboundMessageRegistry {
|
|||||||
for (Iterator iter = msgs.keySet().iterator(); iter.hasNext();) {
|
for (Iterator iter = msgs.keySet().iterator(); iter.hasNext();) {
|
||||||
Long exp = (Long)iter.next();
|
Long exp = (Long)iter.next();
|
||||||
OutNetMessage msg = (OutNetMessage)msgs.get(exp);
|
OutNetMessage msg = (OutNetMessage)msgs.get(exp);
|
||||||
buf.append("<li>").append(msg.getMessage().getClass().getName());
|
buf.append("<li>").append(msg.getMessageType());
|
||||||
buf.append(": expiring on ").append(new Date(exp.longValue()));
|
buf.append(": expiring on ").append(new Date(exp.longValue()));
|
||||||
if (msg.getReplySelector() != null)
|
if (msg.getReplySelector() != null)
|
||||||
buf.append(" with reply selector ").append(msg.getReplySelector().toString());
|
buf.append(" with reply selector ").append(msg.getReplySelector().toString());
|
||||||
@ -286,7 +286,7 @@ public class OutboundMessageRegistry {
|
|||||||
if (fail != null) {
|
if (fail != null) {
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.debug("Removing message with selector " + msg.getReplySelector()
|
_log.debug("Removing message with selector " + msg.getReplySelector()
|
||||||
+ ": " + msg.getMessage().getClass().getName()
|
+ ": " + msg.getMessageType()
|
||||||
+ " and firing fail job: " + fail.getClass().getName());
|
+ " and firing fail job: " + fail.getClass().getName());
|
||||||
ctx.jobQueue().addJob(fail);
|
ctx.jobQueue().addJob(fail);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user