org.apache.synapse.mediators.db
Class DBReportMediator
java.lang.Object
org.apache.synapse.mediators.AbstractMediator
org.apache.synapse.mediators.db.AbstractDBMediator
org.apache.synapse.mediators.db.DBReportMediator
- All Implemented Interfaces:
- ManagedLifecycle, Mediator
public class DBReportMediator
- extends AbstractDBMediator
A mediator that writes (i.e. inserts one row) to a table using message information
| Methods inherited from class org.apache.synapse.mediators.db.AbstractDBMediator |
addDataSourceProperty, addDataSourceProperty, addStatement, destroy, getDataSource, getDataSourceProps, getDSName, getPreparedStatement, getStatementList, init, mediate, setDataSource |
| Methods inherited from class org.apache.synapse.mediators.AbstractMediator |
auditLog, auditWarn, getTraceState, getType, handleException, handleException, isTraceOn, isTraceOrDebugOn, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBReportMediator
public DBReportMediator()
processStatement
protected void processStatement(Statement stmnt,
MessageContext msgCtx)
- Description copied from class:
AbstractDBMediator
- Subclasses must specify how each SQL statement is processed
- Specified by:
processStatement in class AbstractDBMediator
- Parameters:
stmnt - the SQL statementmsgCtx - current message
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.