@ComponentProfile(summary="Capture data from the message and store it in a database", tag="service,jdbc") public class JdbcRawDataCaptureService extends JdbcDataCaptureServiceImpl
JdbcDataCaptureService
generally expects text or XML data to be available; this is what
is captured and stored in the database. This particular flavour does not make any assumptions about the nature of the payload,
and simply allows you to capture metadata and/or the entire payload and insert into into a database.
In the adapter configuration file this class is aliased as jdbc-raw-data-capture-service which is the preferred alternative to the fully qualified classname when building your configuration.
JdbcDataCaptureServiceImpl.DatabaseActor
actor
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
JdbcRawDataCaptureService() |
JdbcRawDataCaptureService(java.lang.String statement) |
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
closeJdbcService, configureActor, getRowsUpdatedMetadataKey, getSaveReturnedKeys, getSaveReturnedKeysColumn, getSaveReturnedKeysTable, getStatement, initJdbcService, prepareService, saveKeys, saveReturnedKeys, setRowsUpdatedMetadataKey, setSaveReturnedKeys, setSaveReturnedKeysColumn, setSaveReturnedKeysTable, setStatement, startService, stopService, updateMetadata
addStatementParameter, getParameterApplicator, getStatementParameters, setParameterApplicator, setStatementParameters
applyTimeout, closeService, commit, createStatement, getConnection, getConnection, getStatementTimeout, initService, prepare, prepareStatement, prepareStatement, rollback, setConnection, setStatementTimeout, start, stop
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsConfirmation, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isConfirmation, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, rethrowServiceException, retrieveComponentState, setContinueOnFail, setIsConfirmation, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, isBranching, setUniqueId
createName, createQualifier, isConfirmation, isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
getLookupName
public JdbcRawDataCaptureService()
public JdbcRawDataCaptureService(java.lang.String statement)
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
s