public Map<String, Object> process(Map<String, Object> record) {
SpyContext ctx = (SpyContext) record.get(".CTX");
String mbeanName = ctx.subst(mbeanTemplate);
String attrName = ctx.subst(attrTemplate);
Object obj1 = new AttrGetter(record.get(srcField), attrChain);
Object obj2 = registry.getOrRegister(mbsName, mbeanName, attrName, obj1, desc);
if (!obj1.equals(obj2)) {
log.warn(ZorkaLogger.ZSP_ERRORS, "Attribute '" + attrName + "' of '" + mbeanName + "' is already used.");
}
return record;
}