on 05-17-2007 3:02 PM
Hello all,
does anyone know why this code doesn't log anythink in Audit Log entries?
public ModuleData process(ModuleContext moduleContext,ModuleData inputModuleData) throws ModuleException {
Object obj = null;
Message msg = null;
AuditMessageKey amk = null;
try {
amk = new AuditMessageKey(msg.getMessageId(), AuditDirection.INBOUND);
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "CreateAttachment: Module called"); inputModuleData.setPrincipalData(msg);
} catch (Exception e) {
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Faild: " + e.toString());
}
return inputModuleData;
}
except this one:
Success MP: processing local module localejbs/RSX_EJB
Hi milan
is this the adapter module for the sender adapter??
Also, where is the code for the log that successfully prints?
Regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.