if (tracer instanceof ManagedBacklogTracerMBean) {
ManagedBacklogTracerMBean camelTracer = (ManagedBacklogTracerMBean)tracer;
if (camelTracer != null) {
List<BacklogTracerEventMessage> traceMessages = null;
if (id == null) {
traceMessages = camelTracer.dumpAllTracedMessages();
} else {
traceMessages = camelTracer.dumpTracedMessages(id);
}
traceList.addBackLogTraceMessages(traceMessages);
} else {