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:
- AspectConfigurable, ManagedLifecycle, Mediator, SynapseArtifact
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, createCustomDataSource, destroy, getDataSource, getDataSourceProps, getDbPoolView, getDSName, getPreparedStatement, getStatementList, handleException, init, mediate, setDataSource, setDataSourceInformation, setDataSourceName, setDbPoolView, setJndiProperties |
Methods inherited from class org.apache.synapse.mediators.AbstractMediator |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, 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()
isUseTransaction
public boolean isUseTransaction()
setUseTransaction
public void setUseTransaction(boolean useTransaction)
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-2012 Apache Software Foundation. All Rights Reserved.