I am just learning this XMPP stuff. I just set it up on a test server. Right now I want to connect to a new database with completely new tables. For some reason when I try to login into the admin console it executes all the openfire database schema structure with the tables I just created.
My question is do I need to use the existing openfire db structure?
properties in the XML file are read during startup and written to the database. Then the file is written again with only little information.
Why do you want to replace the Openfire DDL with your own DDL? Openfire does expect that the database fields contain various values so it may be a bad idea to replace them.
the custom database integration mode is only for users (and groups). For Openfire this is an “external” existing database and it is read-only.
So Openfire uses the “USER” (and “GROUP”) table of an existing database but it still creates it’s own tables in its own database.
As only users and groups are stored externally I really wonder how you want to “push data”, unless you don’t write a plugin or component which does this.