Class JdbcDataCaptureService

All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, ConfigComment, ConnectedService, MessageEventGenerator, Service, StateManagedComponent

@ComponentProfile(summary="Capture data from the message and store it in a database", tag="service,jdbc", recommended=DatabaseConnection.class) public class JdbcDataCaptureService extends JdbcIteratingDataCaptureServiceImpl
Capture Data from a AdaptrisMessage and store it in a JDBC-compliant database.

While not deprecated; you are encouraged to use JdbcBatchingDataCaptureService instead for performance reasons. Set the JdbcBatchingDataCaptureService.setBatchWindow(Integer) to 1 to have functionally equivalent behaviour to this class.

If the DocumentBuilderFactoryBuilder has been explicitly set to be not namespace aware and the document does in fact contain namespaces, then Saxon can cause merry havoc in the sense that //NonNamespaceXpath doesn't work if the document has namespaces in it. We have included a shim so that behaviour can be toggled based on what you have configured.

See Also:

In the adapter configuration file this class is aliased as jdbc-data-capture-service which is the preferred alternative to the fully qualified classname when building your configuration.