public abstract class AbstractDbMessageProcessor extends AbstractInterceptingMessageProcessor implements Initialisable, InterceptingMessageProcessor, org.mule.common.metadata.OperationMetaDataEnabled, DebugInfoProvider
| Modifier and Type | Field and Description |
|---|---|
protected DbConfigResolver |
dbConfigResolver |
logger, muleContext, next, notificationHandlerPHASE_NAMEPROPERTY_NAME| Constructor and Description |
|---|
AbstractDbMessageProcessor(DbConfigResolver dbConfigResolver,
TransactionalAction transactionalAction) |
addMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerprotected final DbConfigResolver dbConfigResolver
public AbstractDbMessageProcessor(DbConfigResolver dbConfigResolver, TransactionalAction transactionalAction)
public MuleEvent process(MuleEvent muleEvent) throws MuleException
process in interface MessageProcessorMuleExceptionprotected boolean mustCloseConnection()
protected abstract Object executeQuery(DbConnection connection, MuleEvent muleEvent) throws SQLException
SQLExceptionpublic void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic void setQueryMetadataProvider(QueryMetadataProvider queryMetadataProvider)
public QueryMetadataProvider getQueryMetadataProvider()
public org.mule.common.Result<org.mule.common.metadata.MetaData> getOutputMetaData(org.mule.common.metadata.MetaData metaData)
getOutputMetaData in interface org.mule.common.metadata.MetaDataDescriptorpublic org.mule.common.Result<org.mule.common.metadata.MetaData> getInputMetaData()
getInputMetaData in interface org.mule.common.metadata.MetaDataDescriptorpublic String getSource()
public void setSource(String source)
public String getTarget()
public void setTarget(String target)
public void setStatementStreamingResultSetCloser(StatementStreamingResultSetCloser streamingResultSetCloser)
protected void validateQueryType(QueryTemplate queryTemplate)
public List<FieldDebugInfo<?>> getDebugInfo(MuleEvent muleEvent)
getDebugInfo in interface DebugInfoProviderprotected abstract List<FieldDebugInfo<?>> getMessageProcessorDebugInfo(DbConnection connection, MuleEvent muleEvent)
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.