Package org.jpos.util

Class MappingLogEventWriter

  • All Implemented Interfaces:
    XmlConfigurable, LogEventWriter

    public class MappingLogEventWriter
    extends BaseLogEventWriter
    implements XmlConfigurable
    LogEventWriter that can be configured with event and output mappers to modify the events before writing to output stream and modify the output stream before writing to the final destination respectfully. Example configuration:
    
             <writer class="org.jpos.util.MappingLogEventWriter">
                 <event-mapper class="...">
                     <property....  />
                 </event-mapper>
                 <event-mapper class="..."/>
                 <output-mapper class="...">
                     <property.... />
                 </output-mapper>
                 <output-mapper class="..."/>
             </writer>
         
    Since:
    2.1.4