Class JdbcRawDataCaptureService

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

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

    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.

    • Constructor Detail

      • JdbcRawDataCaptureService

        public JdbcRawDataCaptureService()
      • JdbcRawDataCaptureService

        public JdbcRawDataCaptureService​(java.lang.String statement)
    • Method Detail

      • doService

        public void doService​(AdaptrisMessage msg)
                       throws ServiceException
        Description copied from interface: Service

        Apply the service to the message.

        Parameters:
        msg - the AdaptrisMessage to process
        Throws:
        ServiceException - wrapping any underlying Exceptions