Project: talendesb
Issue TESB-11138: EventLogging: Too many audit event flags
Currently there are two different flags to be set for enabling audit events. The meaning of these flags is not clear. One is a camel exchange property "audit.enable", another is a camel exchange header "org.talend.esb.event.header.audit". Headers are designed to transport meta-data directly related to the payload. And for audit log events this is the case. So it would be correct to use a camel header with an audit flag but not a property. But using both makes it worse and increases possibility of data inconsistency.
Story points: 1