Customizing the RAP Messages and Schema

Add a new table or column to the RAPCache and RAPStore.

Prerequisites
Review information about the RAP data stream (RDS) templates, including supported datatypes for messages and data transfer, datatype conversions, and the template structure and elements.
Update messages and schema manually or by using message modeling to integrate development of RAP message templates (also called RDS templates) with physical data models for your RAP databases. The overall process is the same in either case. Integrated message modeling simply expedites changes and helps ensure consistency across the system.
  1. Modify the RAPCache and RAPStore database schemas.

    Best practice is to update the physical data models and generate the schema. See Data Model and Queries > DDL Script Generations.

  2. Create or modify RDS message templates:
    For this type of database change... Do this...
    Adding a new table Create a new template. Either:
    • Code it manually, or,
    • Generate the RAP Messages model for that table from the updated physical data model, and export the template file.
    Adding a new column to an existing table Modify existing templates as needed. Either:
    • Update templates manually, or,
    • Generate the RAP Messages model for updated tables from the physical data model, and export the template files.
  3. If you change data types or add new fields, also change them in your feed handler.
  4. Restart publishers and subscribers.
Related tasks
Adding a New Table
Adding a New Column
Related information
Data Model and Queries